Functions in notification.h
Functions that are available to control the notifications on the device.
notification_alert()
Request an
alert
notification.
notification_cancel()
Cancel a request for ongoing notifications like LED, dialog, etc.
notification_delete()
Delete notifications from the universal inbox notifications area, and cancel the notifications.
notification_event_get_choice()
Get the choice response index of the item selected by the user.
notification_event_get_context()
Get the context argument of a choice response.
notification_event_get_item_id()
Get the
item_id
of the notification message structure that the response refers to.
notification_event_get_request_id()
Get the
request_id
of an event.
notification_event_get_response()
Return the category of the response.
notification_get_domain()
Get the unique Domain ID for the notification service.
notification_message_add_prompt_choice()
Add a choice to a prompt notification.
notification_message_create()
Create a notification message structure and allocate all necessary memory.
notification_message_destroy()
Deallocate the memory used by a notification message structure.
notification_message_set_badge()
Set the
badge
member of
message
.
notification_message_set_invocation_action()
Set the
action
to be sent to the launch target.
notification_message_set_invocation_encoded_payload()
Specify a base64-encoded payload of arbitrary data to be sent to the target application.
notification_message_set_invocation_payload()
Specify a payload of arbitrary data to be sent to the target application.
notification_message_set_invocation_payload_uri()
Set a
payload_uri
to be provided to a launch target.
notification_message_set_invocation_target()
Set the
target
of
message
.
notification_message_set_invocation_type()
Specify the MIME type of a payload.
notification_message_set_item_id()
Set the
item_id
of
message
.
notification_message_set_request_id()
Set the
request_id
of
message
to allow OK/ERROR responses.
notification_message_set_sound_url()
Set the Sound URL member of
message
.
notification_message_set_subtitle()
Set the
subtitle
member of
message
.
notification_message_set_title()
Set the
title
member of
message
.
notification_notify()
Request a
notify
notification with members specified in
message
.
notification_request_events()
Start receiving notification events.
notification_stop_events()
Stop receiving notification events.
Parent topic:
Notifications (notification.h)
Related concepts
Constants in notification.h
Data types in notification.h