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
)
Parameters
id-
Type:
guintNo description available.
app_name-
Type:
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-
Type:
GAppInfoNo description available.
The data is owned by the caller of the function. summary-
Type:
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-
Type:
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-
Type:
GIconNo description available.
The data is owned by the caller of the function. image-
Type:
GIconNo description available.
The data is owned by the caller of the function. urgency-
Type:
PhoshNotificationUrgencyNo description available.
actions-
Type: An array of
utf8No description available.
The array must be NULL-terminated.Each element is a NUL terminated UTF-8 string. transient-
Type:
gbooleanNo description available.
resident-
Type:
gbooleanNo description available.
category-
Type:
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-
Type:
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-
Type:
GDateTimeNo description available.
The data is owned by the caller of the function.
Return value
Type: PhoshDBusNotification
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |