@Immutable public class ContainerMetadata extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerMetadata.ContainerType
Possible types of container metadata.
|
| Modifier and Type | Field and Description |
|---|---|
protected Double |
containerDuration
Container duration in seconds.
|
protected List<Image> |
containerImages
Container images.
|
protected ContainerMetadata.ContainerType |
containerType
The type of container object
|
protected String |
title
The title of the container, for example an audiobook title, a TV channel
name, etc.
|
| Constructor and Description |
|---|
ContainerMetadata(Double containerDuration,
List<Image> containerImages,
ContainerMetadata.ContainerType containerType,
String title)
Creates a new instance using the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Double |
getContainerDuration() |
List<Image> |
getContainerImages() |
ContainerMetadata.ContainerType |
getContainerType() |
String |
getTitle() |
int |
hashCode() |
String |
toString() |
@Nullable protected final Double containerDuration
@Nonnull protected final List<Image> containerImages
@Nonnull protected final ContainerMetadata.ContainerType containerType
public ContainerMetadata(@Nullable Double containerDuration, @Nullable List<Image> containerImages, @Nonnull ContainerMetadata.ContainerType containerType, @Nullable String title)
containerDuration - the container duration in seconds.containerImages - the container images. For example a live TV
channel logo, audiobook cover, album cover art, etc.containerType - the type of container object.title - the title of the container, for example an audiobook title,
a TV channel name, etc.@Nullable public Double getContainerDuration()
@Nonnull public List<Image> getContainerImages()
@Nonnull public ContainerMetadata.ContainerType getContainerType()
@Nonnull public String getTitle()
Copyright © 2022. All rights reserved.