-
- All Implemented Interfaces:
-
android.view.View.OnGenericMotionListener,android.view.View.OnKeyListener,android.view.View.OnTouchListener,com.badlogic.gdx.Input
public interface AndroidInput implements Input, View.OnTouchListener, View.OnKeyListener, View.OnGenericMotionListener
-
-
Method Summary
Modifier and Type Method Description abstract voidonPause()Called when the AndroidApplication is about to pause abstract voidonResume()Called when the AndroidApplication is about to resume abstract voidonDreamingStarted()Called when an AndroidDaydream is about to start abstract voidonDreamingStopped()Called when an AndroidDaydream is about to stop abstract voidaddKeyListener(View.OnKeyListener listener)Add a custom OnKeyListener abstract voidaddGenericMotionListener(View.OnGenericMotionListener listener)Add a custom OnGenericMotionListener abstract voidprocessEvents()Process all events (touch, key) that have been registered by the listeners so that event processing is synchronous. abstract voidsetKeyboardAvailable(boolean available)Shows/Hides soft screen keyboard -
Methods inherited from class com.badlogic.gdx.Input
closeTextInputField, getAccelerometerX, getAccelerometerY, getAccelerometerZ, getAzimuth, getCurrentEventTime, getDeltaX, getDeltaY, getGyroscopeX, getGyroscopeY, getGyroscopeZ, getInputProcessor, getMaxPointers, getNativeOrientation, getPitch, getPressure, getRoll, getRotation, getRotationMatrix, getTextInput, getX, getY, isButtonJustPressed, isButtonPressed, isCatchKey, isCursorCatched, isKeyJustPressed, isKeyPressed, isPeripheralAvailable, isTouched, justTouched, openTextInputField, setCatchKey, setCursorCatched, setCursorPosition, setInputProcessor, setKeyboardHeightObserver, setOnscreenKeyboardVisible, vibrate -
Methods inherited from class android.view.View.OnTouchListener
onTouch -
Methods inherited from class android.view.View.OnKeyListener
onKey -
Methods inherited from class android.view.View.OnGenericMotionListener
onGenericMotion -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onPause
abstract void onPause()
Called when the AndroidApplication is about to pause
-
onResume
abstract void onResume()
Called when the AndroidApplication is about to resume
-
onDreamingStarted
abstract void onDreamingStarted()
Called when an AndroidDaydream is about to start
-
onDreamingStopped
abstract void onDreamingStopped()
Called when an AndroidDaydream is about to stop
-
addKeyListener
abstract void addKeyListener(View.OnKeyListener listener)
Add a custom OnKeyListener
-
addGenericMotionListener
abstract void addGenericMotionListener(View.OnGenericMotionListener listener)
Add a custom OnGenericMotionListener
-
processEvents
abstract void processEvents()
Process all events (touch, key) that have been registered by the listeners so that event processing is synchronous.
-
setKeyboardAvailable
abstract void setKeyboardAvailable(boolean available)
Shows/Hides soft screen keyboard
-
-
-
-