Gio.Drive::eject_with_operation
function vfunc_eject_with_operation(flags: Gio.MountUnmountFlags, mount_operation: Gio.MountOperation, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Ejects a drive. This is an asynchronous operation, and is finished by calling Gio.Drive.prototype.eject_with_operation_finish with the drive 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.