public class VidAuth extends SourceBase
mForceQuality, mQuality
Constructor and Description |
---|
VidAuth() |
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaFormat> |
getFormats()
Query the formats of the returned data.
|
java.lang.String |
getPlayAuth()
Query the playback credential.
|
java.lang.String |
getPlayConfig()
Query playback parameters.
|
java.lang.String |
getRegion()
Query region information.
|
java.lang.String |
getVid()
Query the VID.
|
void |
setFormats(java.util.List<MediaFormat> formats)
Set the formats of the returned data.
|
void |
setPlayAuth(java.lang.String mPlayAuth)
Set the playback credential.
|
void |
setPlayConfig(VidPlayerConfigGen playConfig)
Set playback parameters.
|
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.
|
getCoverPath, getQuality, getTitle, isForceQuality, setCoverPath, setTitle
public void setQuality(java.lang.String quality, boolean forceQuality)
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.public java.lang.String getVid()
public void setVid(java.lang.String mVid)
mVid
- The VID.public java.lang.String getPlayAuth()
public void setPlayAuth(java.lang.String mPlayAuth)
mPlayAuth
- The playback credential.public java.lang.String getRegion()
public void setRegion(java.lang.String mRegion)
mRegion
- The specified regions.public java.lang.String getPlayConfig()
public void setPlayConfig(VidPlayerConfigGen playConfig)
playConfig
- The playback parameters.public java.util.List<MediaFormat> getFormats()
public void setFormats(java.util.List<MediaFormat> formats)
formats
- The formats of the returned data.