public class TouchManager
extends java.lang.Object
| Constructor and Description |
|---|
TouchManager()
This is the constructor of TouchManager.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInputLocked()
Tells if the input from touchscreen is locked.
|
int |
lockInput(boolean lock)
Locks or unlocks the input from touchscreen.
|
public TouchManager()
DeviceException - in case of error.public int lockInput(boolean lock)
lock - boolean param that specifies whether or not the touchscreen will be locked.int DeviceException.SUCCESS in case of success,
otherwise a possible error code, matching one of the DeviceException error constants.DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.public boolean isInputLocked()
boolean it returns whether or not the touchscreen is locked.DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.