priority property

int? priority
getter/setter pair

Priority of the notification. (Android Only)

The following priority values defined as static constants upon the Config object:

Value Description
Config.notificationPriorityDefault Notification weighted to top of list; notification-bar icon weighted left
Config.notificationPriorityHigh Notification strongly weighted to top of list; notification-bar icon strongly weighted to left
Config.notificationPriorityLow Notification weighted to bottom of list; notification-bar icon weighted right
Config.notificationPriorityMax Same as notificationPriorityHigh
Config.notificationPriorityMin Notification strongly weighted to bottom of list; notification-bar icon hidden

Example

BackgroundGeolocation.init(Config(
  notification: Notification(
    priority: Config.notificationPriorityMin
  )
));

Implementation

int? priority;