com.aliyun.player.source

## 类 VidAuth

- java.lang.Object
- - com.aliyun.player.source.SourceBase
  - - com.aliyun.player.source.VidSourceBase
    - - com.aliyun.player.source.VidAuth

-     public class VidAuth
      extends VidSourceBase

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 com.aliyun.player.source.VidSourceBase

      `VidSourceBase.OutputType, VidSourceBase.ResultType, VidSourceBase.StreamType`

  - ### 字段概要

    - ### 从类继承的字段 com.aliyun.player.source.SourceBase

      `mForceQuality, mQuality`

  - ### 构造器概要

    构造器
    构造器和说明
    `VidAuth()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.lang.String` | `getPlayAuth()` Query the playback credential.
    `java.lang.String` | `getRegion()` Query region information.
    `java.lang.String` | `getVid()` Query the VID.
    `void` | `setPlayAuth(java.lang.String mPlayAuth)` Set the playback credential.
    `void` | `setQuality(java.lang.String quality, boolean forceQuality)` Definition settings
    `void` | `setRegion(java.lang.String mRegion)` Specify regions.
    `void` | `setVid(java.lang.String mVid)` Set the VID.

    - ### 从类继承的方法 com.aliyun.player.source.VidSourceBase

      `getAuthTimeout, getDefinitionStr, getFormats, getFormatStr, getOutputType, getOutputTypeStr, getPlayConfig, getReAuthInfo, getReAuthInfoStr, getResultType, getResultTypeStr, getStreamType, getStreamTypeStr, setAuthTimeout, setDefinition, setFormats, setOutputType, setPlayConfig, setReAuthInfo, setResultType, setStreamType`

    - ### 从类继承的方法 com.aliyun.player.source.SourceBase

      `getCoverPath, getQuality, getTitle, isForceQuality, setCoverPath, setTitle`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### VidAuth

          public VidAuth()

  - ### 方法详细资料

    - #### setQuality

          public void setQuality(java.lang.String quality,
                                 boolean forceQuality)

      Definition settings
      参数:
        `quality` - Specify a definition for playback.
        `forceQuality` - Indicate whether to force the player to play the media with the specified definition. However, if the media does not support the specified definition, then it cannot be played.

    - #### getVid

          public java.lang.String getVid()

      Query the VID.
      返回:
        The VID.

    - #### setVid

          public void setVid(java.lang.String mVid)

      Set the VID.
      参数:
        `mVid` - The VID.

    - #### getPlayAuth

          public java.lang.String getPlayAuth()

      Query the playback credential.
      返回:
        The playback credential.

    - #### setPlayAuth

          public void setPlayAuth(java.lang.String mPlayAuth)

      Set the playback credential.
      参数:
        `mPlayAuth` - The playback credential.

    - #### getRegion

          public java.lang.String getRegion()

      Query region information.
      返回:
        The region information.

    - #### setRegion

          public void setRegion(java.lang.String mRegion)

      Specify regions.
      参数:
        `mRegion` - The specified regions.