Search Results for

    Show / Hide Table of Contents

    Struct android_app

    This is the interface for the standard glue code of a threaded application. In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.

    Assembly: FlaxEngine.dll
    File: Engine/Main/Android/android_native_app_glue.h
    Syntax
    public struct android_app

    Fields

    activity

    Declaration
    public ANativeActivity* activity
    Field Value
    ANativeActivity

    activityState

    Declaration
    public int activityState
    Field Value
    int

    cmdPollSource

    Declaration
    public struct android_poll_source cmdPollSource
    Field Value
    struct android_poll_source

    cond

    Declaration
    public pthread_cond_t cond
    Field Value
    pthread_cond_t

    config

    Declaration
    public AConfiguration* config
    Field Value
    AConfiguration

    contentRect

    Declaration
    public ARect contentRect
    Field Value
    ARect

    destroyed

    Declaration
    public int destroyed
    Field Value
    int

    destroyRequested

    Declaration
    public int destroyRequested
    Field Value
    int

    inputPollSource

    Declaration
    public struct android_poll_source inputPollSource
    Field Value
    struct android_poll_source

    inputQueue

    Declaration
    public AInputQueue* inputQueue
    Field Value
    AInputQueue

    looper

    Declaration
    public ALooper* looper
    Field Value
    ALooper

    msgread

    Declaration
    public int msgread
    Field Value
    int

    msgwrite

    Declaration
    public int msgwrite
    Field Value
    int

    mutex

    Declaration
    public pthread_mutex_t mutex
    Field Value
    pthread_mutex_t

    onAppCmd)(struct android_app* app, int32_t cmd)

    Declaration
    public void(* onAppCmd)(struct android_app* app, int32_t cmd)
    Field Value
    void(

    onInputEvent)(struct android_app* app, AInputEvent* event)

    Declaration
    public int32_t(* onInputEvent)(struct android_app* app, AInputEvent* event)
    Field Value
    int32_t(

    pendingContentRect

    Declaration
    public ARect pendingContentRect
    Field Value
    ARect

    pendingInputQueue

    Declaration
    public AInputQueue* pendingInputQueue
    Field Value
    AInputQueue

    pendingWindow

    Declaration
    public ANativeWindow* pendingWindow
    Field Value
    ANativeWindow

    redrawNeeded

    Declaration
    public int redrawNeeded
    Field Value
    int

    running

    Declaration
    public int running
    Field Value
    int

    savedState

    Declaration
    public void* savedState
    Field Value
    void

    savedStateSize

    Declaration
    public size_t savedStateSize
    Field Value
    size_t

    stateSaved

    Declaration
    public int stateSaved
    Field Value
    int

    thread

    Declaration
    public pthread_t thread
    Field Value
    pthread_t

    userData

    Declaration
    public void* userData
    Field Value
    void

    window

    Declaration
    public ANativeWindow* window
    Field Value
    ANativeWindow

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat