cpp_marker_detection_example/app/src/main/jni/marker_detection_app.cc
void onTextureAvailableRouter(void* context, TangoCameraId id) {
  tango_marker_detection::MarkerDetectionApp* app =
      static_cast<tango_marker_detection::MarkerDetectionApp*>(context);
  app->onTextureAvailable(id);
}
// This function routes texture callbacks to the application object for
// handling.
//
// @param context, context will be a pointer to a MarkerDetectionApp
//        instance on which to call callbacks.
// @param id, id of the updated camera.
This function routes texture callbacks to the application object for
handling.
This function routes texture callbacks to the application object for handling .
void onTextureAvailableRouter(void* context, TangoCameraId id) {
  tango_marker_detection::MarkerDetectionApp* app =
      static_cast<tango_marker_detection::MarkerDetectionApp*>(context);
  app->onTextureAvailable(id);
}
void onTextureAvailableRouter ( void * context , TangoCameraId id ) { tango_marker_detection :: MarkerDetectionApp * app = static_cast < tango_marker_detection :: MarkerDetectionApp * > ( context ) ; app -> onTextureAvailable ( id ) ; }
This function routes texture callbacks to the application object for
handling.
This function routes texture callbacks to the application object for handling .