Instance Method

peripheralDidUpdateName:

Invoked when a peripheral’s name changes.

Declaration

- (void)peripheralDidUpdateName:(CBPeripheral *)peripheral;

Parameters

peripheral

The peripheral providing this information.

Discussion

The method is invoked whenever the peripheral device’s Generic Access Profile (GAP) device name has changed. Since a peripheral device can change its GAP device name, you can implement this method if your app needs to display the current name of the peripheral device.

See Also

Monitoring Changes to a Peripheral’s Name or Services

- peripheralDidInvalidateServices:

Invoked when a peripheral’s services have changed.

- peripheral:didModifyServices:

Invoked when a peripheral’s services have changed.

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