Enum ChromecastMetadataType
-
- All Implemented Interfaces:
public enum ChromecastMetadataTypeThe Chromecast metadata type.
-
-
Field Summary
Fields Modifier and Type Field Description public final Stringtypepublic final intnativeType
-
Method Summary
Modifier and Type Method Description static ChromecastMetadataTypefromName(@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 ChromecastMetadataTypevalueOf(String name)Returns the enum constant of this type with the specified name. StringgetType()The textual representation of the Chromecast metadata. intgetNativeType()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.
-
-
-
-