public abstract async bool eject (MountUnmountFlags flags, Cancellable? cancellable = null) throws Error
Warning: eject is deprecated since 2.22.
Ejects a volume.
Use eject_with_operation instead.
This is an asynchronous operation, and is finished by calling eject.end with the
this and AsyncResult returned in the
flags affecting the unmount if required for eject
optional Cancellable object, null to ignore
a TaskReadyCallback, or null
user data that gets passed to