eject
open fun eject(flags: MountUnmountFlags, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)(source)
⚠️ Deprecated ⚠️
This is deprecated since version 2.22.
Use g_mount_eject_with_operation() instead.
---Ejects a mount. This is an asynchronous operation, and is finished by calling g_mount_eject_finish() with the @mount and #GAsyncResult data returned in the @callback.
Parameters
flags
flags affecting the unmount if required for eject
cancellable
optional #GCancellable object, null to ignore.
callback
a #GAsyncReadyCallback, or null.