CommunicationWorkaroundImpl

@Singleton()
@RequiresApi(value = 30)
class CommunicationWorkaroundImpl @Inject() constructor(@Named(value = dispatcher_maindispatcher: MainCoroutineDispatcher) : CommunicationWorkaround

Work around for communication mode resetting after 6 seconds if no audio playback or capture. Issue only happens on 11+ (version code R). https://issuetracker.google.com/issues/209493718

Constructors

CommunicationWorkaroundImpl
Link copied to clipboard
@Inject()
fun CommunicationWorkaroundImpl(@Named(value = dispatcher_maindispatcher: MainCoroutineDispatcher)

Types

Companion
Link copied to clipboard
object Companion

Functions

dispose
Link copied to clipboard
open override fun dispose()
onStartPlayout
Link copied to clipboard
open override fun onStartPlayout()
onStopPlayout
Link copied to clipboard
open override fun onStopPlayout()
start
Link copied to clipboard
open override fun start()
stop
Link copied to clipboard
open override fun stop()

Sources

SDK source
Link copied to clipboard