Hello, I reused the example provided by Erel on his post to manage the notification:
https://www.b4x.com/android/forum/threads/nb6-notifications-builder-class-2018.91819/#content
I use the "notification with actions" for my radio player. Only I do not know how to use AddButtonAction to play or pause the player. I know the command that allows to play or pause the player because I use the ExoPlayer library
But I do not know what to call them in Erel's example. Thanks for your help.
https://www.b4x.com/android/forum/threads/nb6-notifications-builder-class-2018.91819/#content
I use the "notification with actions" for my radio player. Only I do not know how to use AddButtonAction to play or pause the player. I know the command that allows to play or pause the player because I use the ExoPlayer library
B4X:
player1.Play
player1.Pause
But I do not know what to call them in Erel's example. Thanks for your help.