Page Summary
-
EditAudioTracksData is a data structure used for edit audio tracks command requests.
-
It includes methods to retrieve custom data, the suggested language (if inferred from voice query), and the explicit language for the active track.
-
The class also implements the Parcelable interface, allowing it to be written to and restored from a Parcel.
Data structure for edit audio tracks command requests.
Inherited Constant Summary
Public Method Summary
| JSONObject |
getCustomData()
Returns the custom data.
|
| Boolean |
getIsSuggestedLanguage()
Returns
true if the provided language returned by
getLanguage() was not explicit user request, but rather inferred
from used language in voice query.
|
| String |
getLanguage()
Returns the language for the track that should be active.
|
| void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Public Methods
public JSONObject getCustomData ()
Returns the custom data.
public Boolean getIsSuggestedLanguage ()
Returns true if the provided language returned by
getLanguage() 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 return null if the value is unspecified.
public String getLanguage ()
Returns the language for the track that should be active.
This may return null if the request doesn't require language
change.