You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A notification with no importance: does not show in the shade.
MIN
Min notification importance: only shows in the shade, below the fold.
LOW
Low notification importance: shows in the shade, and potentially in the status bar (see shouldHideSilentStatusBarIcons()), but is not audibly intrusive.
DEFAULT
Default notification importance: shows everywhere, makes noise, but does not visually intrude.
HIGH
Higher notification importance: shows everywhere, makes noise and peeks. May use full screen intents.
MAX
Max notification importance: same as HIGH, but generally not used.
🐔 NotificationPriority
Priority of notifications for Android 7.1 and lower.
Value
Description
MIN
No sound and does not appear in the status bar.
LOW
No sound.
DEFAULT
Makes a sound.
HIGH
Makes a sound and appears as a heads-up notification.
MAX
Same as HIGH, but used when you want to notify notification immediately.
🐔 NotificationVisibility
The level of detail displayed in notifications on the lock screen.
Value
Description
VISIBILITY_PUBLIC
Show this notification in its entirety on all lockscreens.
VISIBILITY_SECRET
Do not reveal any part of this notification on a secure lockscreen.
VISIBILITY_PRIVATE
Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens.
🐔 NotificationPermission
enum class: Represents the result of a notification permission request.
value
Description
granted
Notification permission has been granted.
denied
Notification permission has been denied.
permanently_denied
Notification permission has been permanently denied.
🐔 ServiceRequestResult
sealed class: Represents the result of a service request.
child
Description
ServiceRequestSuccess()
The service request was successful.
ServiceRequestFailure(Object error)
The service request failed.
error
Description
ServiceAlreadyStartedException
The service has already started.
ServiceNotInitializedException
Not initialized. Please call this function after calling the init function.