Property | Defined By | ||
---|---|---|---|
listener : TheListener [static] [read-only] | Sensors |
Method | Defined By | ||
---|---|---|---|
init():void [static] | Sensors | ||
setSensorDelay($delay:int):void [static]
Indicates the sensor delay in Android. | Sensors |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.sensors [static] | Sensors | ||
SENSOR_DELAY_FASTEST : int = 0 [static] | Sensors | ||
SENSOR_DELAY_GAME : int = 1 [static] | Sensors | ||
SENSOR_DELAY_NORMAL : int = 3 [static] | Sensors | ||
SENSOR_DELAY_UI : int = 2 [static] | Sensors | ||
VERSION : String = 0.0.11 [static] | Sensors |
listener | property |
listener:TheListener
[read-only] public static function get listener():TheListener
init | () | method |
public static function init():void
setSensorDelay | () | method |
public static function setSensorDelay($delay:int):void
Indicates the sensor delay in Android. On iOS you can't control the sensor delay. Notice that changing the sensor delay will only effect the new listeners. Meaning that if you are already listening to a sensor, changing the sensorDelay won't effect that. You should remove that sensor listener and add it again.
Parameters
$delay:int |
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.sensors
SENSOR_DELAY_FASTEST | Constant |
public static const SENSOR_DELAY_FASTEST:int = 0
SENSOR_DELAY_GAME | Constant |
public static const SENSOR_DELAY_GAME:int = 1
SENSOR_DELAY_NORMAL | Constant |
public static const SENSOR_DELAY_NORMAL:int = 3
SENSOR_DELAY_UI | Constant |
public static const SENSOR_DELAY_UI:int = 2
VERSION | Constant |
public static const VERSION:String = 0.0.11