1package com.navigine.idl.java.internal;
3import com.navigine.common.NativeObject;
4import com.navigine.common.Subscription;
5import com.navigine.idl.java.LocationListener;
6import com.navigine.idl.java.LocationManager;
14 private final NativeObject nativeObject;
21 this.nativeObject = nativeObject;
27 return createLocationListener(listener);
30 private static native NativeObject createLocationListener(
LocationListener listener);
37 native_addLocationListener(listener);
44 native_removeLocationListener(listener);
46 private native
void native_removeLocationListener(
LocationListener listener);
51 native_setLocationId(locationId);
53 private native
void native_setLocationId(
int locationId);
58 return native_getLocationId();
60 private native
int native_getLocationId();
65 native_commitChanges();
67 private native
void native_commitChanges();
72 native_revertChanges();
74 private native
void native_revertChanges();
79 native_setLocationUpdateInterval(interval);
81 private native
void native_setLocationUpdateInterval(
int interval);