Enumerations
The following enumerations are available globally.
-
Constants representing the type of creative in an ad companion.
See moreDeclaration
Swift
@objc public enum JWAdCompanionType : Int -
Constants denoting a type of ad event.
See moreDeclaration
Swift
@objc public enum JWAdEventType : Int -
Keys into the JWAdEvent payload.
See moreDeclaration
Swift
@objc public enum JWAdEventKey : Int, CaseIterable, CustomStringConvertible -
Constants describing the intended purpose of the obstruction.
See moreDeclaration
Swift
@objc public enum JWFriendlyObstructionPurpose : Int -
Constants denoting an ad’s position in the content.
See moreDeclaration
Swift
@objc public enum JWAdPosition : Int -
Constants denoting an ad’s type
See moreDeclaration
Swift
@objc public enum JWAdType : Int -
Constants indicating the state of the player.
See moreDeclaration
Swift
@objc public enum JWPlayerState : Int -
Constants indicating which type of media the content is.
See moreDeclaration
Swift
@objc public enum JWMediaType : Int -
Constants denoting the type of JWTrack.
See moreDeclaration
Swift
@objc public enum JWTrackType : Int -
Constants representing related play methods.
See moreDeclaration
Swift
@objc public enum JWRelatedMethod : Intextension JWRelatedMethod: CustomStringConvertible -
Constants representing observed interactions with the related menu.
See moreDeclaration
Swift
@objc public enum JWRelatedInteraction : Intextension JWRelatedInteraction: CustomStringConvertible -
Constants defining the types of cues.
See moreDeclaration
Swift
public enum JWCueType : String -
Constants indicating the reason the player is in the play state.
See moreDeclaration
Swift
@objc public enum JWPlayReason : Int -
Constants indicating the reason the player is in the pause state.
See moreDeclaration
Swift
@objc public enum JWPauseReason : Int -
Constants indicating the reason the player is in the idle state.
See moreDeclaration
Swift
@objc public enum JWIdleReason : Int -
The different options for showing an ad when the first playback is caused by a seek.
See moreDeclaration
Swift
@objc public enum JWAdShownOnSeek : Int -
Constants representing supported ad clients.
See moreDeclaration
Swift
@objc public enum JWAdClient : Int, CustomStringConvertible -
Constants describing the text alignment of a caption within the box containing it.
See moreDeclaration
Swift
@objc public enum JWCaptionAlignment : Int -
Constants defining the border style of the caption.
See moreDeclaration
Swift
@objc public enum JWCaptionEdgeStyle : Int -
Constants denoting where to position the logo on the screen.
See moreDeclaration
Swift
@objc public enum JWLogoPosition : Int -
Constants describing the type of media track represented by a given
See moreJWMediaTrack.Declaration
Swift
public enum JWMediaTrackKind : String -
Preloading behavior for content.
See moreDeclaration
Swift
@objc public enum JWPreload : Int, CustomStringConvertible -
Constants representing how the player manages switching between different quality video tracks.
See moreDeclaration
Swift
@objc public enum JWVisualQualityMode : Int -
Constants denoting the reason for quality changing in a video.
See moreDeclaration
Swift
@objc public enum JWVisualQualityReason : Int
-
Reasons why the player buffers.
See moreDeclaration
Swift
@objc public enum JWBufferReason : Int -
The status of the player’s AirPlay connection
See moreDeclaration
Swift
@objc public enum JWAirPlayStatus : Int -
Types of DRM encryption
See moreDeclaration
Swift
@objc public enum JWDRMEncryption : Int -
Constants describing what action to perform when a playlist item completes.
See moreDeclaration
Swift
@objc public enum JWRelatedOnComplete : Int
-
Constants describing what action is performed when a related video is tapped.
See moreDeclaration
Swift
@objc public enum JWRelatedOnClick : Int -
Constants representing the behavior of the interface.
See moreDeclaration
Swift
@objc public enum JWInterfaceBehavior : Int -
Possible visibility states for UI elements.
See moreDeclaration
Swift
@objc public enum JWVisibilityState : Int -
Controls on the player’s interface
See moreDeclaration
Swift
@objc public enum JWControlType : Int -
Constants representing labels within the player’s user interface.
See moreDeclaration
Swift
@objc public enum JWLabelType : Int -
Constants representing buttons within the player’s user interface.
See moreDeclaration
Swift
@objc public enum JWButtonType : Int -
Constants representing views within the player’s user interface.
See moreDeclaration
Swift
@objc public enum JWViewType : Int -
How to display video content within the bounds of a view.
See moreDeclaration
Swift
@objc public enum JWVideoGravity : Int
Enumerations Reference