android_poll_source

#include <android_native_app_glue.h>

Data associated with an ALooper fd that will be returned as the "outData" when that source has data ready.

Summary

Public attributes

app
struct android_app *
The android_app this ident is associated with.
id
int32_t
The identifier of this source.
process)(struct android_app *app, struct android_poll_source *source)
void(*
Function to call to perform the standard processing of data from this source.

Public attributes

app

struct android_app * android_poll_source::app

The android_app this ident is associated with.

id

int32_t android_poll_source::id

The identifier of this source.

May be LOOPER_ID_MAIN or LOOPER_ID_INPUT.

process

void(* android_poll_source::process)(struct android_app *app, struct android_poll_source *source)

Function to call to perform the standard processing of data from this source.