addPlayStatusListener

open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener)
open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener, @Nullable executor: Executor)

Adds a PlayStatus listener

Parameters

listener
executor

Executor which will execute listener's callbacks