freesmartphone.org Ambient Light Interface
Description
This interface provides access to an ambient light device.
Namespace
org.freesmartphone.Device.AmbientLight
Methods
Signals
Properties
None
Errors
None
Methods
GetAmbientLightBrightness ( ) → ii
Description: Get the last ambient light brightness, or -1 if unknown.
Returns:
i: brightness The last ambientlight.
i: epoch Timestamp indicating when this value has been received.
Signals
AmbientLightBrightness ( i )
Description: Sent, when the ambient light brightness changes.
Parameters:
i: brightness The new ambient light brightness.