pub unsafe static GCRacingWheelDidConnectNotification: &'static NSString
Available on crate feature
GCRacingWheel
only.Expand description
Use these constants with NSNotificationCenter to listen to connection and disconnection events.
Use GCRacingWheelDidConnectNotification for observing connections of racing wheels. Use GCRacingWheelDidDisconnectNotification for observing disconnections of racing wheels.
Connections and disconnections of racing wheels will also be reflected in the connectedRacingWheels array of the GCRacingWheel class.
The ‘object’ property of the notification will contain the GCRacingWheel that was connected or disconnected. For example:
- (void)wheelDidConnect:(NSNotification *)note { GCRacingWheel *controller = note.object; …. }
See: NSNotificationCenter
See: GCRacingWheel.connectedRacingWheels
See also Apple’s documentation