Specifies the subtype of the event in relation to its general type.
SDKs
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Specifies the subtype of the event in relation to its general type.
SDKs
Framework
case none
The event has no subtype. This is the subtype for events of the UIEvent
general type.
case motion Shake
The event is related to the user shaking the device. It is a subtype for the UIEvent
general event type.
case remote Control Play
A remote-control event for playing audio or video. It is a subtype of the UIEvent
general event type.
case remote Control Pause
A remote-control event for pausing audio or video. It is a subtype of the UIEvent
general event type.
case remote Control Stop
A remote-control event for stopping audio or video from playing. It is a subtype of the UIEvent
general event type.
case remote Control Toggle Play Pause
A remote-control event for toggling audio or video between play and pause. It is a subtype of the UIEvent
general event type.
case remote Control Next Track
A remote-control event for skipping to the next audio or video track. It is a subtype of the UIEvent
general event type.
case remote Control Previous Track
A remote-control event for skipping to the previous audio or video track. It is a subtype of the UIEvent
general event type.
case remote Control Begin Seeking Backward
A remote-control event to start seeking backward through the audio or video medium. It is a subtype of the UIEvent
general event type.
case remote Control End Seeking Backward
A remote-control event to end seeking backward through the audio or video medium. It is a subtype of the UIEvent
general event type.
case remote Control Begin Seeking Forward
A remote-control event to start seeking forward through the audio or video medium. It is a subtype of the UIEvent
general event type.
case remote Control End Seeking Forward
A remote-control event to end seeking forward through the audio or video medium. It is a subtype of the UIEvent
general event type.