chirpsdk / io.chirp.chirpsdk.helpers / SettingsContentObserver / gainAudioFocus

gainAudioFocus

fun gainAudioFocus(duration: Float): Boolean

Gain audio focus for a specific duration. Used to decrease the volume of the other audio played in the background while sending the payload.

Parameters

duration - : Float - usually equal to the duration of the payload being sent.