WVR_StopTracker¶
-
WVR_EXPORT void WVR_StopTracker()
Function to stop the feature of the tracker.
This API will stop the feature of the tracker that already started, and release related sources. This API must be called by main thread.
- Version
- API Level 8
How to use¶
Here is an example for the function:
- Header & global variable.
#include <wvr/wvr_tracker.h>
#include <wvr/wvr_types.h>
bool gRunningTR = false;
- Use function WVR_StopTracker to stop tracker feature.
if (gRunningTR) { // If tracker feature has been started successfully before.
WVR_StopTracker();
gRunningTR = false;
}
Note
- See also WVR_StartTracker.