VolumeT.ejectWithOperation

Ejects a volume. This is an asynchronous operation, and is finished by calling gio.volume.Volume.ejectWithOperationFinish with the volume 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