Register for an event notification when the central manager makes a connection matching the given options.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Framework
- Core Bluetooth
Declaration
- (void)registerForConnectionEventsWithOptions:(NSDictionary<CBConnection Event Matching Option, id> *)options;
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 central
method.