freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.Vibrator

Description

This interface provides access to a Vibrator device.

Namespace

org.freesmartphone.Device.Vibrator

Methods

Signals

None

Properties

None

Errors

None

Methods

VibratePattern ( iiii )

Description: Vibrate in an on/off pattern for a specified number of pulses.

Parameters

i: pulses

The amount of pulses (on+off iterations).

i: on_duration_ms

Duration of vibrating in milliseconds.

i: off_duration_ms

Duration of not vibrating in milliseconds.

i: strength_percentage

Strength of vibration in percent (0-100). Note that not all vibrators honor this parameter.

Vibrate ( ii )

Description: Pulse the vibrator for a specified number of seconds.

Parameters

i: duration_ms

The amount of time (in milliseconds) to vibrate.

i: strength_percentage

Strength of vibration in percent (0-100). Note that not all vibrators honor this parameter.

Stop ( )

Description: Cancel any previous commands and stop the vibrator immediately.


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