Represents a piece of content to play

Methods

authType ():String

The authorization token type of the content

captions ():Array<CCTrack>

List of closed caption tracks available to this content

captionsEnabled ():Bool

true if captions are enabled

files ():Array<ContentEntryFileData>

List of objects which represent a manifest for each bitrate

id ():String

The id of the content

init (data:ContentEntryData):IContentEntry

Initialize the entry

Parameters:

data

The data to populate the entry with

isLive ():Bool

true if the content is live

metadata ():ContentEntryMetaData

Custom data associated with the content

segments ():Array<ContentEntrySegmentData>

Segments representing the portion(s) of content to play

toData ():ContentEntryData

Returns:

The typedef that represents the content entry

trt ():Float

The expected total runtime

validators ():Dynamic

true if validation is required