Enumeration

CBPeripheralManagerState

Values representing the current state of the peripheral manager.

Declaration

typedef enum CBPeripheralManagerState : NSInteger {
    ...
} CBPeripheralManagerState;

Topics

Constants

CBPeripheralManagerStateUnknown

The current state of the peripheral manager is unknown; an update is imminent.

CBPeripheralManagerStateResetting

The connection with the system service was momentarily lost; an update is imminent.

CBPeripheralManagerStateUnsupported

The platform doesn't support the Bluetooth low energy peripheral/server role.

CBPeripheralManagerStateUnauthorized

The app is not authorized to use the Bluetooth low energy peripheral/server role.

CBPeripheralManagerStatePoweredOff

Bluetooth is currently powered off.

CBPeripheralManagerStatePoweredOn

Bluetooth is currently powered on and is available to use.

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