AudioPlayerManager icon indicating copy to clipboard operation
AudioPlayerManager copied to clipboard

How to get playerstate?

Open ghost opened this issue 5 years ago • 1 comments

Hi, Is it possible to get player state? Like Buffering, Error, Playing and Pause. I can get playing and pause by AudioPlayerManager.shared.isPlaying(). But would like to know if there is build in function to get other states.

ghost avatar Aug 02 '19 16:08 ghost

Hey, so far AudioPlayerManager doesn't keep track of these states. You are right, isPlaying is the only one.

tschob avatar Aug 10 '19 10:08 tschob