Class
PhoshTorchManager
Description [src]
final class Phosh.TorchManager : Phosh.Manager
{
/* No available fields */
}
Interacts with torch via UPower
PhoshTorchManager
tracks the torch status and
allows to set the brightness.
Instance methods
phosh_torch_manager_get_scaled_brightness
Gets the current brightness as fraction between 0 (off) and 1 (maximum brightness).
phosh_torch_manager_set_scaled_brightness
Sets the current brightness as fraction between 0 (off) and 1 (maximum brightness).
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.