AudioControl

Wrapper class for audio control functions

Functions

Link copied to clipboard
fun getMute(): Boolean?

Gets the current mute state

Link copied to clipboard
fun getVolume(): Float?

Gets the current volume level

Link copied to clipboard
fun setMute(mute: Boolean): Boolean

Sets the mute state

Link copied to clipboard
fun setVolume(level: Float): Boolean

Sets the volume level (0.0 to 1.0)