25 public abstract android.graphics.Bitmap
getImage(Integer maxTextureSize);
135 public abstract ArrayList<ReferencePoint> getReferencePoints();
148 private static final class CppProxy
extends Sublocation
150 private final long nativeRef;
151 private final AtomicBoolean destroyed =
new AtomicBoolean(
false);
153 private CppProxy(
long nativeRef)
155 if (nativeRef == 0)
throw new RuntimeException(
"nativeRef is zero");
156 this.nativeRef = nativeRef;
159 private native
void nativeDestroy(
long nativeRef);
160 public void _djinni_private_destroy()
162 boolean destroyed = this.destroyed.getAndSet(
true);
163 if (!destroyed) nativeDestroy(this.nativeRef);
165 protected void finalize() throws
java.lang.Throwable
167 _djinni_private_destroy();
174 public android.graphics.Bitmap getImage(Integer maxTextureSize)
176 assert !this.destroyed.get() :
"trying to use a destroyed object";
177 return native_getImage(this.nativeRef, maxTextureSize);
179 private native android.graphics.Bitmap native_getImage(
long _nativeRef, Integer maxTextureSize);
184 assert !this.destroyed.get() :
"trying to use a destroyed object";
185 return native_globalToLocal(this.nativeRef, globalPoint);
192 assert !this.destroyed.get() :
"trying to use a destroyed object";
193 return native_localToGlobal(this.nativeRef, localPoint);
195 private native GlobalPoint native_localToGlobal(
long _nativeRef, LocationPoint localPoint);
198 public Graph getGraph(String tag)
200 assert !this.destroyed.get() :
"trying to use a destroyed object";
201 return native_getGraph(this.nativeRef, tag);
203 private native Graph native_getGraph(
long _nativeRef, String tag);
206 public Venue getVenueById(
int id)
208 assert !this.destroyed.get() :
"trying to use a destroyed object";
209 return native_getVenueById(this.nativeRef,
id);
211 private native Venue native_getVenueById(
long _nativeRef,
int id);
214 public Zone getZoneById(
int id)
216 assert !this.destroyed.get() :
"trying to use a destroyed object";
217 return native_getZoneById(this.nativeRef,
id);
219 private native Zone native_getZoneById(
long _nativeRef,
int id);
224 assert !this.destroyed.get() :
"trying to use a destroyed object";
225 return native_getId(this.nativeRef);
227 private native
int native_getId(
long _nativeRef);
230 public int getLocation()
232 assert !this.destroyed.get() :
"trying to use a destroyed object";
233 return native_getLocation(this.nativeRef);
235 private native
int native_getLocation(
long _nativeRef);
238 public String getName()
240 assert !this.destroyed.get() :
"trying to use a destroyed object";
241 return native_getName(this.nativeRef);
243 private native String native_getName(
long _nativeRef);
246 public float getWidth()
248 assert !this.destroyed.get() :
"trying to use a destroyed object";
249 return native_getWidth(this.nativeRef);
251 private native
float native_getWidth(
long _nativeRef);
254 public float getHeight()
256 assert !this.destroyed.get() :
"trying to use a destroyed object";
257 return native_getHeight(this.nativeRef);
259 private native
float native_getHeight(
long _nativeRef);
262 public Float getAltitude()
264 assert !this.destroyed.get() :
"trying to use a destroyed object";
265 return native_getAltitude(this.nativeRef);
267 private native Float native_getAltitude(
long _nativeRef);
270 public float getAzimuth()
272 assert !this.destroyed.get() :
"trying to use a destroyed object";
273 return native_getAzimuth(this.nativeRef);
275 private native
float native_getAzimuth(
long _nativeRef);
278 public GlobalPoint getOriginPoint()
280 assert !this.destroyed.get() :
"trying to use a destroyed object";
281 return native_getOriginPoint(this.nativeRef);
283 private native GlobalPoint native_getOriginPoint(
long _nativeRef);
286 public String getLevelId()
288 assert !this.destroyed.get() :
"trying to use a destroyed object";
289 return native_getLevelId(this.nativeRef);
291 private native String native_getLevelId(
long _nativeRef);
294 public String getExternalId()
296 assert !this.destroyed.get() :
"trying to use a destroyed object";
297 return native_getExternalId(this.nativeRef);
299 private native String native_getExternalId(
long _nativeRef);
302 public ArrayList<Beacon> getBeacons()
304 assert !this.destroyed.get() :
"trying to use a destroyed object";
305 return native_getBeacons(this.nativeRef);
307 private native ArrayList<Beacon> native_getBeacons(
long _nativeRef);
310 public ArrayList<Eddystone> getEddystones()
312 assert !this.destroyed.get() :
"trying to use a destroyed object";
313 return native_getEddystones(this.nativeRef);
315 private native ArrayList<Eddystone> native_getEddystones(
long _nativeRef);
318 public ArrayList<Wifi> getWifis()
320 assert !this.destroyed.get() :
"trying to use a destroyed object";
321 return native_getWifis(this.nativeRef);
323 private native ArrayList<Wifi> native_getWifis(
long _nativeRef);
326 public ArrayList<ReferencePoint> getReferencePoints()
328 assert !this.destroyed.get() :
"trying to use a destroyed object";
329 return native_getReferencePoints(this.nativeRef);
331 private native ArrayList<ReferencePoint> native_getReferencePoints(
long _nativeRef);
334 public ArrayList<Venue> getVenues()
336 assert !this.destroyed.get() :
"trying to use a destroyed object";
337 return native_getVenues(this.nativeRef);
339 private native ArrayList<Venue> native_getVenues(
long _nativeRef);
342 public ArrayList<Zone> getZones()
344 assert !this.destroyed.get() :
"trying to use a destroyed object";
345 return native_getZones(this.nativeRef);
347 private native ArrayList<Zone> native_getZones(
long _nativeRef);