java.lang.Object | |
↳ | com.google.android.gms.cast.MediaLoadOptions |
An object that holds options that affect how a receiver application should load a media item.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MediaLoadOptions.Builder | Builder for MediaLoadOptions to build the object. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
double | PLAYBACK_RATE_MAX | The maximum value that can be used in setPlaybackRate(double) . |
|||||||||
double | PLAYBACK_RATE_MIN | The minimum value that can be used in setPlaybackRate(double) . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the array of the active tracks.
| |||||||||||
Returns the value of whether playback should start immediately.
| |||||||||||
Returns the credentials string, as passed in with
setCredentials(String) . | |||||||||||
Returns the credentials type string, as passed in with
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.
| |||||||||||
Returns the playback rate, as the multiplier of the normal playback rate.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The maximum value that can be used in setPlaybackRate(double)
.
The minimum value that can be used in setPlaybackRate(double)
.
Returns the array of the active tracks. If the default value is null
.
Returns | |
---|---|
long[] |
Returns the value of whether playback should start immediately. The default value is true
.
Returns | |
---|---|
boolean |
Returns the credentials string, as passed in with setCredentials(String)
.
Returns | |
---|---|
String |
Returns the credentials type string, as passed in with setCredentialsType(String)
.
Returns | |
---|---|
String |
Returns the custom application-specific data to pass along with the load request.
Returns | |
---|---|
JSONObject |
Returns the initial playback position, in milliseconds from the beginning of the stream. The default value is 0.
Returns | |
---|---|
long |
Returns the playback rate, as the multiplier of the normal playback rate. The default value is 1.
Returns | |
---|---|
double |