ejectWithOperation

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

Ejects a mount. This is an asynchronous operation, and is finished by calling g_mount_eject_with_operation_finish() with the @mount and #GAsyncResult data returned in the @callback.

Since

2.22

Parameters

flags

flags affecting the unmount if required for eject

mountOperation

a #GMountOperation or null to avoid user interaction.

cancellable

optional #GCancellable object, null to ignore.

callback

a #GAsyncReadyCallback, or null.