start


Description:

[ Version ( since = "2.22" ) ]
public abstract async bool start (DriveStartFlags flags, MountOperation? mount_operation, Cancellable? cancellable = null) throws Error

Asynchronously starts a drive.

When the operation is finished, callback will be called. You can then call start.end to obtain the result of the operation.

Parameters:

this

a Drive.

flags

flags affecting the start operation.

mount_operation

a MountOperation or null to avoid user interaction.

cancellable

optional Cancellable object, null to ignore.

callback

a TaskReadyCallback, or null.

user_data

user data to pass to callback




2022 vala-language.org