Top |
org.freedesktop.ColorManager.Sensororg.freedesktop.ColorManager.Sensor — Sensor interface |
Lock() Unlock() GetSample(in's'capability, out'd'sample_x, out'd'sample_y, out'd'sample_z) GetSpectrum(in's'capability, out'd'start_nm, out'd'end_nm, out'ad'data) SetOptions(in'a{sv}'values)
Objects implementing org.freedesktop.ColorManager.Sensor also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'SensorId'read's' 'Kind'read's' 'State'read's' 'Mode'read's' 'Serial'read's' 'Model'read's' 'Vendor'read's' 'Native'read'b' 'Embedded'read'b' 'Locked'read'b' 'Capabilities'read'as' 'Options'read'a{sv}' 'Metadata'read'a{ss}'
Locks the sensor for use by an application.
If the current holder of the lock quits without calling
Unlock
then it is automatically removed.
Unlocks the sensor for use by other applications.
Gets a color sample using the sensor.
|
The capability we are using, e.g. |
|
The X value, or
For the capability of |
|
The Y value, or |
|
The Z value, or |
Gets a color spectrum using the sensor.
|
The capability we are using, e.g. |
|
The start of the wavelength range in nm. |
|
The end of the wavelength range in nm. |
|
The non-normalised data array. |
Sets one or multiple options on the sensor.
|
A dictionary of property keys and values, e.g.
|
The sensor id string.
The kind of the sensor, e.g. colormunki
The state of the sensor, e.g. starting
,
idle
or measuring
.
The operating mode of the sensor, e.g. ambient
,
printer
or unknown
.
On some devices, a sensor has to be set to a specific position before a reading can be taken. This property should be set to the current device mode.
The sensor serial number, e.g. 012345678a
.
The sensor model, e.g. ColorMunki
.
The sensor vendor, e.g. XRite
.
If the sensor is supported with a native driver, which does not require additional tools such as argyllcms.
If the sensor is embedded into the laptop hardware, for example the W700 device from Lenovo.
If this property is set then the calibration process should show the color patch fullscreen and should emit an audible alert when completed.
If the sensor is locked for use by colord.
The capabilities of the sensor, e.g ['display',
'printer', 'projector', 'spot']
.
The options currently set on the sensor.
This is a dictionary of property keys and values, e.g.
remote-profile-hash = deadbeef
.
The metadata for the sensor, which may include optional
keys like AttachImage
.