MountIF.ejectWithOperation

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 GMountUnmountFlags

flags affecting the unmount if required for eject

mountOperation MountOperation

a GMountOperation or NULL to avoid user interaction. [allow-none]

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback, or NULL. [allow-none]

userData void*

user data passed to callback.

Meta