java.lang.Object |
↳ |
com.google.android.gms.cast.MediaLoadOptions.Builder |
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
MediaLoadOptions.Builder
()
Public Methods
public
MediaLoadOptions.Builder
setActiveTrackIds
(long[] activeTrackIds)
Sets the array of the active tracks.
Parameters |
activeTrackIds |
long |
Sets the value of whether playback should start immediately.
Parameters |
autoplay |
boolean |
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
.
Parameters |
credentials |
String |
public
MediaLoadOptions.Builder
setCredentialsType
(String credentialsType)
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
.
Parameters |
credentialsType |
String |
Sets the custom application-specific data to pass along with the load request.
Parameters |
customData |
JSONObject |
Sets the initial playback position, in milliseconds from the beginning of the stream.
Parameters |
playPosition |
long |
Sets the playback rate, as the multiplier of the normal playback rate. The accepted value is
between PLAYBACK_RATE_MIN
and PLAYBACK_RATE_MAX
. The normal playback rate
is 1.0.
Parameters |
playbackRate |
double |