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

Notification: close action #9

Open
enricocid opened this issue Aug 23, 2019 · 1 comment
Open

Notification: close action #9

enricocid opened this issue Aug 23, 2019 · 1 comment

Comments

@enricocid
Copy link

enricocid commented Aug 23, 2019

Close action to stop the playback, and remove notification (and finish the activity).

@pawelLaz
Copy link

pawelLaz commented Nov 12, 2019

Just call these 2 lines of code to stop playback and remove notification

RxMusicPlayer.action.onNext(Action.stop())
RxMusicPlayer.state.onNext(PlaybackState.stopped())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants