Class
SnapdNotice
since: 1.65
Description [src]
final class Snapd.Notice : GObject.Object
{
/* No available fields */
}
SnapdNotice
contains information on a notification element.
Available since: 1.65
Instance methods
snapd_notice_compare_last_occurred
Compare the last_occurred fields (and the last_occurred_nanosecond if available) of both notices, and returns whether the first one is before, same or after the second one.
since: 1.66
snapd_notice_get_first_occurred
Get the time this notification first occurred.
deprecated: 1.66 since: 1.65
snapd_notice_get_last_occurred
Get the time this notification last occurred.
deprecated: 1.66 since: 1.65
snapd_notice_get_last_occurred_nanoseconds
Get the nanoseconds value of last-occurred, exactly as sent by snapd. Useful when combined with #snapd_client_notices_set_since_nanoseconds, and used internally by snapd_client_notices_set_after_notice, to ensure the maximum possible precission when dealing with timestamps.
since: 1.66
snapd_notice_get_last_repeated
Get the time this notification last repeated.
deprecated: 1.66 since: 1.65
snapd_notice_get_occurrences
Get the number of times that this notification has been triggered.
since: 1.65
snapd_notice_get_repeat_after
Get the time interval after this notification can be repeated.
since: 1.65
snapd_notice_get_user_id
Get the user ID for this notice, or NULL if no user is defined.
since: 1.65
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.