Top | ![]() |
![]() |
![]() |
![]() |
const char * | urf_device_get_object_path () |
UrfDevice * | urf_device_new () |
gboolean | urf_device_set_object_path_sync () |
const char *
urf_device_get_object_path (UrfDevice *device
);
Get the object path for the device.
Since 0.2.0
gboolean urf_device_set_object_path_sync (UrfDevice *device
,const char *object_path
,GCancellable *cancellable
,GError **error
);
Set the object path of the object and fill up the initial properties.
Since 0.2.0
struct UrfDevice;
The UrfDevice struct contains only private fields and should not be directly accessed.
“hard”
property“hard” gboolean
This property indicates whether the hard block of the rfkill device is on or not.
Flags: Read
Default value: FALSE
Since 0.2.0
“index”
property“index” guint
The index of the rfkill device assigned by the kernel rfkill subsystem
Flags: Read
Default value: 0
Since 0.2.0
“name”
property“name” gchar *
The name of the rfkill device defined by the driver
Flags: Read
Default value: NULL
Since 0.2.0
“platform”
property“platform” gboolean
This property indicates whether the rfkill device is generated by a platform driver or not.
Flags: Read
Default value: FALSE
Since 0.3.0
“soft”
property“soft” gboolean
This property indicates whether the soft block of the rfkill device is on or not.
Flags: Read / Write
Default value: FALSE
Since 0.3.0
“type”
property“type” guint
The type of the rfkill device. See UrfEnumType.
Flags: Read
Allowed values: <= 8
Default value: 0
Since 0.2.0