Gio.Volume::eject_with_operation_finish

function vfunc_eject_with_operation_finish(result: Gio.AsyncResult): Boolean {
}
  

Finishes ejecting a volume. If any errors occurred during the operation, @error will be set to contain the errors and false will be returned.

Since 2.22

result

a Gio.AsyncResult

Returns

true if the volume was successfully ejected. false otherwise