16 private final NativeObject nativeObject;
23 this.nativeObject = nativeObject;
29 return createPositionListener(listener);
32 private static native NativeObject createPositionListener(
PositionListener listener);
39 native_addPositionListener(listener);
46 native_startLogRecording();
48 private native
void native_startLogRecording();
53 native_addCheckPoint(point);
55 private native
void native_addCheckPoint(
LocationPoint point);
60 native_stopLogRecording();
62 private native
void native_stopLogRecording();
67 native_addLocationMeasurement(point, accuracy, provider);
69 private native
void native_addLocationMeasurement(
GlobalPoint point,
float accuracy, String provider);
74 native_removePositionListener(listener);
76 private native
void native_removePositionListener(
PositionListener listener);