Gio.Volume.prototype.mount
function mount(flags: Gio.MountMountFlags, mount_operation: Gio.MountOperation, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_volume_mount() }
Mounts a volume. This is an asynchronous operation, and is finished by calling Gio.Volume.prototype.mount_finish with the volume and Gio.AsyncResult returned in the callback.
- flags
flags affecting the operation
- mount_operation
a Gio.MountOperation or null to avoid user interaction
- cancellable
optional Gio.Cancellable object, null to ignore
- callback
a Gio.AsyncReadyCallback, or null