Class ChromecastMetadataDescription.Builder
-
- All Implemented Interfaces:
public final class ChromecastMetadataDescription.BuilderThe builder for the Chromecast metadata description.
-
-
Constructor Summary
Constructors Constructor Description ChromecastMetadataDescription.Builder()
-
Method Summary
Modifier and Type Method Description final ChromecastMetadataDescription.Builderimages(ChromecastMetadataImage images)Sets one or more ChromecastMetadataImage. final ChromecastMetadataDescription.Builderimages(String images)Sets one or more URLs of images. final ChromecastMetadataDescription.Buildertype(ChromecastMetadataType type)Sets the ChromecastMetadataType. final ChromecastMetadataDescription.BuilderreleaseDate(String releaseDate)Sets the release date of the current source. final ChromecastMetadataDescription.Buildertitle(String title)Sets the title of the content. final ChromecastMetadataDescription.Buildersubtitle(String subtitle)Sets the subtitle of the content. final ChromecastMetadataDescriptionbuild()Builds the chromecast metadata description. -
-
Method Detail
-
images
final ChromecastMetadataDescription.Builder images(ChromecastMetadataImage images)
Sets one or more ChromecastMetadataImage.
- Parameters:
images- One or more ChromecastMetadataImage.
-
images
final ChromecastMetadataDescription.Builder images(String images)
Sets one or more URLs of images.
The string must be a valid URL.
- Parameters:
images- One or more URL of images.
-
type
final ChromecastMetadataDescription.Builder type(ChromecastMetadataType type)
Sets the ChromecastMetadataType.
- Parameters:
type- The ChromecastMetadataType.
-
releaseDate
final ChromecastMetadataDescription.Builder releaseDate(String releaseDate)
Sets the release date of the current source.
The format is "YYYY-MM-DD".
- Parameters:
releaseDate- The release date.
-
title
final ChromecastMetadataDescription.Builder title(String title)
Sets the title of the content.
- Parameters:
title- The content title.
-
subtitle
final ChromecastMetadataDescription.Builder subtitle(String subtitle)
Sets the subtitle of the content.
- Parameters:
subtitle- The content subtitle.
-
build
final ChromecastMetadataDescription build()
Builds the chromecast metadata description.
-
-
-
-