Android Question Changing Notification Message

GuyBooth

Active Member
Licensed User
Longtime User
When I start a foreground service, I use the following code:
B4X:
    nNotify.Initialize2(nNotify.IMPORTANCE_LOW)
    nNotify.Icon = "icon"
    nNotify.SetInfo("Movie TimeOut", "Starting", "")
    Service.AutomaticForegroundNotification = nNotify

This is a notification that cannot be cancelled because the service is running in Foreground mode.
Is it possible to change its message after the service has started? I would like to be able to change it to something like ""Now Running", for example.
Is there an ID number associated with it that can be read?
 

GuyBooth

Active Member
Licensed User
Longtime User
Works as desired.
Is that number easily found? (wondering what I will do if they change it in Android in the future....)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…