Drive.stop

void stop(gio.types.MountUnmountFlags flags, gio.mount_operation.MountOperation mountOperation = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously stops a drive.

When the operation is finished, callback will be called. You can then call gio.drive.Drive.stopFinish to obtain the result of the operation.

Parameters

flagsflags affecting the unmount if required for stopping.
mountOperationa #GMountOperation or null to avoid user interaction.
cancellableoptional #GCancellable object, null to ignore.
callbacka #GAsyncReadyCallback, or null.