public interface AndroidApplicationBase extends Application
Application.ApplicationType| Modifier and Type | Field and Description |
|---|---|
static int |
MINIMUM_SDK |
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_NONE| Modifier and Type | Method and Description |
|---|---|
android.view.Window |
getApplicationWindow()
Returns the Window associated with the application
|
android.content.Context |
getContext()
The application or activity context
|
Array<Runnable> |
getExecutedRunnables()
The currently executed runnables
|
android.os.Handler |
getHandler()
Returns the Handler object created by the application
|
AndroidInput |
getInput()
Returns the
AndroidInput object associated with this AndroidApplicationBase |
SnapshotArray<LifecycleListener> |
getLifecycleListeners()
Returns the
LifecycleListener array associated with this AndroidApplicationBase |
Array<Runnable> |
getRunnables()
A set of usable runnables
|
android.view.WindowManager |
getWindowManager()
Returns the WindowManager associated with the application
|
void |
runOnUiThread(Runnable runnable)
Method signifies an intent of the caller to execute some action on the UI Thread.
|
void |
startActivity(android.content.Intent intent)
Method signifies an intent to start an activity, may be the default method of the
Activity class |
void |
useImmersiveMode(boolean b)
Activates Android 4.4 KitKat's 'Immersive Mode' feature.
|
addLifecycleListener, debug, debug, error, error, exit, getApplicationListener, getAudio, getClipboard, getFiles, getGraphics, getJavaHeap, getLogLevel, getNativeHeap, getNet, getPreferences, getType, getVersion, log, log, postRunnable, removeLifecycleListener, setLogLevelstatic final int MINIMUM_SDK
android.content.Context getContext()
ContextArray<Runnable> getExecutedRunnables()
Runnable arrayvoid runOnUiThread(Runnable runnable)
runnable - The runnable to be executedvoid startActivity(android.content.Intent intent)
Activity classintent - The Intent for starting an activityAndroidInput getInput()
AndroidInput object associated with this AndroidApplicationBasegetInput in interface ApplicationAndroidInput objectSnapshotArray<LifecycleListener> getLifecycleListeners()
LifecycleListener array associated with this AndroidApplicationBaseLifecycleListener'sandroid.view.Window getApplicationWindow()
Window associated with the applicationandroid.view.WindowManager getWindowManager()
WindowManager associated with the applicationvoid useImmersiveMode(boolean b)
b - Whether or not to use immersive modeandroid.os.Handler getHandler()
Handler object created by the applicationCopyright © 2016. All rights reserved.