Notifications
Table of Contents
→ Notification
Declaration
action_no = ActionItem(0, "No")
action_yes = ActionItem(1, "Yes")
actionitems = []
actionitems.append(action_no)
actionitems.append(action_yes)
hmkit.autoapi.commands.notification.Notification("Would you like to Park", actionitems)
Discussion
Command to send Notification message to car which will be displayed in headunit
← NotificationAction
Declaration
hmkit.autoapi.commands.notification_action.NotificationAction()
Discussion
Command received from car when owner has choosen a action item for the notification message.
get_actionid
Declaration
hmkit.autoapi.commands.notification_action.NotificationAction().get_actionid()
Returns
int
Discussion
Get method. Get the Action ID value
→ ClearNotification
Declaration
hmkit.autoapi.commands.clear_notification.ClearNotification()
Discussion
Command to clear the previous notification message.