#include "SENSAndroidGps.h"
#include <jni.h>
#include <assert.h>
#include <Utils.h>
Go to the source code of this file.
◆ GetGpsPtr()
Definition at line 7 of file SENSAndroidGps.cpp.
10 Utils::log(
"SENSAndroidGps",
"Global gps pointer has not been initialized");
static SENSAndroidGps * gGpsPtr
void log(const char *tag, const char *format,...)
logs a formatted string platform independently
◆ Java_ch_cpvr_wai_SENSGps_onLocationLLA()
| JNIEXPORT void JNICALL Java_ch_cpvr_wai_SENSGps_onLocationLLA |
( |
JNIEnv * |
env, |
|
|
jclass |
obj, |
|
|
jdouble |
latitudeDEG, |
|
|
jdouble |
longitudeDEG, |
|
|
jdouble |
altitudeM, |
|
|
jfloat |
accuracyM |
|
) |
| |
Definition at line 39 of file SENSAndroidGps.cpp.
SENSAndroidGps * GetGpsPtr()
void updateLocation(double latitudeDEG, double longitudeDEG, double altitudeM, float accuracyM)
◆ gGpsPtr