Speaker
Provide a interface for speaker
Manipulate speaker settings such as volume and (un)muted.
Get settings and properties(min/max)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Get the default volume level of the speaker
Link copied to clipboard
Get the default volume step of the speaker used when volumeUp/Down.
Link copied to clipboard
Get the maximum volume of the speaker.
Link copied to clipboard
Get the minimum volume of the speaker.
Link copied to clipboard
Get the current settings of the speaker
Link copied to clipboard
Get the type of the speaker. Must be static value.
Link copied to clipboard
abstract fun setVolume(volume: Int, rate: Speaker.Rate = Rate.FAST): Boolean
Content copied to clipboard
Set the volume of the speaker.