C API Unity API
C API Reference (Version 10.22.5)
ErrorHandlerConfig.h File Reference

Configuration for handling errors that impact the Engine lifecycle and occur asynchronously after the Engine instance has been created. More...

Classes

struct  VuErrorHandlerConfig
 Data structure to configure the handling of Engine lifecycle-related errors via a callback after the Engine instance has been created. More...
 

Enumerations

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...
 

Functions

typedef void (VuErrorHandler(VuEngineError errorCode, void *clientData))
 Handler function type to report an Engine lifecycle-related error asynchronously.
 
VuErrorHandlerConfig vuErrorHandlerConfigDefault ()
 Default error handler configuration. More...
 
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.
 

Detailed Description

Configuration for handling errors that impact the Engine lifecycle and occur asynchronously after the Engine instance has been created.