enum | VuEngineError : int32_t { VU_ENGINE_ERROR_INVALID_LICENSE = 0x600 , VU_ENGINE_ERROR_CAMERA_DEVICE_LOST = 0x601 , VU_ENGINE_ERROR_PLATFORM_FUSION_PROVIDER_INFO_INVALIDATED = 0x602 } |
Error codes for Engine lifecycle-related errors reported via the VuErrorHandler error handler function. More... | |
typedef void | VuErrorHandler(VuEngineError errorCode, void *clientData) |
Handler function type to report an Engine lifecycle-related error asynchronously. | |
VuErrorHandlerConfig | vuErrorHandlerConfigDefault () |
Default error handler configuration. | |
VuResult | vuEngineConfigSetAddErrorHandlerConfig (VuEngineConfigSet *configSet, const VuErrorHandlerConfig *config) |
Add error handler configuration to the engine configuration to handle errors that impact the Engine lifecycle and occur asynchronously after the Engine instance has been created. | |
enum VuEngineError : int32_t |
Error codes for Engine lifecycle-related errors reported via the VuErrorHandler error handler function.
Enumerator | |
---|---|
VU_ENGINE_ERROR_INVALID_LICENSE | License key validation has failed, Engine has stopped. |
VU_ENGINE_ERROR_CAMERA_DEVICE_LOST | The operating system has reported that the camera device has become unavailable to Vuforia and therefore Engine has stopped. This may be because of a device error or another App or user action has caused the operating system to close Engine's connection to the camera. |
VU_ENGINE_ERROR_PLATFORM_FUSION_PROVIDER_INFO_INVALIDATED | This error can only happen on Android when using ARCore. If ARCore Fusion Provider info was retrieved previously via vuPlatformControllerGetARCoreInfo, this will be invalidated (including all platform pointers) after the callback has returned and should not be accessed any more after that (as this might lead to undefined behavior). The info must be retrieved again.
|
VuErrorHandlerConfig vuErrorHandlerConfigDefault | ( | ) |
Default error handler configuration.