Constructor

PhoshDBusNotificationnew

Declaration [src]

PhoshDBusNotification*
phosh_dbus_notification_new (
  guint id,
  const char* app_name,
  GAppInfo* info,
  const char* summary,
  const char* body,
  GIcon* icon,
  GIcon* image,
  PhoshNotificationUrgency urgency,
  GStrv actions,
  gboolean transient,
  gboolean resident,
  const char* category,
  const char* profile,
  GDateTime* timestamp
)

Description

No description available.

Parameters

id guint
  No description available.
app_name const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
info GAppInfo
  No description available.
 The data is owned by the caller of the function.
summary const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
body const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
icon GIcon
  No description available.
 The data is owned by the caller of the function.
image GIcon
  No description available.
 The data is owned by the caller of the function.
urgency PhoshNotificationUrgency
  No description available.
actions An array of utf8
  No description available.
 The array must be NULL-terminated.
 Each element is a NUL terminated UTF-8 string.
transient gboolean
  No description available.
resident gboolean
  No description available.
category const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
profile const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
timestamp GDateTime
  No description available.
 The data is owned by the caller of the function.

Return value

Returns: PhoshDBusNotification
  No description available.
 The caller of the function takes ownership of the data, and is responsible for freeing it.