WVR_StartEyeTracking¶
-
WVR_EXPORT WVR_Result WVR_StartEyeTracking()
Function to start eye tracking.
This API will start eye tracking module This API must be called by main thread.
- Version
- API Level 9
- Return Value
WVR_Success
: start eye tracking feature successfully.others
: WVR_Result mean failure.
How to use¶
Sample function:
#include <wvr/wvr_eyetracking.h>
if (WVR_StartEyeTracking() == WVR_Success) {
//WVR_GetEyeTracking
//WVR_StopEyeTracking
} else {
// start eye tracking failed!
}