Callbacks¶
|
|
|
Details¶
- Snapd.LogCallback(client, log, *user_data)¶
- Parameters:
client (
Snapd.Client
) – aSnapd.Client
user_data (
object
orNone
) – 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.Client
change (
Snapd.Change
) – aSnapd.Change
describing the change in progressdeprecated (
object
orNone
) – A deprecated field that is no longer used.user_data (
object
orNone
) – 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.