API reference

MvrAppDraConfig Struct

In Header file metavr/dra/app/AppDra.h
Configuration for creating an Application DRA session.

Fields

Non-null callback to receive pressure updates.
Signature
MvrAppDraPressureCallback MvrAppDraConfig::callback
looper : ALooper *
Optional ALooper to dispatch the callback on.
NULL (default) dispatches on an internal binder thread; pass a looper attached to a specific thread to receive callbacks there instead. The looper must outlive the session.
Signature
ALooper* MvrAppDraConfig::looper
name : const char *
Non-null human-readable application name for diagnostics.
Signature
const char* MvrAppDraConfig::name
userData : void *
Opaque pointer passed to the callback, or NULL.
Signature
void* MvrAppDraConfig::userData
version : uint32_t
Struct version.
Must be initialized via MvrAppDraConfig_init.
Signature
uint32_t MvrAppDraConfig::version