Model data representing the content being played currently

Note, this will not exist if no content has been played yet.

Methods

contentAuthType ():String

The authorization token type of the content

contentCaptions ():Array<CCTrack>

List of closed caption tracks available to this content

contentCaptionsEnabled ():Bool

true if captions are enabled

contentEntry ():IContentEntry

The entry data of the content being played

contentFiles ():Array<ContentEntryFileData>

List of objects which represent a manifest for each bitrate

contentId ():String

The id of the content

contentIsLive ():Bool

true if the content is live

contentMetadata ():ContentEntryMetaData

Custom data associated with the content

contentSegments ():Array<ContentEntrySegmentData>

Segments representing the portion(s) of content to play

contentToData ():ContentEntryData

Returns:

The typedef that represents the content entry

contentTrt ():Float

The expected total runtime

contentValidators ():Dynamic

Object containing uri boolean pairs indicating play level overrides for individual validators

id ():String

The id of the content

init (data:PlaylistItemData):IPlaylistItem

Initialize the playlist item

Parameters:

data

The data to populate the item with

options ():Dynamic

Optional data used to override default player configuration data