CastBreakClips constructor
CastBreakClips({})
Creates a new CastBreakClips instance.
clickThroughUrl
- URL of the page that the sender will display when clicked.
contentId
- The content ID of the break media.
contentType
- The content MIME type.
contentUrl
- Optional break media URL.
customData
- Application-specific break clip data.
duration
- Duration of a break clip in seconds.
hlsSegmentFormat
- The format of the HLS media segment.
id
- Unique ID of break clip, required.
posterUrl
- URL of content that the sender will display.
title
- Title of a break clip.
vastAdsRequest
- VAST ad request configuration, required.
whenSkippable
- The time in seconds when this break clip becomes skippable.
Implementation
CastBreakClips({
this.clickThroughUrl,
this.contentId,
this.contentType,
this.contentUrl,
this.customData,
this.duration,
this.hlsSegmentFormat,
required this.id,
this.posterUrl,
this.title,
required this.vastAdsRequest,
this.whenSkippable,
});