Builder class for MediaLoadOptions.
|
Builder()
|
| MediaLoadOptions |
build()
Builds a
MediaLoadOptions
object.
|
| MediaLoadOptions.Builder |
setActiveTrackIds(long[] activeTrackIds)
Sets the array of the active tracks.
|
| MediaLoadOptions.Builder |
setAutoplay(boolean autoplay)
Sets the value of whether playback should start immediately.
|
| MediaLoadOptions.Builder |
setCredentials(String credentials)
Sets the user credentials to pass along with the load request to the receiver.
|
| MediaLoadOptions.Builder |
setCredentialsType(String
credentialsType)
Sets the user credentials type to pass along with the load request to the
receiver.
|
| MediaLoadOptions.Builder |
setCustomData(JSONObject
customData)
Sets the custom application-specific data to pass along with the load request.
|
| MediaLoadOptions.Builder |
setPlayPosition(long playPosition)
Sets the initial playback position, in milliseconds from the beginning of the
stream.
|
| MediaLoadOptions.Builder |
setPlaybackRate(double playbackRate)
Sets the playback rate, as the multiplier of the normal playback rate.
|
Builds a MediaLoadOptions
object.
Sets the array of the active tracks.
Sets the value of whether playback should start immediately.
Sets the user credentials to pass along with the load request to the receiver. The
credentials are completely application-specific and can be any arbitrary
String.
Sets the user credentials type to pass along with the load request to the receiver.
The credentials type is completely application-specific and can be any arbitrary
String.
Sets the custom application-specific data to pass along with the load request.
Sets the initial playback position, in milliseconds from the beginning of the stream.
Sets the playback rate, as the multiplier of the normal playback rate. The accepted
value is between
MediaLoadOptions.PLAYBACK_RATE_MIN and
MediaLoadOptions.PLAYBACK_RATE_MAX. The normal playback rate is 1.0.