CastBreakClips constructor

CastBreakClips({
  1. String? clickThroughUrl,
  2. String? contentId,
  3. String? contentType,
  4. String? contentUrl,
  5. Map<String, dynamic>? customData,
  6. Duration? duration,
  7. CastHlsSegmentFormat? hlsSegmentFormat,
  8. required String id,
  9. String? posterUrl,
  10. String? title,
  11. required VastAdsRequest vastAdsRequest,
  12. Duration? whenSkippable,
})

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,
});