eject


Description:

[ Version ( deprecated = true , deprecated_since = "2.22" ) ]
public abstract async bool eject (MountUnmountFlags flags, Cancellable? cancellable = null) throws Error

Warning: eject is deprecated since 2.22.

Ejects a mount.

Note:

Use eject_with_operation instead.

This is an asynchronous operation, and is finished by calling eject.end with the this and AsyncResult data returned in the callback.

Parameters:

this

a Mount.

flags

flags affecting the unmount if required for eject

cancellable

optional Cancellable object, null to ignore.

callback

a TaskReadyCallback, or null.

user_data

user data passed to callback.




2022 vala-language.org