PresentationMode

@objc(THEOplayerPresentationMode)
public enum PresentationMode : Int

The presentation mode specifies how the player will be displayed.

  • The player is shown in its original location in the view.

    Declaration

    Swift

    @objc(THEOplayerPresentationModeINLINE)
    case inline = 1
  • The player fills the entire screen and overlays all the other view controllers.

    Declaration

    Swift

    @objc(THEOplayerPresentationModeFULLSCREEN)
    case fullscreen = 2
  • The player is shown in a window that overlays all the views. Further configurations can be made through PictureInPicture.configure

    Declaration

    Swift

    @objc(THEOplayerPresentationModePICTURE_IN_PICTURE)
    case pictureInPicture = 3
  • The raw value of type String.

    Declaration

    Swift

    public var _rawValue: String { get set }