-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BasicPlaybackState.completed #306
Comments
The main consideration is that these states follow a standard protocol that is understood by peripheral media devices like Android Auto, etc. and this comes with a standard set of states, and |
As you mentioned, 'completed' is not included in PlaybackState in Android and I found 'finished' status in 'MediaItemStatus' class. To follow the standard, it looks better to change currentMediaItemStream to something like 'itemStatusStream ' even it requires more work. |
What you're linking to is a different standard for routing audio (e.g. to a Chromecast). https://developer.android.com/guide/topics/media-apps/working-with-a-media-session |
I see. I will consider to realize my use case with CustomEvent or other. |
No worries! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service. |
In some cases, I need to know if the audio was completed or skipped.
I could do it with CustomEvent, but I think the most simple way to do it is support
BasicPlaybackState.completed
The text was updated successfully, but these errors were encountered: