An object that holds options that affect how a receiver application should load a media item.
| class | MediaLoadOptions.Builder | Builder class for MediaLoadOptions. |
|
| double | PLAYBACK_RATE_MAX | The maximum value that can be used in
MediaLoadOptions.Builder.setPlaybackRate(double). |
| double | PLAYBACK_RATE_MIN | The minimum value that can be used in
MediaLoadOptions.Builder.setPlaybackRate(double). |
| long[] |
getActiveTrackIds()
Returns the array of the active tracks.
|
| boolean |
getAutoplay()
Returns the value of whether playback should start immediately.
|
| String |
getCredentials()
Returns the credentials string, as passed in with
MediaLoadOptions.Builder.setCredentials(String).
|
| String |
getCredentialsType()
Returns the credentials type string, as passed in with
MediaLoadOptions.Builder.setCredentialsType(String).
|
| JSONObject |
getCustomData()
Returns the custom application-specific data to pass along with the load
request.
|
| long |
getPlayPosition()
Returns the initial playback position, in milliseconds from the beginning of
the stream.
|
| double |
getPlaybackRate()
Returns the playback rate, as the multiplier of the normal playback rate.
|
The maximum value that can be used in
MediaLoadOptions.Builder.setPlaybackRate(double).
The minimum value that can be used in
MediaLoadOptions.Builder.setPlaybackRate(double).
Returns the array of the active tracks. If the default value is
null.
Returns the value of whether playback should start immediately. The default value is
true.
Returns the credentials string, as passed in with
MediaLoadOptions.Builder.setCredentials(String).
Returns the credentials type string, as passed in with
MediaLoadOptions.Builder.setCredentialsType(String).
Returns the custom application-specific data to pass along with the load request.
Returns the initial playback position, in milliseconds from the beginning of the stream. The default value is 0.
Returns the playback rate, as the multiplier of the normal playback rate. The default value is 1.