[ Version ( since = "2.22" ) ]
public abstract async bool eject_with_operation (MountUnmountFlags flags, MountOperation? mount_operation, Cancellable? cancellable = null) throws Error
Ejects a mount.
This is an asynchronous operation, and is finished by calling eject_with_operation.end with the
this and AsyncResult data returned in the
callback
.
this |
a Mount. |
flags |
flags affecting the unmount if required for eject |
mount_operation |
a MountOperation or null to avoid user interaction. |
cancellable |
optional Cancellable object, null to ignore. |
callback |
a TaskReadyCallback, or null. |
user_data |
user data passed to |