notices_set_since_nanoseconds


Description:

[ Version ( since = "1.66" ) ]
public void notices_set_since_nanoseconds (int32 nanoseconds)

Allows to set the "since" parameter with nanosecond accuracy when doing a call to get the notices.

This is currently needed because GDateTime has only an accuracy of 1 microsecond, but to receive notice events correctly, without loosing any, it is needed 1 nanosecond accuracy in the value passed on in the since_date_time parameter.

The value is "reset" after any call to snapd_client_get_notices_*(), so it must be set always before doing any of those calls.

Passing NULL will reset the value too, in which case the mili- and micro-seconds defined in the since_date_time parameter will be used.

Parameters:

this

a Client

nanoseconds

the nanoseconds value to use to combine with the since_date_time property to filter notices after it