unity-webapps-notification-context

unity-webapps-notification-context

Functions

Types and Values

Object Hierarchy


Description

Functions

unity_webapps_notification_context_free ()

void
unity_webapps_notification_context_free
                               (UnityWebappsNotificationContext *context);

unity_webapps_notification_context_new ()

UnityWebappsNotificationContext *
unity_webapps_notification_context_new
                               (UnityWebappsContext *main_context,
                                GError **error);

unity_webapps_notification_show_notification ()

void
unity_webapps_notification_show_notification
                               (UnityWebappsContext *context,
                                const gchar *summary,
                                const gchar *body,
                                const gchar *icon_url);

Types and Values

UnityWebappsNotificationContext

typedef struct {
  UnityWebappsContext *context;
  
  UnityWebappsGenNotification *notification_proxy;
  guint notification_rate;
} UnityWebappsNotificationContext;