A builder for AdBreakInfo.
|
Builder(long playbackPositionInMs)
Construct a
AdBreakInfo.Builder.
|
| AdBreakInfo |
build()
Builds an
AdBreakInfo
instance.
|
| AdBreakInfo.Builder | |
| AdBreakInfo.Builder |
setDurationInMs(long durationInMs)
Sets this break content’s duration in milliseconds.
|
| AdBreakInfo.Builder | |
| AdBreakInfo.Builder |
setIsEmbedded(boolean isEmbedded)
Set to
true if this break doesn't have a URL and is part of the
content.
|
| AdBreakInfo.Builder |
setIsWatched(boolean isWatched)
Set to
true if this break has been watched.
|
Construct a AdBreakInfo.Builder.
| playbackPositionInMs | The content’s playback position in milliseconds at which the ad will begin playing. This is a required field. |
|---|
Builds an AdBreakInfo
instance.
Set an unmodifiable list of ad break clip IDs in this break. The list of matching
AdBreakClipInfo
objects can be obtained by calling MediaInfo.getAdBreakClips().
This is a required field.
Sets this break content’s duration in milliseconds.
Sets the ad break's ID. This is a required field.
Set to true if this break doesn't have a URL and is part of the
content.
Set to true if this break has been watched.