Drive
Object Hierarchy:
Description:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Drive.
All known implementing classes:
Namespace: UDisks
Package: udisks2
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:
- public static unowned DBusInterfaceInfo interface_info ()
Gets a machine-readable description of the org.freedesktop.UDisks2.Drive D-Bus interface.
- public static uint override_properties (ObjectClass klass, uint property_id_begin)
Overrides all Object properties in the Drive interface for a concrete class.
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