Callbacks¶
  | 
|
  | 
Details¶
- Snapd.LogCallback(client, log, *user_data)¶
 - Parameters:
 client (
Snapd.Client) – aSnapd.Clientuser_data (
objectorNone) – user data passed to the callback
Signature for callback function used in
Snapd.Client.follow_logs_sync().New in version 1.64.
- Snapd.ProgressCallback(client, change, deprecated, *user_data)¶
 - Parameters:
 client (
Snapd.Client) – aSnapd.Clientchange (
Snapd.Change) – aSnapd.Changedescribing the change in progressdeprecated (
objectorNone) – A deprecated field that is no longer used.user_data (
objectorNone) – user data passed to the callback
Signature for callback function used in
Snapd.Client.connect_interface_sync(),Snapd.Client.disconnect_interface_async(),Snapd.Client.install2_sync(),Snapd.Client.refresh_sync(),Snapd.Client.remove2_sync(),Snapd.Client.enable_sync() andSnapd.Client.disable_sync().New in version 1.0.