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:

  1. Header & global variable.
#include <wvr/wvr_tracker.h>
#include <wvr/wvr_types.h>

bool gRunningTR = false;
  1. Use function WVR_StopTracker to stop tracker feature.
if (gRunningTR) { // If tracker feature has been started successfully before.
    WVR_StopTracker();
    gRunningTR = false;
}

Note