setVoiceMessageAudioSetting

open fun setVoiceMessageAudioSetting(@NonNull context: Context, option: Int)

Call this method to choose whether you want play the voice message audio output on speaker or earpiece device

See also

Parameters

context

The application context

option

The audio output option can be :

  • 0: speaker
  • 1: earpiece