public void StartTracking() { StopTracking(); SdkCommonHelper.Initialize(); SetConfiguration(); pxcmStatus senseManagerInitStatus = SdkCommonHelper.SenseManager.Init(); if (senseManagerInitStatus < pxcmStatus.PXCM_STATUS_NO_ERROR) { throw new Exception("SenseManager.Init() error: " + senseManagerInitStatus.ToString()); } StartTrackingThread(); }
public void StopTracking() { StopTrackingThread(); SdkCommonHelper.Dispose(); }