pub unsafe static GCKeyboardDidConnectNotification: &'static NSStringAvailable on crate feature
GCKeyboard only.Expand description
Use these constants with NSNotificationCenter to listen to connection and disconnection events
Use GCKeyboardDidConnectNotification for observing keyboard connection Use GCKeyboardDidDisconnectNotification for observing keyboard disconnection
The ‘object’ property of the notification will contain the GCKeyboard that was connected or disconnected.
See: NSNotificationCetner
Note: All connected keyboards are coalesced into one keyboard object, so notification about connection/disconnection will only be delivered once until last keyboard disconnects.
See also Apple’s documentation