getFirstAudioSessionByState

abstract fun getFirstAudioSessionByState(state: MediaState): ISession

Get the first session matching the given state

Return

ISession the first session corresponding to the given state or null

Parameters

state

MediaState the state matching a session