Enumeration

CBPeripheralManagerAuthorizationStatus

Values representing the current authorization state of the peripheral manager.

Declaration

enum CBPeripheralManagerAuthorizationStatus : Int

Topics

Constants

case notDetermined

An authorization status that indicates the user hasn’t indicated whether this app can share data using Bluetooth while in the background.

case restricted

An authorization status that indicates this app isn’t authorized to share data using Bluetooth while in the background.

case denied

An authorization status that indicates the user explicitly denied this app from sharing data using Bluetooth while in the background.

case authorized

An authorization status that indicates the user authorized this app to share data using Bluetooth while in the background.

See Also

Monitoring the State of a Peripheral Manager

class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus

Returns the app’s authorization status for sharing data while in the background.

Deprecated
enum CBPeripheralManagerState

Values representing the current state of the peripheral manager.

Deprecated