Gio.Volume::mount_finish

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

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

If the mount operation succeeded, Gio.Volume.prototype.get_mount on volume is guaranteed to return the mount right after calling this function; there's no need to listen for the 'mount-added' signal on Gio.VolumeMonitor.

result

a Gio.AsyncResult

Returns

true, false if operation failed