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