Notification¶
Description¶
Notification portal backend interface
This notification interface lets sandboxed applications send and withdraw notifications.
Methods¶
org.freedesktop.impl.portal.Notification.AddNotification¶
AddNotification (
IN app_id s,
IN id s,
IN notification a{sv}
)
Sends a notification.
The ID can be used to later withdraw the notification. If the application reuses the same ID without withdrawing, the notification is replaced by the new one.
The format of the notification
is the same as for
org.freedesktop.portal.Notification.AddNotification.
- app_id
App id of the application
- id
Application-provided ID for this notification
- notification
Vardict with the serialized notification
org.freedesktop.impl.portal.Notification.RemoveNotification¶
RemoveNotification (
IN app_id s,
IN id s
)
Withdraws a notification.
- app_id
App id of the application
- id
Application-provided ID for this notification
Signals¶
org.freedesktop.impl.portal.Notification::ActionInvoked¶
ActionInvoked (
app_id s,
id s,
action s,
parameter av
)
Send to the application when a non-exported action is activated.
- app_id
App id of the application
- id
the application-provided ID for the notification
- action
the name of the action
- parameter
array which will contain the target parameter for the action, if one was specified