start

open fun start(flags: DriveStartFlags, mountOperation: MountOperation? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously starts a drive.

When the operation is finished, @callback will be called. You can then call g_drive_start_finish() to obtain the result of the operation.

Since

2.22

Parameters

flags

flags affecting the start operation.

mountOperation

a #GMountOperation or null to avoid user interaction.

cancellable

optional #GCancellable object, null to ignore.

callback

a #GAsyncReadyCallback, or null.