Type Property

EAAccessoryDidDisconnect

A notification that is posted when an accessory is disconnected and no longer available for your application to use.

Declaration

static let EAAccessoryDidDisconnect: NSNotification.Name

Discussion

The notification object is the shared accessory manager. The userInfo dictionary contains an EAAccessoryKey, whose value is the EAAccessory object representing the accessory that was disconnected. Before delivery of this notification can occur, you must call the registerForLocalNotifications() method to let the system know you are interested in receiving this notification.

If your accessory manager has a delegate, the delegate can use the accessoryDidDisconnect(_:) method to receive this notification instead.

See Also

Monitoring Connection Status Changes

static let EAAccessoryDidConnect: NSNotification.Name

A notification that is posted when an accessory becomes connected and available for your application to use.

let EAAccessoryKey: String

A key that indicates the accessory object whose status changed.

let EAAccessorySelectedKey: String

A key that indicates the accessory object that the user selected.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software