cpp_point_cloud_example/app/src/main/jni/point_cloud_app.cc
void PointCloudApp::TangoConnect() {
  TangoErrorType err = TangoService_connect(this, tango_config_);
  if (err != TANGO_SUCCESS) {
    LOGE(
        "PointCloudApp: Failed to connect to the Tango service with"
        "error code: %d",
        err);
    std::exit(EXIT_SUCCESS);
  }

  // Initialize TangoSupport context.
  TangoSupport_initialize(TangoService_getPoseAtTime,
                          TangoService_getCameraIntrinsics);
}
// Connect to the Tango Service, the service will start running:
// poses can be queried and callbacks will be called.
Connect to the Tango Service, the service will start running:
poses can be queried and callbacks will be called.
Connect to the Tango Service the service will start running : poses can be queried and callbacks will be called .
void PointCloudApp::TangoConnect() {
  TangoErrorType err = TangoService_connect(this, tango_config_);
  if (err != TANGO_SUCCESS) {
    LOGE(
        "PointCloudApp: Failed to connect to the Tango service with"
        "error code: %d",
        err);
    std::exit(EXIT_SUCCESS);
  }
  TangoSupport_initialize(TangoService_getPoseAtTime,
                          TangoService_getCameraIntrinsics);
}
void PointCloudApp :: TangoConnect ( ) { TangoErrorType err = TangoService_connect ( this , tango_config_ ) ; if ( err != TANGO_SUCCESS ) { LOGE ( " " " " , err ) ; std :: exit ( EXIT_SUCCESS ) ; } TangoSupport_initialize ( TangoService_getPoseAtTime , TangoService_getCameraIntrinsics ) ; }
Connect to the Tango Service, the service will start running:
poses can be queried and callbacks will be called.
Connect to the Tango Service the service will start running : poses can be queried and callbacks will be called .
// Initialize TangoSupport context.