A set of options to use when registering for connection events.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Framework
- Core Bluetooth
Declaration
struct CBConnectionEventMatchingOption
A set of options to use when registering for connection events.
SDKs
Framework
struct CBConnectionEventMatchingOption
init(raw Value: String)
Creates a matching option from the provided raw value.
static let peripheral UUIDs: CBConnection Event Matching Option
An array of UUID objects that represents peripherals to match.
static let service UUIDs: CBConnection Event Matching Option
An array that represents service identifiers to match.
func register For Connection Events(options: [CBConnection Event Matching Option : Any]?)
Register for an event notification when the central manager makes a connection matching the given options.
Keys used to pass options when connecting to a peripheral.
enum CBConnection Event
A change to the connection state of a peer.