Enum ContentDiscoveryData.DataType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      TYPE_BUNDLE
      A bundle is a set of media items, such as tv episodes bundled together.
      TYPE_CATEGORY
      Examples of category are movies, tv epsidoes and music.
      TYPE_ITEM
      Individual content, such as a single movie, tv episode or audio track.
      TYPE_LANGUAGE
      The ISO 639-3 language code, such as eng (English) and deu (German)
      TYPE_NONE
      For internal use.
      TYPE_TAG
      An indexed field used to specify data.
      TYPE_TAG_NAME
      Tag names, such as genre, rating year or custom tag defined by the airline.
      TYPE_TAG_VALUE
      Returned value for the specified tag.
      TYPE_TYPELIST
      Type 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.DataType valueOf​(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.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null