Big5 API Documentation

device  1.1.0

Big5 API Documentation > device > Device.Acceleration
Search:
 
Filters

static Class Device.Acceleration

Access to the acceleration functionalities of the device.

Methods

start

void start ( successCallback , frequency )
Start tracking of acceleration data. The setting of the frequency is optional. The default value is 40 Hz (1.0/40.0).
Parameters:
successCallback <Object> Function that will be called if new data is available
frequency <Float> Frequency provided as a friction of seconds (Hertz)
Returns: void

stop

void stop ( )
Stop the tracking of acceleration data.
Returns: void


Copyright © 2009 Dirk Holtwick. All rights reserved.