Enumerations
The following enumerations are available globally.
-
Constants representing the type of creative in an ad companion.
See moreDeclaration
Swift
@objc public enum JWAdCompanionType : Intextension JWAdCompanionType: CustomStringConvertible -
Constants denoting a type of ad event.
See moreDeclaration
Swift
@objc public enum JWAdEventType : Intextension JWAdEventType: CustomStringConvertible -
Keys into the JWAdEvent payload.
See moreDeclaration
Swift
@objc public enum JWAdEventKey : Int, CaseIterableextension JWAdEventKey: CustomStringConvertible -
Constants describing the intended purpose of the obstruction.
See moreDeclaration
Swift
@objc public enum JWFriendlyObstructionPurpose : Intextension JWFriendlyObstructionPurpose: CustomStringConvertible -
Constants denoting an ad’s position in the content.
See moreDeclaration
Swift
@objc public enum JWAdPosition : Intextension JWAdPosition: CustomStringConvertible -
Constants denoting an ad’s type
See moreDeclaration
Swift
@objc public enum JWAdType : Intextension JWAdType: CustomStringConvertible -
Constants indicating the state of the player.
See moreDeclaration
Swift
@objc public enum JWPlayerState : Intextension JWPlayerState: CustomStringConvertible -
Constants indicating which type of media the content is.
See moreDeclaration
Swift
@objc public enum JWMediaType : Intextension JWMediaType: CustomStringConvertible -
Constants denoting the type of JWTrack.
See moreDeclaration
Swift
@objc public enum JWTrackType : Intextension JWTrackType: CustomStringConvertible -
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 : Stringextension JWCueType: CustomStringConvertible -
Constants indicating the reason the player is in the play state.
See moreDeclaration
Swift
@objc public enum JWPlayReason : Intextension JWPlayReason: CustomStringConvertible -
Constants indicating the reason the player is in the pause state.
See moreDeclaration
Swift
@objc public enum JWPauseReason : Intextension JWPauseReason: CustomStringConvertible -
Constants indicating the reason the player is in the idle state.
See moreDeclaration
Swift
@objc public enum JWIdleReason : Intextension JWIdleReason: CustomStringConvertible -
The different options for showing an ad when the first playback is caused by a seek.
See moreDeclaration
Swift
@objc public enum JWAdShownOnSeek : Intextension JWAdShownOnSeek: CustomStringConvertible -
Constants representing supported ad clients.
See moreDeclaration
Swift
@objc public enum JWAdClient : Intextension JWAdClient: CustomStringConvertible -
Constants describing the text alignment of a caption within the box containing it.
See moreDeclaration
Swift
@objc public enum JWCaptionAlignment : Intextension JWCaptionAlignment: CustomStringConvertible -
Constants defining the border style of the caption.
See moreDeclaration
Swift
@objc public enum JWCaptionEdgeStyle : Intextension JWCaptionEdgeStyle: CustomStringConvertible -
Indicates which strategy to use when applying the caption styling object to side-loaded captions.
Just as the caption styles available for side-loaded captions follow the styles available to embedded HLS streams, it can also be made to honor or ignore the device’s caption styles settings that it applies to HLS streams.
See moreDeclaration
Swift
@objc public enum JWCaptionStyleOverrideStrategy : Int, CaseIterableextension JWCaptionStyleOverrideStrategy: CustomStringConvertible -
Constants denoting where to position the logo on the screen.
See moreDeclaration
Swift
@objc public enum JWLogoPosition : Intextension JWLogoPosition: CustomStringConvertible -
Constants describing the type of media track represented by a given
See moreJWMediaTrack.Declaration
Swift
public enum JWMediaTrackKind : Stringextension JWMediaTrackKind: CustomStringConvertible -
Preloading behavior for content.
See moreDeclaration
Swift
@objc public enum JWPreload : Intextension JWPreload: CustomStringConvertible -
Constants representing how the player manages switching between different quality video tracks.
See moreDeclaration
Swift
@objc public enum JWVisualQualityMode : Intextension JWVisualQualityMode: CustomStringConvertible -
Constants denoting the reason for quality changing in a video.
See moreDeclaration
Swift
@objc public enum JWVisualQualityReason : Intextension JWVisualQualityReason: CustomStringConvertible -
Undocumented
See moreDeclaration
Swift
@objc public enum JWContentKeyType : Intextension JWContentKeyType: CustomStringConvertible
-
Reasons why the player buffers.
See moreDeclaration
Swift
@objc public enum JWBufferReason : Intextension JWBufferReason: CustomStringConvertible -
The status of the player’s AirPlay connection
See moreDeclaration
Swift
@objc public enum JWAirPlayStatus : Intextension JWAirPlayStatus: CustomStringConvertible -
Types of DRM encryption
See moreDeclaration
Swift
@objc public enum JWDRMEncryption : Intextension JWDRMEncryption: CustomStringConvertible -
Constants describing what action to perform when a playlist item completes.
See moreDeclaration
Swift
@objc public enum JWRelatedOnComplete : Intextension JWRelatedOnComplete: CustomStringConvertible
-
Constants describing what action is performed when a related video is tapped.
See moreDeclaration
Swift
@objc public enum JWRelatedOnClick : Intextension JWRelatedOnClick: CustomStringConvertible -
Constants representing the behavior of the interface.
See moreDeclaration
Swift
@objc public enum JWInterfaceBehavior : Intextension JWInterfaceBehavior: CustomStringConvertible -
Possible visibility states for UI elements.
See moreDeclaration
Swift
@objc public enum JWVisibilityState : Intextension JWVisibilityState: CustomStringConvertible -
Controls on the player’s interface, which are the visual elements that a user interaction with.
See moreDeclaration
Swift
@objc public enum JWControlType : Intextension JWControlType: CustomStringConvertible -
How to display video content within the bounds of a view.
See moreDeclaration
Swift
@objc public enum JWVideoGravity : Intextension JWVideoGravity: CustomStringConvertible
Enumerations Reference