ejectMountable

open fun ejectMountable(flags: MountUnmountFlags, cancellable: Cancellable? = null, callback: AsyncReadyCallback?)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.22.

Use g_file_eject_mountable_with_operation() instead.

---

Starts an asynchronous eject on a mountable. When this operation has completed, @callback will be called with

Parameters

flags

flags affecting the operation

cancellable

optional #GCancellable object, null to ignore

callback

a #GAsyncReadyCallback to call when the request is satisfied