Drive
Object Hierarchy:
Description:
[ CCode ( type_id = "udisks_drive_get_type ()" ) ]
public interface Drive : Object
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Drive.
All known implementing classes:
Content:
Properties:
- public abstract bool can_power_off { get; set; }
Represents the D-Bus property "CanPowerOff".
- public abstract Variant configuration { owned get; set; }
Represents the D-Bus property "Configuration".
- public abstract string connection_bus { owned get; set; }
Represents the D-Bus property "ConnectionBus".
- public abstract bool ejectable { get; set; }
Represents the D-Bus property "Ejectable".
- public abstract string id { owned get; set; }
Represents the D-Bus property "Id".
- public abstract string media { owned get; set; }
Represents the D-Bus property "Media".
- public abstract bool media_available { get; set; }
Represents the D-Bus property "MediaAvailable".
- public abstract bool media_change_detected { get; set; }
Represents the D-Bus property "MediaChangeDetected".
- public abstract string[] media_compatibility { owned get; set; }
Represents the D-Bus property "MediaCompatibility".
- public abstract bool media_removable { get; set; }
Represents the D-Bus property "MediaRemovable".
- public abstract string model { owned get; set; }
Represents the D-Bus property "Model".
- public abstract bool optical { get; set; }
Represents the D-Bus property "Optical".
- public abstract bool optical_blank { get; set; }
Represents the D-Bus property "OpticalBlank".
- public abstract uint optical_num_audio_tracks { get; set; }
Represents the D-Bus property "OpticalNumAudioTracks".
- public abstract uint optical_num_data_tracks { get; set; }
Represents the D-Bus property "OpticalNumDataTracks".
- public abstract uint optical_num_sessions { get; set; }
Represents the D-Bus property "OpticalNumSessions".
- public abstract uint optical_num_tracks { get; set; }
Represents the D-Bus property "OpticalNumTracks".
- public abstract bool removable { get; set; }
Represents the D-Bus property "Removable".
- public abstract string revision { owned get; set; }
Represents the D-Bus property "Revision".
- public abstract int rotation_rate { get; set; }
Represents the D-Bus property "RotationRate".
- public abstract string seat { owned get; set; }
Represents the D-Bus property "Seat".
- public abstract string serial { owned get; set; }
Represents the D-Bus property "Serial".
- public abstract string sibling_id { owned get; set; }
Represents the D-Bus property "SiblingId".
- public abstract uint64 size { get; set; }
Represents the D-Bus property "Size".
- public abstract string sort_key { owned get; set; }
Represents the D-Bus property "SortKey".
- public abstract uint64 time_detected { get; set; }
Represents the D-Bus property "TimeDetected".
- public abstract uint64 time_media_detected { get; set; }
Represents the D-Bus property "TimeMediaDetected".
- public abstract string vendor { owned get; set; }
Represents the D-Bus property "Vendor".
- public abstract string wwn { owned get; set; }
Represents the D-Bus property "WWN".
Static methods:
Methods:
- public async bool call_eject (Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the Eject D-Bus method on
this.
- public bool call_eject_sync (Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the Eject D-Bus method on
this.
- public async bool call_power_off (Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the PowerOff D-Bus method on
this.
- public bool call_power_off_sync (Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the PowerOff D-Bus method on
this.
- public async bool call_set_configuration (Variant arg_value, Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the SetConfiguration D-Bus method on
this.
- public bool call_set_configuration_sync (Variant arg_value, Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the SetConfiguration D-Bus method on
this.
- public void complete_eject (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the Eject D-Bus method.
- public void complete_power_off (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the PowerOff D-Bus method.
- public void complete_set_configuration (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling
invocations of the SetConfiguration D-Bus method.
Signals:
- public virtual signal bool handle_eject (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the Eject D-Bus
method.
- public virtual signal bool handle_power_off (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the PowerOff
D-Bus method.
- public virtual signal bool handle_set_configuration (DBusMethodInvocation invocation, Variant arg_value, Variant arg_options)
Signal emitted when a remote caller is invoking the
SetConfiguration 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