stop
open fun stop(flags: MountUnmountFlags, mountOperation: MountOperation? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)
Asynchronously stops a drive.
When the operation is finished, @callback will be called. You can then call g_drive_stop_finish() to obtain the result of the operation.
Since
2.22
Parameters
flags
flags affecting the unmount if required for stopping.
mountOperation
a #GMountOperation or null to avoid user interaction.
cancellable
optional #GCancellable object, null to ignore.
callback
a #GAsyncReadyCallback, or null.