Enum ChromecastMetadataType
-
- All Implemented Interfaces:
public enum ChromecastMetadataType
The Chromecast metadata type.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
type
public final int
nativeType
-
Method Summary
Modifier and Type Method Description static ChromecastMetadataType
fromName(@Nullable() String metadataType)
Creates a Chromecast metadata type. static Array<ChromecastMetadataType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static ChromecastMetadataType
valueOf(String name)
Returns the enum constant of this type with the specified name. String
getType()
The textual representation of the Chromecast metadata. int
getNativeType()
The Chromecast MediaMetadata representation. -
-
Method Detail
-
fromName
@Nullable() static ChromecastMetadataType fromName(@Nullable() String metadataType)
Creates a Chromecast metadata type.
- Parameters:
metadataType
- The textual representation of the Chromecast metadata.
-
values
static Array<ChromecastMetadataType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static ChromecastMetadataType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getType
@Nullable() String getType()
The textual representation of the Chromecast metadata. (Nullable)
-
getNativeType
int getNativeType()
The Chromecast MediaMetadata representation.
-
-
-
-