Packages
colord
Cd
Sensor
connected
embedded
id
kind
locked
mode
model
native
object_path
serial
state
vendor
cap_from_string
cap_to_string
error_from_string
error_quark
error_to_string
kind_from_string
kind_to_string
state_from_string
state_to_string
Sensor
Sensor.with_object_path
@lock
@unlock
connect
connect_sync
equal
get_caps
get_connected
get_embedded
get_id
get_kind
get_locked
get_metadata
get_metadata_item
get_mode
get_model
get_native
get_object_path
get_option
get_options
get_sample
get_sample_sync
get_serial
get_spectrum
get_spectrum_sync
get_state
get_vendor
has_cap
lock_sync
set_object_path
set_options
set_options_sync
to_string
unlock_sync
button_pressed
kind_to_string
Description:
public
static
unowned
string
kind_to_string
(
SensorKind
sensor_kind)
Gets the sensor kind as a string.
Parameters:
sensor_kind
a
SensorKind
Returns:
the sensor kind, e.g. 'huey'.