diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-7FD32D4D-871F-4251-844C-6CB59B593730.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-7FD32D4D-871F-4251-844C-6CB59B593730.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,238 @@ + + +Returned +sensor data

Returned +sensor data

+

The ReturnValue property returned by callback is an object containing data from one sensor channel. callback returns +an object every time a notification is received for the specified +channel. The exact set of object properties depends on the type of +sensor data provided by the channel:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Object properties +for AccelerometerAxis data
+

Property

+
+

Type

+
+

Value

+
+

DataType

+
+

string

+
+

"AxisData"

+
+

TimeStamp

+
+

string

+
 
+

XAxisData

+
+

number

+
 
+

YAxisData

+
+

number

+
 
+

ZAxisData

+
+

number

+
 
+ + + + + + + + + + + + + + + + + + + + + +
Table: Object +properties for AccelerometerDoubleTapping data
+

Property

+
+

Type

+
+

Value

+
+

DataType

+
+

string

+
+

"DoubleTappingData"

+
+

TimeStamp

+
+

string

+
 
+

DeviceDirection

+
+

number

+
 
+ + + + + + + + + + + + + + + + + + + + + +
Table: Object +properties for Orientation data
+

Property

+
+

Type

+
+

Value

+
+

DataType

+
+

string

+
+

"OrientationData"

+
+

TimeStamp

+
+

string

+
 
+

DeviceOrientation

+
+

string

+
+

Possible values:

+
    +
  • "Undefined"

  • +
  • "DisplayUp"

  • +
  • "DisplayDown"

  • +
  • "DisplayLeftUp"

  • +
  • "DisplayRightUp"

  • +
  • "DisplayUpwards"

  • +
  • "DisplayDownwards"

  • +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Object +properties for Rotation data
+

Property

+
+

Type

+
+

Value

+
+

DataType

+
+

string

+
+

"RotationData"

+
+

TimeStamp

+
+

string

+
 
+

XRotation

+
+

number

+
 
+

YRotation

+
+

number

+
 
+

ZRotation

+
+

number

+
 
\ No newline at end of file