Dismiss notification

Dismiss notification

faze47faze47 Posts: 2Member
Hi!
I've encountered a problem with Notification API and I'm not sure how to deal with it.
Sometimes I want to stop notification before it finishes playing. The only way to do so is to send the PAUSE command as STOP method is deprecated.
The problem is this way notification gets to PAUSE state and new notifications return 409 as this one is considered to be still playing. Is there a way to dismiss/stop notification entirely before it finishes playing, so new ones can be played afterwards?
Thanks!

Best Answer

  • Accepted Answer
    Zach@Bose[email protected] Posts: 157
    Hi @faze47

    You should be able to use NEXT_TRACK to dismiss the currently playing notification. Give that a shot and let us know if you have any issues!

Answers

  • faze47faze47 Posts: 2Member
    Hi, Zach.
    It probably won't be in the near future, but I will definitely try to use NEXT_TRACK and will get back to you with the results.
    Thanks a lot!
Sign In or Register to comment.