freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.AmbientLight

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.


| Specified 2008-2012 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org