Enum ContentDiscoveryData.DataType
- java.lang.Object
-
- java.lang.Enum<ContentDiscoveryData.DataType>
-
- aero.panasonic.inflight.services.contentdiscovery.v1.data.ContentDiscoveryData.DataType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ContentDiscoveryData.DataType>
- Enclosing class:
- ContentDiscoveryData
public static enum ContentDiscoveryData.DataType extends java.lang.Enum<ContentDiscoveryData.DataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_BUNDLEA bundle is a set of media items, such as tv episodes bundled together.TYPE_CATEGORYExamples of category are movies, tv epsidoes and music.TYPE_ITEMIndividual content, such as a single movie, tv episode or audio track.TYPE_LANGUAGEThe ISO 639-3 language code, such as eng (English) and deu (German)TYPE_NONEFor internal use.TYPE_TAGAn indexed field used to specify data.TYPE_TAG_NAMETag names, such as genre, rating year or custom tag defined by the airline.TYPE_TAG_VALUEReturned value for the specified tag.TYPE_TYPELISTType List contains a rootContentType with a list of content types.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentDiscoveryData.DataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ContentDiscoveryData.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_NONE
public static final ContentDiscoveryData.DataType TYPE_NONE
For internal use.
-
TYPE_BUNDLE
public static final ContentDiscoveryData.DataType TYPE_BUNDLE
A bundle is a set of media items, such as tv episodes bundled together. For example: Season 1 of Big Little Secrets.
-
TYPE_CATEGORY
public static final ContentDiscoveryData.DataType TYPE_CATEGORY
Examples of category are movies, tv epsidoes and music.
-
TYPE_TYPELIST
public static final ContentDiscoveryData.DataType TYPE_TYPELIST
Type List contains a rootContentType with a list of content types.
-
TYPE_ITEM
public static final ContentDiscoveryData.DataType TYPE_ITEM
Individual content, such as a single movie, tv episode or audio track.
-
TYPE_LANGUAGE
public static final ContentDiscoveryData.DataType TYPE_LANGUAGE
The ISO 639-3 language code, such as eng (English) and deu (German)
-
TYPE_TAG
public static final ContentDiscoveryData.DataType TYPE_TAG
An indexed field used to specify data.
-
TYPE_TAG_NAME
public static final ContentDiscoveryData.DataType TYPE_TAG_NAME
Tag names, such as genre, rating year or custom tag defined by the airline.
-
TYPE_TAG_VALUE
public static final ContentDiscoveryData.DataType TYPE_TAG_VALUE
Returned value for the specified tag. Example: The tag 'genre' could return the values of comedy, horror, action and drama.
-
-
Method Detail
-
values
public static ContentDiscoveryData.DataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContentDiscoveryData.DataType c : ContentDiscoveryData.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentDiscoveryData.DataType valueOf(java.lang.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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-