Public Attributes | |
VuErrorHandler * | errorHandler |
Error handler function to report Engine lifecycle-related errors. | |
void * | clientData |
Client data to pass back when the error handler function is called. | |
Data structure to configure the handling of Engine lifecycle-related errors via a callback after the Engine instance has been created.
VuErrorHandler* errorHandler |
Error handler function to report Engine lifecycle-related errors.
The parameter errorCode
in the errorHandler
function reports the code of an error, which occurs after the Engine instance has been already created and has a fundamental impact on the Engine lifecycle (e.g. Engine stopped internally due to receiving a report about an invalid license key or the platform-specific camera resource dropped by the operating system). The thread on which Engine invokes the handler function depends on the platform and the error (may or may not be the camera thread), there is no harmonized, cross-platform behavior.
See also the general documentation on callbacks and reentrancy in Engine.h.
void* clientData |
Client data to pass back when the error handler function is called.