Enum ErrorCategory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int id
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CONFIGURATION

      This category clusters all errors related to the configuration.

      LICENSE

      This category clusters all errors related to the license.

      SOURCE

      This category clusters all errors related to the source.

      MANIFEST

      This category clusters all errors related to the manifest.

      MEDIA

      This category clusters all errors related to the media.

      NETWORK

      This category clusters all errors related to the network.

      CONTENT_PROTECTION

      This category clusters all errors related to the content protection.

      SUBTITLE

      This category clusters all errors related to the subtitles.

      VR

      This category clusters all errors related to VR.

      AD

      This category clusters all errors related to ads.

      FULLSCREEN

      This category clusters all errors related to fullscreen.

      CACHE

      This category clusters all errors related to caching.

      THEOLIVE

      This category clusters all errors related to THEOlive.

    • Method Summary

      Modifier and Type Method Description
      static ErrorCategory fromId(int id) The ErrorCategory from the identifier.
      static ErrorCategory fromCode(@NonNull() ErrorCode code) The ErrorCategory that the ErrorCode belongs to.
      static Array<ErrorCategory> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static ErrorCategory valueOf(String name) Returns the enum constant of this type with the specified name.
      int getId() The numeric identifier of the error category.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fromId

        @NonNull() static ErrorCategory fromId(int id)

        The ErrorCategory from the identifier.

        Parameters:
        id - The numeric identifier of the error category.
        Returns:

        The ErrorCategory from the identifier. (NonNull)

      • values

         static Array<ErrorCategory> 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 ErrorCategory 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

      • getId

         int getId()

        The numeric identifier of the error category.

        Returns:

        The identifier.