Callbacks

LogCallback (client, log, *user_data)

ProgressCallback (client, change, deprecated, *user_data)

Details

Snapd.LogCallback(client, log, *user_data)
Parameters:

Signature for callback function used in Snapd.Client.follow_logs_sync().

New in version 1.64.

Snapd.ProgressCallback(client, change, deprecated, *user_data)
Parameters:

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() and Snapd.Client.disable_sync().

New in version 1.0.