Instance Property

delegate

The delegate object specified to receive peripheral events.

Declaration

weak var delegate: CBPeripheralManagerDelegate? { get set }

Discussion

For information about how to implement your peripheral manager delegate, see CBPeripheralManagerDelegate.

See Also

Initializing a Peripheral Manager

init()

Initializes the peripheral manager without a delegate.

init(delegate: CBPeripheralManagerDelegate?, queue: DispatchQueue?)

Initializes the peripheral manager with a specified delegate and dispatch queue.

init(delegate: CBPeripheralManagerDelegate?, queue: DispatchQueue?, options: [String : Any]?)

Initializes the peripheral manager with a specified delegate, dispatch queue, and initialization options.

Peripheral Manager Initialization Options

Keys used to specify options when creating a peripheral manager.