PresentationModeChangeEvent
@objc(THEOplayerPresentationModeChangeEvent)
public class PresentationModeChangeEvent : PlayerEvent
Fired when PlayerEventTypes.PRESENTATION_MODE_CHANGE
occurs for the THEOplayer
.
Remark
- Can be triggered when switching from inline to fullscreen, or the other way around.
-
The new
PresentationMode
of the player.Declaration
Swift
@objc public private(set) var presentationMode: PresentationMode { get }