iOS Developer Library

Developer

CBCentral Class Reference

Options
Deployment Target:

On This Page

CBCentral

The CBCentral class represents remote central devices that have connected to an app implementing the peripheral role on a local device. That is, when you are implementing the peripheral role using the CBPeripheralManager class, centrals that connect to your local peripheral are represented as CBCentral objects. Remote centrals are identified by universally unique identifiers (UUIDs), represented by NSUUID objects.

  • The UUID of the central. (read-only)

    Use the identifier property instead.

    Declaration

    @property(readonly, nonatomic) CFUUIDRef UUID

    Discussion

    The value of this property represents the unique identifier of the central. Centrals are identified by standard CFUUIDRef UUIDs instead of by the CBUUID objects that identify a peripheral’s services, characteristics, and characteristic descriptors.

  • The UUID associated with the central. (read-only)

    Declaration

    @property(readonly, nonatomic) NSUUID *identifier

    Discussion

    The value of this property represents the unique identifier of the central. Centrals are identified by NSUUID UUIDs instead of by the CBUUID objects that identify a peripheral’s services, characteristics, and characteristic descriptors.

  • The maximum amount of data, in bytes, that the central can receive in a single notification or indication. (read-only)

    Declaration

    @property(readonly, nonatomic) NSUInteger maximumUpdateValueLength