Builder
class Builder
Content copied to clipboard
Build a new VoiceInstructionsPlayerOptions
Constructors
Functions
build
Link copied to clipboard
checkIsLanguageAvailable
Link copied to clipboard
fun checkIsLanguageAvailable(checkIsLanguageAvailable: Boolean): VoiceInstructionsPlayerOptions.Builder
Content copied to clipboard
contentType
Link copied to clipboard
fun contentType(contentType: Int): VoiceInstructionsPlayerOptions.Builder
Content copied to clipboard
focusGain
Link copied to clipboard
streamType
Link copied to clipboard
Specifies which stream will be used for playing Defaults to AudioManager.STREAM_MUSIC See AudioManager for a list of stream types.
ttsStreamType
Link copied to clipboard
fun ttsStreamType(streamType: Int): VoiceInstructionsPlayerOptions.Builder
Content copied to clipboard
Specifies which stream will be used for playing TTS Defaults to AudioManager.STREAM_MUSIC See AudioManager for a list of stream types.
usage
Link copied to clipboard
Specifies which stream will be used for playing Defaults to AudioManager.STREAM_MUSIC See AudioManager for a list of stream types.
useLegacyApi
Link copied to clipboard
fun useLegacyApi(useLegacyApi: Boolean): VoiceInstructionsPlayerOptions.Builder
Content copied to clipboard