34 public abstract android.graphics.Bitmap
getImage(Integer maxTextureSize);
294 public abstract ArrayList<ReferencePoint> getReferencePoints();
323 private static final class CppProxy
extends Sublocation
325 private final long nativeRef;
326 private final AtomicBoolean destroyed =
new AtomicBoolean(
false);
328 private CppProxy(
long nativeRef)
330 if (nativeRef == 0)
throw new RuntimeException(
"nativeRef is zero");
331 this.nativeRef = nativeRef;
334 private native
void nativeDestroy(
long nativeRef);
335 public void _djinni_private_destroy()
337 boolean destroyed = this.destroyed.getAndSet(
true);
338 if (!destroyed) nativeDestroy(this.nativeRef);
340 protected void finalize() throws
java.lang.Throwable
342 _djinni_private_destroy();
349 public android.graphics.Bitmap getImage(Integer maxTextureSize)
351 assert !this.destroyed.get() :
"trying to use a destroyed object";
352 return native_getImage(this.nativeRef, maxTextureSize);
354 private native android.graphics.Bitmap native_getImage(
long _nativeRef, Integer maxTextureSize);
359 assert !this.destroyed.get() :
"trying to use a destroyed object";
360 return native_globalToLocal(this.nativeRef, globalPoint);
367 assert !this.destroyed.get() :
"trying to use a destroyed object";
368 return native_localToGlobal(this.nativeRef, localPoint);
370 private native GlobalPoint native_localToGlobal(
long _nativeRef, LocationPoint localPoint);
373 public Graph getGraph(String tag)
375 assert !this.destroyed.get() :
"trying to use a destroyed object";
376 return native_getGraph(this.nativeRef, tag);
378 private native Graph native_getGraph(
long _nativeRef, String tag);
381 public Venue getVenueById(
int id)
383 assert !this.destroyed.get() :
"trying to use a destroyed object";
384 return native_getVenueById(this.nativeRef,
id);
386 private native Venue native_getVenueById(
long _nativeRef,
int id);
389 public Zone getZoneById(
int id)
391 assert !this.destroyed.get() :
"trying to use a destroyed object";
392 return native_getZoneById(this.nativeRef,
id);
394 private native Zone native_getZoneById(
long _nativeRef,
int id);
399 assert !this.destroyed.get() :
"trying to use a destroyed object";
400 return native_getId(this.nativeRef);
402 private native
int native_getId(
long _nativeRef);
405 public int getLocation()
407 assert !this.destroyed.get() :
"trying to use a destroyed object";
408 return native_getLocation(this.nativeRef);
410 private native
int native_getLocation(
long _nativeRef);
413 public String getName()
415 assert !this.destroyed.get() :
"trying to use a destroyed object";
416 return native_getName(this.nativeRef);
418 private native String native_getName(
long _nativeRef);
421 public float getWidth()
423 assert !this.destroyed.get() :
"trying to use a destroyed object";
424 return native_getWidth(this.nativeRef);
426 private native
float native_getWidth(
long _nativeRef);
429 public float getHeight()
431 assert !this.destroyed.get() :
"trying to use a destroyed object";
432 return native_getHeight(this.nativeRef);
434 private native
float native_getHeight(
long _nativeRef);
437 public Float getAltitude()
439 assert !this.destroyed.get() :
"trying to use a destroyed object";
440 return native_getAltitude(this.nativeRef);
442 private native Float native_getAltitude(
long _nativeRef);
445 public float getAzimuth()
447 assert !this.destroyed.get() :
"trying to use a destroyed object";
448 return native_getAzimuth(this.nativeRef);
450 private native
float native_getAzimuth(
long _nativeRef);
453 public GlobalPoint getOriginPoint()
455 assert !this.destroyed.get() :
"trying to use a destroyed object";
456 return native_getOriginPoint(this.nativeRef);
458 private native GlobalPoint native_getOriginPoint(
long _nativeRef);
461 public String getLevelId()
463 assert !this.destroyed.get() :
"trying to use a destroyed object";
464 return native_getLevelId(this.nativeRef);
466 private native String native_getLevelId(
long _nativeRef);
469 public String getExternalId()
471 assert !this.destroyed.get() :
"trying to use a destroyed object";
472 return native_getExternalId(this.nativeRef);
474 private native String native_getExternalId(
long _nativeRef);
477 public ArrayList<Beacon> getBeacons()
479 assert !this.destroyed.get() :
"trying to use a destroyed object";
480 return native_getBeacons(this.nativeRef);
482 private native ArrayList<Beacon> native_getBeacons(
long _nativeRef);
485 public ArrayList<Eddystone> getEddystones()
487 assert !this.destroyed.get() :
"trying to use a destroyed object";
488 return native_getEddystones(this.nativeRef);
490 private native ArrayList<Eddystone> native_getEddystones(
long _nativeRef);
493 public ArrayList<Wifi> getWifis()
495 assert !this.destroyed.get() :
"trying to use a destroyed object";
496 return native_getWifis(this.nativeRef);
498 private native ArrayList<Wifi> native_getWifis(
long _nativeRef);
501 public ArrayList<ReferencePoint> getReferencePoints()
503 assert !this.destroyed.get() :
"trying to use a destroyed object";
504 return native_getReferencePoints(this.nativeRef);
506 private native ArrayList<ReferencePoint> native_getReferencePoints(
long _nativeRef);
509 public ArrayList<Venue> getVenues()
511 assert !this.destroyed.get() :
"trying to use a destroyed object";
512 return native_getVenues(this.nativeRef);
514 private native ArrayList<Venue> native_getVenues(
long _nativeRef);
517 public ArrayList<Zone> getZones()
519 assert !this.destroyed.get() :
"trying to use a destroyed object";
520 return native_getZones(this.nativeRef);
522 private native ArrayList<Zone> native_getZones(
long _nativeRef);