switch_sync


Description:

[ Version ( since = "1.26" ) ]
public bool switch_sync (string name, string channel, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error

Set the tracking channel on an installed snap.

Parameters:

this

a Client.

name

name of snap to switch channel.

channel

channel to track.

progress_callback

function to callback with progress.

cancellable

a Cancellable or null.

progress_callback_data

user data to pass to progress_callback.

Returns:

true on success or false on error.




2022 vala-language.org