Home > hls.js > InterstitialEvent

InterstitialEvent class

Signature:

export declare class InterstitialEvent 

Constructors

Constructor

Modifiers

Description

(constructor)(dateRange, base)

Constructs a new instance of the InterstitialEvent class

Properties

Property

Modifiers

Type

Description

appendInPlace

boolean

appendInPlaceStarted?

boolean

(Optional)

assetList

InterstitialAssetItem[]

assetListLoader?

Loader<LoaderContext>

(Optional)

assetListResponse

AssetListJSON | null

assetListUrl

readonly

string | undefined

assetUrl

readonly

string | undefined

baseUrl

readonly

string

contentMayVary

readonly

boolean

cue

readonly

DateRangeCue

cumulativeDuration

number

dateRange

DateRange

duration

number

error?

Error

(Optional)

hasPlayed

boolean

identifier

readonly

InterstitialId

playoutLimit

number

restrictions

PlaybackRestrictions

resumeAnchor?

MediaFragmentRef

(Optional)

resumeOffset

number

resumeTime

readonly

number

resumptionOffset

readonly

number

snapOptions

SnapOptions

startDate

readonly

Date

startOffset

readonly

number

startTime

readonly

number

supplementsPrimary

readonly

boolean

timelineOccupancy

readonly

TimelineOccupancy

timelineStart

number

Methods

Method

Modifiers

Description

findAssetIndex(asset)

isAssetPastPlayoutLimit(assetIndex)

reset()

setDateRange(dateRange)

toString()