qnx.events.RotationMatrixEvent

RotationMatrixEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class RotationMatrixEvent
InheritanceRotationMatrixEvent Inheritance flash.events.Event

A RotationMatrixEvent is dispatched by the RotationMatrix class with a rotation matrix that represents the current rotation of the device.

Class information:
BlackBerry 10 Version: 2.1
Found in:  QNXSensors.ane

See also

qnx.sensors.RotationMatrix



Public Properties

 PropertyDefined By
  accuracy : int
The current accuracy of the sensor at the time of the event.
RotationMatrixEvent
  matrix : Vector.<Number>
A 9 item Vector that represents the current rotation matrix of the device.
RotationMatrixEvent
  timestamp : Number
The timestamp of the event.
RotationMatrixEvent

Public Methods

 MethodDefined By
  
RotationMatrixEvent(type:String, matrix:Vector.<Number>, accuracy:int, timestamp:Number)
Creates an RotationMatrixEvent object that represents the current rotation of the device.
RotationMatrixEvent

Public Constants

 ConstantDefined By
  UPDATE : String = rotationMatrixUpdate
[static] Defines the value of the type property of a RotationMatrixEvent event object.
RotationMatrixEvent

Property Detail

accuracy


public var accuracy:int

The current accuracy of the sensor at the time of the event. See the SensorAccuracy class for a list of valid values.

See also

SensorAccuracy

matrix


public var matrix:Vector.<Number>

A 9 item Vector that represents the current rotation matrix of the device.

timestamp


public var timestamp:Number

The timestamp of the event.

Constructor Detail

RotationMatrixEvent()


public function RotationMatrixEvent(type:String, matrix:Vector.<Number>, accuracy:int, timestamp:Number)

Creates an RotationMatrixEvent object that represents the current rotation of the device.

Parameters

type:String — The type of the event. There is only one type of update event: RotationMatrixEvent.UPDATE
matrix:Vector.<Number> — A 9 item Vector that represents the current rotation matrix of the device.
accuracy:int — The current accuracy of the sensor at the time of the event. See the SensorAccuracy class for a list of valid values.
timestamp:Number — The timestamp of the event.

Constant Detail

UPDATE


public static const UPDATE:String = rotationMatrixUpdate

Defines the value of the type property of a RotationMatrixEvent event object.





comments powered by Disqus