Instance Method

peripheralManagerDidStartAdvertising:error:

Invoked when you start advertising the local peripheral device’s data.

Declaration

- (void)peripheralManagerDidStartAdvertising:(CBPeripheralManager *)peripheral error:(NSError *)error;

Parameters

peripheral

The peripheral manager providing this information.

error

If an error occurred, the cause of the failure.

Discussion

This method is invoked when your app calls the startAdvertising: method to begin advertising the local peripheral device’s data. If successful, the error parameter is nil. If there is a problem advertising the data, the error parameter returns the cause of the failure.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software