Mount.ejectWithOperation
void ejectWithOperation(gio.types.MountUnmountFlags flags, gio.mount_operation.MountOperation mountOperation = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)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 | 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. |