Android Question NB6 - how to cancel

Powie

Member
Licensed User
Longtime User
So, now I understand the difference.....

n.Cancel(1) was only for the old Notification style possible.

Without Cancel:

B4X:
Dim n As NB6
....
n.Build("title", "collapsed content", "tag", Me).Notify(1)

With Option to Cancel:
B4X:
Dim n As NB6
Dim notif As Notification
notif = n.Build("title", "collapsed content", "tag", Me)
notif.Notify(1)
...
notif.Cancel(1)
 
Upvote 0

Similar Threads

Top