com.aliyun.player

## 接口 AliListPlayer

- 所有超级接口:
    AliPlayer

      public interface AliListPlayer
      extends AliPlayer

  \addtogroup player_listplayer

- - ### 嵌套类概要

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

      `AliPlayer.OnVerifyTimeExpireCallback, AliPlayer.Status`

  - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addVid(java.lang.String videoId, java.lang.String uid)` Add the VID of a video to be played.
    `boolean` | `moveTo(java.lang.String uid, StsInfo info)` Play a specified video.
    `boolean` | `moveToNext(StsInfo info)` Play the next video.
    `boolean` | `moveToNextWithPrerendered(StsInfo info)` Play the next video.
    `boolean` | `moveToPrev(StsInfo info)` Play the previous video.
    `void` | `setDefinition(java.lang.String definition)` Specify a definition for playback.

    - ### 从接口继承的方法 com.aliyun.player.AliPlayer

      `invokeComponent, setDataSource, setDataSource, setDataSource, setDataSource, setOnVerifyTimeExpireCallback, updateStsInfo, updateVidAuth`

- - ### 方法详细资料

    - #### setDefinition

          void setDefinition(java.lang.String definition)

      Specify a definition for playback. If you do not set this parameter or leave it blank, the first definition of the video is selected.
      参数:
        `definition` - The value of the definition.

    - #### addVid

          void addVid(java.lang.String videoId,
                      java.lang.String uid)

      Add the VID of a video to be played.
      参数:
        `videoId` - The video VID.
        `uid` - The video UID. A UID is used to uniquely identify a video. If two videos have the same UID, then the videos are considered the same.

    - #### moveToNext

          boolean moveToNext(StsInfo info)

      Play the next video. Note: Only videos specified by VID support this parameter.
      参数:
        `info` - Security Token Service (STS) information. Pass the STS information to renew the STS token.
      返回:
        Indicate whether the next video is played.

    - #### moveToNextWithPrerendered

          boolean moveToNextWithPrerendered(StsInfo info)

      Play the next video. Note: Only videos specified by VID support this parameter.
      参数:
        `info` - Security Token Service (STS) information. Pass the STS information to renew the STS token.
      返回:
        Indicate whether the next video is played.

    - #### moveToPrev

          boolean moveToPrev(StsInfo info)

      Play the previous video. Note: Only videos specified by VID support this parameter.
      参数:
        `info` - STS information. Pass the STS information to renew the STS token.
      返回:
        Indicate whether the previous video is played.

    - #### moveTo

          boolean moveTo(java.lang.String uid,
                         StsInfo info)

      Play a specified video. Note: Only videos specified by VID support this parameter.
      参数:
        `uid` - The video UID. A UID is used to uniquely identify a video. If two videos have the same UID, then the videos are considered the same.
        `info` - STS information. Pass the STS information to renew the STS token.
      返回:
        Indicate whether the specified video is played.