awesome_notifications library

Classes

AssertUtils
AwesomeNotifications
BitmapHelper
EXTRACTED FROM bitmap: ^0.0.6 DUE TO BUILD GRADLE INCOMPATIBILITIES
BitmapUtils
CronHelper
Cron helper to set notification repetitions Use the rule bellow to specify your on cron repetition rule or access the website https://www.baeldung.com/cron-expressions to see more details. [...]
DateUtils
MapUtils
MediaSourcePrefix
NotificationActionButton
Notification button to display inside a notification. Since Android 7, icons are displayed only for Media Layout Notifications icon must be a native resource media type [...]
NotificationChannel
A representation of default settings that applies to all notifications with same channel key soundSource needs to be a native resource media type
NotificationContent
Main content of notification If notification has no body or title, it will only be created, but not displayed to the user (background notification).
NotificationSchedule
Notification schedule configuration initialDate: (YYYY-MM-DD hh:mm:ss) The initial date that schedule should be called by first time crontabSchedule: Crontab expression as repetition rule (with seconds precision), as described in https://www.baeldung.com/cron-expressions allowWhileIdle: Determines if notification will send, even when the device is in critical situation, such as low battery.
PushNotification
Reference Model to create a new notification schedule and actionButtons are optional
ReceivedAction
All received details of a user action over a Notification
ReceivedNotification
All received details of a notification created or displayed on the system The data field
ResourceImage
Decodes the given Uint8List buffer as an image, associating it with the given scale. [...]
RGBA32BitmapHeader
StringUtils

Extensions

Constants

APR → const String
'APR'
AUG → const String
'AUG'
bitmapPixelLength → const int
4
DEC → const String
'DEC'
FEB → const String
'FEB'
FRI → const String
'FRI'
JAN → const String
'JAN'
JUL → const String
'JUL'
JUN → const String
'JUN'
MAR → const String
'MAR'
MAY → const String
'MAY'
MON → const String
'MON'
NOV → const String
'NOV'
OCT → const String
'OCT'
RGBA32HeaderSize → const int
122
SAT → const String
'SAT'
SEP → const String
'SEP'
SUN → const String
'SUN'
THU → const String
'THU'
TUE → const String
'TUE'
WED → const String
'WED'

Properties

highVibrationPattern Int64List
read / write
lowVibrationPattern Int64List
read / write
mediumVibrationPattern Int64List
read / write

Enums

ActionButtonType
GroupAlertBehavior
MediaSource
A reference to where load the media (Image or Sound) to build a notification. There's 4 media types available: [...]
NotificationImportance
Determines the importance to show immeadetly the notification to the user Default: shows everywhere, makes noise, but does not visually intrude. Higher: shows everywhere, makes noise and peeks. May use full screen intents. Low: Shows in the shade, and potentially in the status bar (see shouldHideSilentStatusBarIcons()), but is not audibly intrusive. Min: only shows in the shade, below the fold. This should not be used with Service#startForeground(int, Notification) since a foreground service is supposed to be something the user cares about so it does not make semantic sense to mark its notification as minimum importance. If you do this as of Android version Build.VERSION_CODES.O, the system will show a higher-priority notification about your app running in the background. None: A notification with no importance: does not show in the shade.
NotificationLayout
Notification Layout to be used as reference to build the notification. If is not possible to build the desired layout, use the default one.
NotificationLifeCycle
Application life cycle at new notification change state
NotificationPrivacy
Hides sensitive notifications when the device is on lock screen Public: Show this notification in its entirety on all lockscreens Secret: Do not reveal any part of this notification on a secure lockscreen Private: Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens
NotificationSource
Enumerates if notification was created on local source, scheduled notification, Firebase, OneSignal, etc.