API reference

MvrAppDra_create Function

In Header file metavr/dra/app/AppDra.h
Create an Application DRA session and register with the platform.
Connects to the Application DRA service, registering this process for pressure updates. When pressure changes, the provided callback is invoked with the current pressure values.

Signature

MvrAppDraStatus MvrAppDra_create(const MvrAppDraConfig* config, MvrAppDraHandle* handle)

Parameters

config: const MvrAppDraConfig* Non-null pointer to a populated MvrAppDraConfig.
handle: MvrAppDraHandle* Non-null pointer that receives the session handle on success.

Returns

MvrAppDraStatus MVR_APP_DRA_STATUS_OK on success, or a negative error code.