cpp_motion_tracking_example/app/src/main/jni/motion_tracking_app.cc
void MotionTrackingApp::TangoConnect() {
  TangoErrorType ret = TangoService_connect(this, tango_config_);
  if (ret != TANGO_SUCCESS) {
    LOGE(
        "MotionTrackingApp: Failed to connect to the Tango service with"
        "error code: %d",
        ret);
    std::exit(EXIT_SUCCESS);
  }
}
// Connect to Tango Service, service will start running, and
// pose can be queried.
Connect to Tango Service, service will start running, and
pose can be queried.
Connect to Tango Service service will start running and pose can be queried .
void MotionTrackingApp::TangoConnect() {
  TangoErrorType ret = TangoService_connect(this, tango_config_);
  if (ret != TANGO_SUCCESS) {
    LOGE(
        "MotionTrackingApp: Failed to connect to the Tango service with"
        "error code: %d",
        ret);
    std::exit(EXIT_SUCCESS);
  }
}
void MotionTrackingApp :: TangoConnect ( ) { TangoErrorType ret = TangoService_connect ( this , tango_config_ ) ; if ( ret != TANGO_SUCCESS ) { LOGE ( " " " " , ret ) ; std :: exit ( EXIT_SUCCESS ) ; } }
Connect to Tango Service, service will start running, and
pose can be queried.
Connect to Tango Service service will start running and pose can be queried .