AliPlayer.OnVerifyTimeExpireCallback, AliPlayer.Status
Modifier and Type | Method and Description |
---|---|
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,
PlayAuthInfo info)
Play a specified video.
|
boolean |
moveTo(java.lang.String uid,
StsInfo info)
Play a specified video.
|
boolean |
moveToNext(PlayAuthInfo info)
Play the next video.
|
boolean |
moveToNext(StsInfo info)
Play the next video.
|
boolean |
moveToNextWithPrerendered(PlayAuthInfo info)
Play the next video.
|
boolean |
moveToNextWithPrerendered(StsInfo info)
Play the next video.
|
boolean |
moveToPrev(PlayAuthInfo info)
Play the previous 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 moveToNextWithPrerendered(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.boolean moveToNext(PlayAuthInfo info)
info
- Security Token Service (playauth) information. Pass the playauth information to renew the playauth.boolean moveToNextWithPrerendered(PlayAuthInfo info)
info
- Security Token Service (playauth) information. Pass the playauth information to renew the playauth.boolean moveToPrev(PlayAuthInfo info)
info
- playauth information. Pass the playauth information to renew the playauth.boolean moveTo(java.lang.String uid, PlayAuthInfo 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
- playauth information. Pass the playauth information to renew the playauth token.