Skip to content
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

Custom buttons in notification bar #156

Closed
casperkloppenburg opened this issue Jan 13, 2020 · 2 comments
Closed

Custom buttons in notification bar #156

casperkloppenburg opened this issue Jan 13, 2020 · 2 comments
Assignees
Labels

Comments

@casperkloppenburg
Copy link

Thanks for creating this useful library.

Is it possible to have an additional button in the notification bar, besides play and stop buttons, like the "stopwatch button" in the app below?

custom button

@ryanheise ryanheise self-assigned this Jan 17, 2020
@ryanheise
Copy link
Owner

You can have additional buttons, although you are effectively limited to the options available in the MediaAction enum. Maybe for your purposes you can implement a hack by repurposing one of those actions whose original purpose your app wouldn't use anyway, and stay clear of actions that could be triggered by clicking a button on your headset like skipToNext.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants