Page Summary
-
MediaQueueContainerMetadata.Builderis a builder class used for constructing aMediaQueueContainerMetadataobject. -
The builder provides methods to set various properties of the container metadata, including duration, images, type, sections, and title.
-
The
build()method is used to create the finalMediaQueueContainerMetadataobject from the configured builder.
Builder class for constructing a MediaQueueContainerMetadata.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| MediaQueueContainerMetadata |
build()
Builds a
MediaQueueContainerMetadata from the builder.
|
| MediaQueueContainerMetadata.Builder |
setContainerDuration(double containerDuration)
Sets the total playback time for the container.
|
| MediaQueueContainerMetadata.Builder | |
| MediaQueueContainerMetadata.Builder |
setContainerType(int containerType)
Sets the container type.
|
| MediaQueueContainerMetadata.Builder | |
| MediaQueueContainerMetadata.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public MediaQueueContainerMetadata build ()
Builds a MediaQueueContainerMetadata
from the builder.
public MediaQueueContainerMetadata.Builder setContainerDuration (double containerDuration)
Sets the total playback time for the container.
public MediaQueueContainerMetadata.Builder setContainerImages (List<WebImage> containerImages)
Sets the images associated with the queue.
public MediaQueueContainerMetadata.Builder setContainerType (int containerType)
Sets the container type. Possible values are the same as
MediaQueueContainerMetadata.getContainerType().
public MediaQueueContainerMetadata.Builder setSections (List<MediaMetadata> sections)
Sets the sections of the media stream.
public MediaQueueContainerMetadata.Builder setTitle (String title)
Sets the container title.