Enumerations
The following enumerations are available globally.
-
Represents type of Ad
See moreDeclaration
Swift
public enum AdPosition : String, Codable -
Ad tracking events
See moreDeclaration
Swift
public enum AdTrackingEvent : String, Codable -
The purpose of the overlay. One of
See morePLAYBACK_CONTROLS_UI_SCOPE,CLOSE_AD_UI_SCOPE,OTHER_UI_SCOPEorNOT_VISIBLE_UI_SCOPE.Declaration
Swift
public enum AdOverlayPurpose -
Undocumented
See moreDeclaration
Swift
public enum AdInsertionType -
Rules that enforce ad playback policy when the user performs fast forward operation.
See moreDeclaration
Swift
public enum PlaybackFastForwardRule : String, Codable, CaseIterable -
Rules that enforce ad playback policy when the user performs rewind operation.
See moreDeclaration
Swift
public enum PlaybackRewindRule : String, Codable, CaseIterable -
Rules that enforce ad playback policy when the playback is interrupted.
See moreDeclaration
Swift
public enum PlaybackInterruptedRule : String, Codable, CaseIterable -
Rules that enforce ad playback policy when the user has a “bookmarked” time for a piece of content, then plays the content again, and the player auto-seeking to the bookmark triggers the ads.
See moreDeclaration
Swift
public enum PlaybackAutoSeekRule : String, Codable, CaseIterable -
Rules that enforce ad playback for repeated ad playback in a single playback session.
See moreDeclaration
Swift
public enum PlaybackRepeatedRule : String, Codable, CaseIterable -
Subtitle media track type for subtitle tracks in the player
See moreDeclaration
Swift
public enum AdditionalSubtitleFormatextension AdditionalSubtitleFormat: Equatable -
Blackout Action
See moreDeclaration
Swift
public enum BlackoutAction : String, Codable -
Mode enum. Primarily used for
See moreBookmarkRecordcontent identification.Declaration
Swift
public enum Mode : String, Codable -
Support key delivery types
See moreDeclaration
Swift
public enum KeyDeliveryType -
Defines the different types of media tracks available in a media stream.
Media tracks represent different content streams within a media file or stream, such as audio, video, subtitles, or closed captions. Each track type serves a specific purpose in media playback and accessibility.
See moreDeclaration
Swift
public enum MediaTrackType : Codable -
Defines media characteristics that describe special properties of media tracks.
Media characteristics provide metadata about tracks that describe their purpose, accessibility features, or other special properties. These characteristics help media players and accessibility systems understand how to handle specific tracks.
See moreDeclaration
Swift
public enum MediaTrackCharacteristic : String, Codable -
Undocumented
See moreDeclaration
Swift
public enum PALFlag -
Player States
See moreDeclaration
Swift
public enum PlayerState : Int -
Player’s current context
See moreDeclaration
Swift
public enum PlayerContext -
Describes the reason for an audio session interruption.
See moreDeclaration
Swift
public enum AudioInterruptionState -
Player preferences
See moreDeclaration
Swift
public enum PlayerPreference : Preference -
Represents the possible actions for the main remote control button.
See moreDeclaration
Swift
public enum RemoteMainAction -
Undocumented
See moreDeclaration
Swift
public enum PreferedIntervals : Double -
Defines how the player handles audiovisual content when the app transitions to background.
Use this policy to control playback behavior when your app enters the background or when the device locks.
See moreNote
Available on iOS 15.0+ and tvOS 15.0+.Declaration
Swift
public enum PlayerAudiovisualBackgroundPlaybackPolicy -
Represents Stream timeline based events
See moreDeclaration
Swift
public enum StreamTimelineEvent : String, Codable -
Represents actions that client could perform in response to handling a
See moreStreamTimelineEventDeclaration
Swift
public enum Action : String, Codable -
enum for streamStartUpTime data
See moreDeclaration
Swift
public enum StartUpEventType : String
Enumerations Reference