Moai SDK
2.0
|
Function List | |
getLevel | |
setCallback | |
|
Polls the current status of the level sensor.
function getLevel ( MOAIMotionSensor self )
MOAIMotionSensor | self |
|
Sets or clears the callback to be issued when the level changes.
function setCallback ( MOAIMotionSensor self [, function callback ] )
MOAIMotionSensor | self |
function | callback Optional. Default value is nil. |