Image Loader
Types
Properties
unique id for the foreground notification Channel.
unique id for the foreground notification Channel.
tile for to display on the notification. Note: No notification is shown when set to null.
Timestamp of last foreground notification
unique id for the foreground notification — just a random int. (0x1f59b12)
icon id to display on the notification. Note: No notification is shown when set to 0.
Functions
create a notification builder to display the give two line of Text.
create a channel to use for foreground notifications
check if foreground notification should be displayed.
Switch service to foreground and show a notification (which you have to sind API 5)
set the parameter needed to display a foreground notification. Without the service will always run in background.