freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.Proximity

Description

This interface provides access to a proximity device.

Namespace

org.freesmartphone.Device.Proximity

Methods

Signals

Errors

None

Methods

GetProximity ( ) → ii

Description: Get the last percentage value of the proximity device (most probably 0 or 100), or -1 if unknown.

Returns

i: proximity

The last proximity.

i: epoch

Timestamp indicating when this value has been received.

Signals

Proximity ( i )

Description: Sent, when the proximity changes.

Parameters

i: proximity

The new proximity in percentage (most probably 0 or 100).


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