registerForConnectionEvents(options:)
Register for an event notification when the central manager makes a connection matching the given options.
Declaration
func registerForConnectionEvents(options: [CBConnectionEventMatchingOption : Any]? = nil)Parameters
- options:
A dictionary that specifies options for connection events. See Peripheral Connection Options for a list of possible options.
Discussion
When the central manager makes a connection that matches the options, it calls the delegate’s centralManager(_:connectionEventDidOccur:for:) method.