ForegroundNotificationContent
Data class that holds foreground notification content
Constructors
Properties
optional text (second row) of the notification
optional title (first row) of the notification
the intent to execute when the expanded status entry is clicked. (See Notification.contentIntent) You can provide your own or use the default PendingIntent with LocationForegroundService.getDefaultPendingIntent
whether to display the EV state-of-charge subtext (current SoC and SoC at the next charge stop) as the notification sub-text. Defaults to false: only EV clients that actually route with a state of charge should opt in. When false, no sub-text is shown — this avoids a meaningless "0% > 0%" line for non-EV routes (BENAV5-997).
mandatory drawable resource id for the small icon to use in the notification layouts. Different classes of devices may return different sizes.
the style to use for the symbolic maneuvers icons in the notification. If not defined, symbolic maneuvers icons won't be used in the notification.
optional which is sent to accessibility services. Prior to API level 21 (Lollipop), the text is displayed in the status bar when the notification first arrives.