com.aliyun.player.bean

## 枚举 InfoCode

- java.lang.Object
- - java.lang.Enum<InfoCode>
  - - com.aliyun.player.bean.InfoCode

- 所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<InfoCode>

      public enum InfoCode
      extends java.lang.Enum<InfoCode>

- - ### 枚举常量概要

    枚举常量
    枚举常量和说明
    `AudioCodecNotSupport` Audio decoding does not support the specified format.
    `AudioDecoderDeviceError` The audio decoder failed.
    `AutoPlayStart` Autoplay is started.
    `BufferedPosition` Buffer position.
    `CacheError` Failed to cache the content.
    `CacheSuccess` Content cached.
    `CurrentDownloadSpeed` Current network download speed.
    `CurrentPosition` Playback position.
    `DemuxerTraceID` Demuxer trace ID for artp.
    `DirectComponentMSG` The message passthrough the player component
    `LocalCacheLoaded` 命中缓存的文件大小。
    `LoopingStart` Loop playback is started.
    `LowMemory` The system does not have memory to cache the media data.
    `NetworkRetry` Network connection failed.
    `NetworkRetrySuccess` Network retry successful.
    `RTSServerMaybeDisconnect` RTS server maybe disconnect.
    `RTSServerRecover` RTS server recover.
    `SubtitleSelectError` Subtitle selection failed.
    `SwitchToSoftwareVideoDecoder` Hardware decoding is switched to software decoding.
    `Unknown` Unknown error.
    `UtcTime` Current utc time。
    `VideoCodecNotSupport` Video decoding does not support the specified format.
    `VideoDecoderDeviceError` The video decoder failed.
    `VideoRenderInitError` The video renderer failed to initialize.

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `getValue()`
    `static InfoCode` | `valueOf(java.lang.String name)` 返回带有指定名称的该类型的枚举常量。
    `static InfoCode[]` | `values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    - ### 从类继承的方法 java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### 从类继承的方法 java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### 枚举常量详细资料

    - #### Unknown

          public static final InfoCode Unknown

      Unknown error.

    - #### LoopingStart

          public static final InfoCode LoopingStart

      Loop playback is started. No additional information is provided.

    - #### BufferedPosition

          public static final InfoCode BufferedPosition

      Buffer position. Additional value: the current buffer position. Unit: milliseconds.

    - #### CurrentPosition

          public static final InfoCode CurrentPosition

      Playback position. Additional value: the current playback position. Unit: milliseconds.

    - #### AutoPlayStart

          public static final InfoCode AutoPlayStart

      Autoplay is started. No additional information is provided.

    - #### CurrentDownloadSpeed

          public static final InfoCode CurrentDownloadSpeed

      Current network download speed. Additional value: the current network speed. Unit: bps.

    - #### UtcTime

          public static final InfoCode UtcTime

      Current utc time。Additional value: time

    - #### LocalCacheLoaded

          public static final InfoCode LocalCacheLoaded

      命中缓存的文件大小。额外值为大小

    - #### SwitchToSoftwareVideoDecoder

          public static final InfoCode SwitchToSoftwareVideoDecoder

      Hardware decoding is switched to software decoding. Additional information: description.

    - #### AudioCodecNotSupport

          public static final InfoCode AudioCodecNotSupport

      Audio decoding does not support the specified format. Additional information: description.

    - #### AudioDecoderDeviceError

          public static final InfoCode AudioDecoderDeviceError

      The audio decoder failed. Additional information: description.

    - #### VideoCodecNotSupport

          public static final InfoCode VideoCodecNotSupport

      Video decoding does not support the specified format. Additional information: description.

    - #### VideoDecoderDeviceError

          public static final InfoCode VideoDecoderDeviceError

      The video decoder failed. Additional information: description.

    - #### VideoRenderInitError

          public static final InfoCode VideoRenderInitError

      The video renderer failed to initialize. Additional information: description.

    - #### DemuxerTraceID

          public static final InfoCode DemuxerTraceID

      Demuxer trace ID for artp.

    - #### NetworkRetry

          public static final InfoCode NetworkRetry

      Network connection failed. Try again. No additional information is provided.

    - #### CacheSuccess

          public static final InfoCode CacheSuccess

      Content cached. No additional information is provided.

    - #### CacheError

          public static final InfoCode CacheError

      Failed to cache the content. Additional information: description.

    - #### LowMemory

          public static final InfoCode LowMemory

      The system does not have memory to cache the media data.

    - #### NetworkRetrySuccess

          public static final InfoCode NetworkRetrySuccess

      Network retry successful. No additional information.

    - #### SubtitleSelectError

          public static final InfoCode SubtitleSelectError

      Subtitle selection failed. Additional information is the cause of failure.

    - #### DirectComponentMSG

          public static final InfoCode DirectComponentMSG

      The message passthrough the player component

    - #### RTSServerMaybeDisconnect

          public static final InfoCode RTSServerMaybeDisconnect

      RTS server maybe disconnect.

    - #### RTSServerRecover

          public static final InfoCode RTSServerRecover

      RTS server recover.

  - ### 方法详细资料

    - #### values

          public static InfoCode[] values()

      按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:

          for (InfoCode c : InfoCode.values())
              System.out.println(c);

      返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

    - #### valueOf

          public static InfoCode valueOf(java.lang.String name)

      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
        `name` - 要返回的枚举常量的名称。
      返回:
        返回带有指定名称的枚举常量
      抛出:
        `java.lang.IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
        `java.lang.NullPointerException` - 如果参数为空值

    - #### getValue

          public int getValue()