Mount.ejectWithOperation

Ejects a mount. This is an asynchronous operation, and is finished by calling gio.mount.Mount.ejectWithOperationFinish with the mount and #GAsyncResult data returned in the callback.

Parameters

flags gio.types.MountUnmountFlags

flags affecting the unmount if required for eject

mountOperation gio.mount_operation.MountOperation

a #GMountOperation or null to avoid user interaction.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback, or null.