freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.Display

Description

This interface provides access to a display device.

Namespace

org.freesmartphone.Device.Display

Methods

Signals

None

Errors

None

Methods

GetInfo ( ) → a{sv}

Description: Retrieve information about the display.

Returns

a{sv}: properties

The properties of the display. Expected values are:

GetBrightness ( ) → i

Description: Get the current brightness level.

Returns

i: brightness

The brightness level in percent (0-100).

SetBrightness ( i )

Description: Set the brightness level.

A brightness level of 0 does not necessarily mean that the backlight power is off.

Parameters

i: brightness

The brightness level in percent (0-100).

GetBacklightPower ( ) → b

Description: Get whether the backlight is powered or not.

Returns

b: power

True, if the backlight is powered. False, otherwise.

SetBacklightPower ( b )

Description: Set whether the backlight should be powered or not.

Parameters

b: power

True, if the backlight should be powered. False, otherwise.


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