Class ChromecastMetadataDescription
-
- All Implemented Interfaces:
public class ChromecastMetadataDescription extends MetadataDescription
The description of the metadata used by Chromecast.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ChromecastMetadataDescription.Builder
The builder for the Chromecast metadata description.
-
Method Summary
Modifier and Type Method Description List<ChromecastMetadataImage>
getImages()
List of content images for the current source. String
getReleaseDate()
The release date of the current source. String
getTitle()
The title of the content. String
getSubtitle()
The subtitle of the content. ChromecastMetadataType
getType()
The ChromecastMetadataType of the current source. -
-
Method Detail
-
getImages
@Nullable() List<ChromecastMetadataImage> getImages()
List of content images for the current source.
- Multiple images can be specified for multiple resolutions.
- Trying to modify this object will result in a runtime error being thrown.
- Returns:
Unmodifiable list of content images. (Nullable)
-
getReleaseDate
@Nullable() String getReleaseDate()
The release date of the current source. (Nullable)
- The format is "YYYY-MM-DD".
-
getSubtitle
@Nullable() String getSubtitle()
The subtitle of the content. (Nullable)
- This should be a short explanation about the content.
-
getType
@NonNull() ChromecastMetadataType getType()
The ChromecastMetadataType of the current source. (NonNull)
Default: GENERIC
-
-
-
-