VoiceInstructionsPlayerOptions

class VoiceInstructionsPlayerOptions

VoiceInstructionsPlayerOptions.

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): VoiceInstructionsPlayerOptions.Builder
Get a builder to customize a subset of current options.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

checkIsLanguageAvailable
Link copied to clipboard
val checkIsLanguageAvailable: Boolean
Checks if the specified language as represented by the Locale is available and supported by TTS.
contentType
Link copied to clipboard
val contentType: Int
Defines what the sound is and expresses the general category of the content such as movie, speech, or beep/ringtone.
focusGain
Link copied to clipboard
val focusGain: Int
Defines how audio focus will be requested.
streamType
Link copied to clipboard
val streamType: Int
Defines which stream will be used for playing Defaults to AudioManager.STREAM_MUSIC See AudioManager for a list of stream types.
usage
Link copied to clipboard
val usage: Int
Defines the context in which the stream is used, providing information about why the sound is playing and what the sound is used for.
useLegacyApi
Link copied to clipboard
val useLegacyApi: Boolean
Specifies attributes as inferred from the legacy stream types.