When I start a foreground service, I use the following code:
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?
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?