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 |
moveToPrev(StsInfo info)
Play the previous video.
|
void |
setDefinition(java.lang.String definition)
Specify a definition for playback.
|
invokeComponent, setDataSource, setDataSource, setDataSource, setDataSource, setOnVerifyTimeExpireCallback, updateStsInfo, updateVidAuth
void setDefinition(java.lang.String definition)
definition
- The value of the definition.void addVid(java.lang.String videoId, java.lang.String uid)
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.boolean moveToNext(StsInfo info)
info
- Security Token Service (STS) information. Pass the STS information to renew the STS token.boolean moveToPrev(StsInfo info)
info
- STS information. Pass the STS information to renew the STS token.boolean moveTo(java.lang.String uid, StsInfo info)
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.