Method

PhoshNotificationget_category

Declaration [src]

const char*
phosh_notification_get_category (
  PhoshNotification* self
)

Description [src]

Get the category hint the notification was sent with

See https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html#categories.

Return value

Returns: const char*
 

The category or NULL.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.