setPTTDefaultAudioOutput

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

Call this method to choose whether you want play the PTT and channel audio output on speaker or earpiece device

Parameters

context

Context:The application context

option

int:

The audio output option :

/li>