Enumerations

The following enumerations are available globally.

  • Constants representing the type of creative in an ad companion.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdCompanionType : Int
  • Constants denoting a type of ad event.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdEventType : Int
  • Keys into the JWAdEvent payload.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdEventKey : Int, CaseIterable, CustomStringConvertible
  • Constants describing the intended purpose of the obstruction.

    See more

    Declaration

    Swift

    @objc
    public enum JWFriendlyObstructionPurpose : Int
  • Constants denoting an ad’s position in the content.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdPosition : Int
  • Constants denoting an ad’s type

    See more

    Declaration

    Swift

    @objc
    public enum JWAdType : Int
  • Constants indicating the state of the player.

    See more

    Declaration

    Swift

    @objc
    public enum JWPlayerState : Int
  • Constants indicating which type of media the content is.

    See more

    Declaration

    Swift

    @objc
    public enum JWMediaType : Int
  • Constants denoting the type of JWTrack.

    See more

    Declaration

    Swift

    @objc
    public enum JWTrackType : Int
  • Constants representing related play methods.

    See more

    Declaration

    Swift

    @objc
    public enum JWRelatedMethod : Int
    extension JWRelatedMethod: CustomStringConvertible
  • Constants representing observed interactions with the related menu.

    See more

    Declaration

    Swift

    @objc
    public enum JWRelatedInteraction : Int
    extension JWRelatedInteraction: CustomStringConvertible
  • Constants defining the types of cues.

    See more

    Declaration

    Swift

    public enum JWCueType : String
  • Constants indicating the reason the player is in the play state.

    See more

    Declaration

    Swift

    @objc
    public enum JWPlayReason : Int
  • Constants indicating the reason the player is in the pause state.

    See more

    Declaration

    Swift

    @objc
    public enum JWPauseReason : Int
  • Constants indicating the reason the player is in the idle state.

    See more

    Declaration

    Swift

    @objc
    public enum JWIdleReason : Int
  • The different options for showing an ad when the first playback is caused by a seek.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdShownOnSeek : Int
  • Constants representing supported ad clients.

    See more

    Declaration

    Swift

    @objc
    public enum JWAdClient : Int, CustomStringConvertible
  • Constants describing the text alignment of a caption within the box containing it.

    See more

    Declaration

    Swift

    @objc
    public enum JWCaptionAlignment : Int
  • Constants defining the border style of the caption.

    See more

    Declaration

    Swift

    @objc
    public enum JWCaptionEdgeStyle : Int
  • Constants denoting where to position the logo on the screen.

    See more

    Declaration

    Swift

    @objc
    public enum JWLogoPosition : Int
  • Constants describing the type of media track represented by a given JWMediaTrack.

    See more

    Declaration

    Swift

    public enum JWMediaTrackKind : String
  • Preloading behavior for content.

    See more

    Declaration

    Swift

    @objc
    public enum JWPreload : Int, CustomStringConvertible
  • Constants representing how the player manages switching between different quality video tracks.

    See more

    Declaration

    Swift

    @objc
    public enum JWVisualQualityMode : Int
  • Constants denoting the reason for quality changing in a video.

    See more

    Declaration

    Swift

    @objc
    public enum JWVisualQualityReason : Int

Player Event Delegates

  • Reasons why the player buffers.

    See more

    Declaration

    Swift

    @objc
    public enum JWBufferReason : Int
  • The status of the player’s AirPlay connection

    See more

    Declaration

    Swift

    @objc
    public enum JWAirPlayStatus : Int
  • Types of DRM encryption

    See more

    Declaration

    Swift

    @objc
    public enum JWDRMEncryption : Int
  • Constants describing what action to perform when a playlist item completes.

    See more

    Declaration

    Swift

    @objc
    public enum JWRelatedOnComplete : Int

RelatedOnClick

  • Constants describing what action is performed when a related video is tapped.

    See more

    Declaration

    Swift

    @objc
    public enum JWRelatedOnClick : Int
  • Constants representing the behavior of the interface.

    See more

    Declaration

    Swift

    @objc
    public enum JWInterfaceBehavior : Int
  • Possible visibility states for UI elements.

    See more

    Declaration

    Swift

    @objc
    public enum JWVisibilityState : Int
  • Controls on the player’s interface

    See more

    Declaration

    Swift

    @objc
    public enum JWControlType : Int
  • Constants representing labels within the player’s user interface.

    See more

    Declaration

    Swift

    @objc
    public enum JWLabelType : Int
  • Constants representing buttons within the player’s user interface.

    See more

    Declaration

    Swift

    @objc
    public enum JWButtonType : Int
  • Constants representing views within the player’s user interface.

    See more

    Declaration

    Swift

    @objc
    public enum JWViewType : Int
  • How to display video content within the bounds of a view.

    See more

    Declaration

    Swift

    @objc
    public enum JWVideoGravity : Int