volume

fun volume(state: SpeechVolume)

The method will set the volume to the specified level from SpeechVolume. Volume is specified as a float ranging from 0 to 1 where 0 is silence, and 1 is the maximum volume (the default behavior).

Parameters

state

volume level.