Data structure for edit track info command requests.
Inherited Constant Summary
Public Method Summary
long[] |
getActiveTrackIds()
Array of the track IDs that should be active.
|
JSONObject |
getCustomData()
Returns the custom data.
|
Boolean |
getEnableTextTracks()
Flag to enable or disable text tracks.
|
Boolean |
getIsSuggestedLanguage()
Returns
true if the provided language was not explicit user
request, but rather inferred from used language in voice query.
|
String |
getLanguage()
Language for the tracks that should be active.
|
TextTrackStyle |
getTextTrackStyle()
The requested text track style.
|
void |
writeToParcel(Parcelout, int
flags)
|
Inherited Method Summary
Public Methods
public long[]getActiveTrackIds()
Array of the track IDs that should be active.
- If
null
,the active tracks will not change. - If the array is empty, no track will be active.
publicJSONObject getCustomData()
Returns the custom data.
publicBooleangetEnableTextTracks()
Flag to enable or disable text tracks.
- If
false
,all text tracks should be disabled. - If
true
,the previous active text tracks (or the first text track if no previous text tracks available) should be enabled.
This may returnnull
if the request doesn't require text track
enable/disable state change.
publicBooleangetIsSuggestedLanguage()
Returnstrue
if the provided language was not explicit user request,
but rather inferred from used language in voice query. It allows receiver apps to use
user saved preference instead of spoken language.
This may returnnull
if the value is unspecified.
publicStringgetLanguage()
Language for the tracks that should be active. The language field should take
precedence over
getActiveTrackIds()
if both are specified.
This may returnnull
if the request doesn't require language
change.
publicTextTrackStyle getTextTrackStyle()
The requested text track style.
If null, the existing style should be used (if no style was provided in previous calls, it should be the default receiver style).