get_time_since_action_async
Description:
[ Version ( since = "0.5.2" ) ]
public async uint get_time_since_action_async (Role role, Cancellable? cancellable) throws Error
public async uint get_time_since_action_async (Role role, Cancellable? cancellable) throws Error
We may want to know how long it has been since we refreshed the cache or retrieved the update list.
Parameters:
this |
a valid Control instance |
role |
the role enum, e.g. GET_UPDATES |
cancellable |
a Cancellable or |
callback |
the function to run on completion |
user_data |
the data to pass to |