Gio.Volume::eject

function vfunc_eject(flags: Gio.MountUnmountFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
}
  

Ejects a volume. This is an asynchronous operation, and is finished by calling Gio.Volume.prototype.eject_finish with the volume and Gio.AsyncResult returned in the callback.

flags

flags affecting the unmount if required for eject

cancellable

optional Gio.Cancellable object, null to ignore

callback

a Gio.AsyncReadyCallback, or null