Block
Object Hierarchy:
Description:
[ CCode ( type_id = "udisks_block_get_type ()" ) ]
public interface Block : Object
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Block.
All known implementing classes:
Content:
Properties:
- public abstract Variant configuration { owned get; set; }
Represents the D-Bus property "Configuration".
- public abstract string crypto_backing_device { owned get; set; }
Represents the D-Bus property "CryptoBackingDevice".
- public abstract string device { owned get; set; }
Represents the D-Bus property "Device".
- public abstract uint64 device_number { get; set; }
Represents the D-Bus property "DeviceNumber".
- public abstract string drive { owned get; set; }
Represents the D-Bus property "Drive".
- public abstract bool hint_auto { get; set; }
Represents the D-Bus property "HintAuto".
- public abstract string hint_icon_name { owned get; set; }
Represents the D-Bus property "HintIconName".
- public abstract bool hint_ignore { get; set; }
Represents the D-Bus property "HintIgnore".
- public abstract string hint_name { owned get; set; }
Represents the D-Bus property "HintName".
- public abstract bool hint_partitionable { get; set; }
Represents the D-Bus property "HintPartitionable".
- public abstract string hint_symbolic_icon_name { owned get; set; }
Represents the D-Bus property "HintSymbolicIconName".
- public abstract bool hint_system { get; set; }
Represents the D-Bus property "HintSystem".
- public abstract string id { owned get; set; }
Represents the D-Bus property "Id".
- public abstract string id_label { owned get; set; }
Represents the D-Bus property "IdLabel".
- public abstract string id_type { owned get; set; }
Represents the D-Bus property "IdType".
- public abstract string id_usage { owned get; set; }
Represents the D-Bus property "IdUsage".
- public abstract string id_uuid { owned get; set; }
Represents the D-Bus property "IdUUID".
- public abstract string id_version { owned get; set; }
Represents the D-Bus property "IdVersion".
- public abstract string mdraid { owned get; set; }
Represents the D-Bus property "MDRaid".
- public abstract string mdraid_member { owned get; set; }
Represents the D-Bus property "MDRaidMember".
- public abstract string preferred_device { owned get; set; }
Represents the D-Bus property "PreferredDevice".
- public abstract bool read_only { get; set; }
Represents the D-Bus property "ReadOnly".
- public abstract uint64 size { get; set; }
Represents the D-Bus property "Size".
- public abstract string[] symlinks { owned get; set; }
Represents the D-Bus property "Symlinks".
Static methods:
Methods:
- public async bool call_add_configuration_item (Variant arg_item, Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the AddConfigurationItem D-Bus method on
this.
- public bool call_add_configuration_item_sync (Variant arg_item, Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the AddConfigurationItem D-Bus method on
this.
- public async bool call_format (string arg_type, Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the Format D-Bus method on
this.
- public bool call_format_sync (string arg_type, Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the Format D-Bus method on
this.
- public async bool call_get_secret_configuration (Variant arg_options, Cancellable? cancellable, out Variant out_configuration) throws Error
Asynchronously invokes the GetSecretConfiguration D-Bus method
on this.
- public bool call_get_secret_configuration_sync (Variant arg_options, out Variant out_configuration, Cancellable? cancellable = null) throws Error
Synchronously invokes the GetSecretConfiguration D-Bus method
on this.
- public async bool call_open_for_backup (Variant arg_options, UnixFDList? fd_list, Cancellable? cancellable, out Variant out_fd, out UnixFDList out_fd_list) throws Error
Asynchronously invokes the OpenForBackup D-Bus method on
this.
- public bool call_open_for_backup_sync (Variant arg_options, UnixFDList? fd_list, out Variant out_fd, out UnixFDList out_fd_list, Cancellable? cancellable = null) throws Error
Synchronously invokes the OpenForBackup D-Bus method on
this.
- public async bool call_open_for_benchmark (Variant arg_options, UnixFDList? fd_list, Cancellable? cancellable, out Variant out_fd, out UnixFDList out_fd_list) throws Error
Asynchronously invokes the OpenForBenchmark D-Bus method on
this.
- public bool call_open_for_benchmark_sync (Variant arg_options, UnixFDList? fd_list, out Variant out_fd, out UnixFDList out_fd_list, Cancellable? cancellable = null) throws Error
Synchronously invokes the OpenForBenchmark D-Bus method on
this.
- public async bool call_open_for_restore (Variant arg_options, UnixFDList? fd_list, Cancellable? cancellable, out Variant out_fd, out UnixFDList out_fd_list) throws Error
Asynchronously invokes the OpenForRestore D-Bus method on
this.
- public bool call_open_for_restore_sync (Variant arg_options, UnixFDList? fd_list, out Variant out_fd, out UnixFDList out_fd_list, Cancellable? cancellable = null) throws Error
Synchronously invokes the OpenForRestore D-Bus method on
this.
- public async bool call_remove_configuration_item (Variant arg_item, Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the RemoveConfigurationItem D-Bus method
on this.
- public bool call_remove_configuration_item_sync (Variant arg_item, Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the RemoveConfigurationItem D-Bus method
on this.
- public async bool call_rescan (Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the Rescan D-Bus method on
this.
- public bool call_rescan_sync (Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the Rescan D-Bus method on
this.
- public async bool call_update_configuration_item (Variant arg_old_item, Variant arg_new_item, Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the UpdateConfigurationItem D-Bus method
on this.
- public bool call_update_configuration_item_sync (Variant arg_old_item, Variant arg_new_item, Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the UpdateConfigurationItem D-Bus method
on this.
- public void complete_add_configuration_item (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the AddConfigurationItem D-Bus method.
- public void complete_format (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the Format D-Bus method.
- public void complete_get_secret_configuration (owned DBusMethodInvocation invocation, Variant configuration)
Helper function used in service implementations to finish handling
invocations of the GetSecretConfiguration D-Bus method.
- public void complete_open_for_backup (owned DBusMethodInvocation invocation, UnixFDList? fd_list, Variant fd)
Helper function used in service implementations to finish handling
invocations of the OpenForBackup D-Bus method.
- public void complete_open_for_benchmark (owned DBusMethodInvocation invocation, UnixFDList? fd_list, Variant fd)
Helper function used in service implementations to finish handling
invocations of the OpenForBenchmark D-Bus method.
- public void complete_open_for_restore (owned DBusMethodInvocation invocation, UnixFDList? fd_list, Variant fd)
Helper function used in service implementations to finish handling
invocations of the OpenForRestore D-Bus method.
- public void complete_remove_configuration_item (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the RemoveConfigurationItem D-Bus method.
- public void complete_rescan (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the Rescan D-Bus method.
- public void complete_update_configuration_item (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the UpdateConfigurationItem D-Bus method.
Signals:
- public virtual signal bool handle_add_configuration_item (DBusMethodInvocation invocation, Variant arg_item, Variant arg_options)
Signal emitted when a remote caller is invoking the
AddConfigurationItem D-Bus method.
- public virtual signal bool handle_format (DBusMethodInvocation invocation, string arg_type, Variant arg_options)
Signal emitted when a remote caller is invoking the Format
D-Bus method.
- public virtual signal bool handle_get_secret_configuration (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the
GetSecretConfiguration D-Bus method.
- public virtual signal bool handle_open_for_backup (DBusMethodInvocation invocation, UnixFDList? fd_list, Variant arg_options)
Signal emitted when a remote caller is invoking the OpenForBackup
D-Bus method.
- public virtual signal bool handle_open_for_benchmark (DBusMethodInvocation invocation, UnixFDList? fd_list, Variant arg_options)
Signal emitted when a remote caller is invoking the
OpenForBenchmark D-Bus method.
- public virtual signal bool handle_open_for_restore (DBusMethodInvocation invocation, UnixFDList? fd_list, Variant arg_options)
Signal emitted when a remote caller is invoking the OpenForRestore
D-Bus method.
- public virtual signal bool handle_remove_configuration_item (DBusMethodInvocation invocation, Variant arg_item, Variant arg_options)
Signal emitted when a remote caller is invoking the
RemoveConfigurationItem D-Bus method.
- public virtual signal bool handle_rescan (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the Rescan
D-Bus method.
- public virtual signal bool handle_update_configuration_item (DBusMethodInvocation invocation, Variant arg_old_item, Variant arg_new_item, Variant arg_options)
Signal emitted when a remote caller is invoking the
UpdateConfigurationItem D-Bus method.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref