Virtualvfunc_Checks if mount can be ejected.
Virtualvfunc_Checks if mount can be unmounted.
Virtualvfunc_Changed signal that is emitted when the mount's state has changed.
Virtualvfunc_Ejects a mount. This is an asynchronous operation, and is
finished by calling g_mount_eject_finish() with the mount
and Gio.AsyncResult data returned in the callback.
flags affecting the unmount if required for eject
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes ejecting a mount. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_Ejects a mount. This is an asynchronous operation, and is
finished by calling g_mount_eject_with_operation_finish() with the mount
and Gio.AsyncResult data returned in the callback.
flags affecting the unmount if required for eject
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes ejecting a mount. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_Virtualvfunc_Gets the drive for the mount.
This is a convenience method for getting the Gio.Volume and then using that object to get the Gio.Drive.
Virtualvfunc_Virtualvfunc_Gets the name of mount.
Virtualvfunc_Virtualvfunc_Gets the sort key for mount, if any.
Virtualvfunc_Virtualvfunc_Gets the UUID for the mount. The reference is typically based on
the file system UUID for the mount in question and should be
considered an opaque string. Returns null if there is no UUID
available.
Virtualvfunc_Virtualvfunc_Tries to guess the type of content stored on mount. Returns one or
more textual identifiers of well-known content types (typically
prefixed with "x-content/"), e.g. x-content/image-dcf for camera
memory cards. See the
shared-mime-info
specification for more on x-content types.
This is an asynchronous operation (see
g_mount_guess_content_type_sync() for the synchronous version), and
is finished by calling g_mount_guess_content_type_finish() with the
mount and Gio.AsyncResult data returned in the callback.
Whether to force a rescan of the content. Otherwise a cached result will be used if available
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>Virtualvfunc_Finishes guessing content types of mount. If any errors occurred
during the operation, error will be set to contain the errors and
false will be returned. In particular, you may get an
Gio.IOErrorEnum.NOT_SUPPORTED if the mount does not support content
guessing.
Virtualvfunc_Tries to guess the type of content stored on mount. Returns one or
more textual identifiers of well-known content types (typically
prefixed with "x-content/"), e.g. x-content/image-dcf for camera
memory cards. See the
shared-mime-info
specification for more on x-content types.
This is a synchronous operation and as such may block doing IO;
see g_mount_guess_content_type() for the asynchronous version.
Whether to force a rescan of the content. Otherwise a cached result will be used if available
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore
Virtualvfunc_The ::pre-unmount signal that is emitted when the Gio.Mount will soon be emitted. If the recipient is somehow holding the mount open by keeping an open file on it it should close the file.
Virtualvfunc_Remounts a mount. This is an asynchronous operation, and is
finished by calling g_mount_remount_finish() with the mount
and GAsyncResults data returned in the callback.
Remounting is useful when some setting affecting the operation of the volume has been changed, as these may need a remount to take affect. While this is semantically equivalent with unmounting and then remounting not all backends might need to actually be unmounted.
flags affecting the operation
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes remounting a mount. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_Unmounts a mount. This is an asynchronous operation, and is
finished by calling g_mount_unmount_finish() with the mount
and Gio.AsyncResult data returned in the callback.
flags affecting the operation
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes unmounting a mount. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_Unmounts a mount. This is an asynchronous operation, and is
finished by calling g_mount_unmount_with_operation_finish() with the mount
and Gio.AsyncResult data returned in the callback.
flags affecting the operation
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Mount.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes unmounting a mount. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_The unmounted signal that is emitted when the Gio.Mount have been unmounted. If the recipient is holding references to the object they should release them so the object can be finalized.
Interface for implementing Mount. Contains only the virtual methods that need to be implemented.