Instance Property

state

The current state of the manager.

Declaration

var state: CBManagerState { get }

Discussion

This state is initially set to CBManagerState.unknown. When the state updates, the manager calls its delegate’s centralManagerDidUpdateState(_:) method.

See Also

Accessing the Manager’s Properties

enum CBManagerState

The possible states of a Core Bluetooth manager.