Gio.Volume::eject_with_operation
function vfunc_eject_with_operation(flags: Gio.MountUnmountFlags, mount_operation: Gio.MountOperation, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Ejects a volume. This is an asynchronous operation, and is finished by calling Gio.Volume.prototype.eject_with_operation_finish with the volume and Gio.AsyncResult data returned in the callback.
Since 2.22
- flags
flags affecting the unmount if required for eject
- mount_operation
a Gio.MountOperation or null to avoid user interaction
- cancellable
optional Gio.Cancellable object, null to ignore
- callback
a Gio.AsyncReadyCallback, or null