Gio.Mount.prototype.unmount
function unmount(flags: Gio.MountUnmountFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_mount_unmount() }
Unmounts a mount. This is an asynchronous operation, and is finished by calling Gio.Mount.prototype.unmount_finish with the mount and Gio.AsyncResult data returned in the callback.
- flags
flags affecting the operation
- cancellable
optional Gio.Cancellable object, null to ignore.
- callback
a Gio.AsyncReadyCallback, or null.