add Play Status Listener
open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener)
Content copied to clipboard
open fun addPlayStatusListener(listener: AudioManager.PlayStatusListener, @Nullable executor: Executor)
Content copied to clipboard
Adds a PlayStatus listener
Parameters
listener
PlayStatusListener listener
executor
Executor which will execute listener's callbacks