35 public abstract android.graphics.Bitmap
getImage(Integer maxTextureSize);
340 public abstract ArrayList<ReferencePoint> getReferencePoints();
374 private static final class CppProxy
extends Sublocation
376 private final long nativeRef;
377 private final AtomicBoolean destroyed =
new AtomicBoolean(
false);
379 private CppProxy(
long nativeRef)
381 if (nativeRef == 0)
throw new RuntimeException(
"nativeRef is zero");
382 this.nativeRef = nativeRef;
385 private native
void nativeDestroy(
long nativeRef);
386 public void _djinni_private_destroy()
388 boolean destroyed = this.destroyed.getAndSet(
true);
389 if (!destroyed) nativeDestroy(this.nativeRef);
391 protected void finalize() throws
java.lang.Throwable
393 _djinni_private_destroy();
400 public android.graphics.Bitmap getImage(Integer maxTextureSize)
402 assert !this.destroyed.get() :
"trying to use a destroyed object";
403 return native_getImage(this.nativeRef, maxTextureSize);
405 private native android.graphics.Bitmap native_getImage(
long _nativeRef, Integer maxTextureSize);
410 assert !this.destroyed.get() :
"trying to use a destroyed object";
411 return native_globalToLocal(this.nativeRef, globalPoint);
418 assert !this.destroyed.get() :
"trying to use a destroyed object";
419 return native_localToGlobal(this.nativeRef, localPoint);
421 private native GlobalPoint native_localToGlobal(
long _nativeRef, LocationPoint localPoint);
424 public Graph getGraph(String tag)
426 assert !this.destroyed.get() :
"trying to use a destroyed object";
427 return native_getGraph(this.nativeRef, tag);
429 private native Graph native_getGraph(
long _nativeRef, String tag);
432 public Venue getVenueById(
int id)
434 assert !this.destroyed.get() :
"trying to use a destroyed object";
435 return native_getVenueById(this.nativeRef,
id);
437 private native Venue native_getVenueById(
long _nativeRef,
int id);
440 public Zone getZoneById(
int id)
442 assert !this.destroyed.get() :
"trying to use a destroyed object";
443 return native_getZoneById(this.nativeRef,
id);
445 private native Zone native_getZoneById(
long _nativeRef,
int id);
450 assert !this.destroyed.get() :
"trying to use a destroyed object";
451 return native_getId(this.nativeRef);
453 private native
int native_getId(
long _nativeRef);
456 public int getLocation()
458 assert !this.destroyed.get() :
"trying to use a destroyed object";
459 return native_getLocation(this.nativeRef);
461 private native
int native_getLocation(
long _nativeRef);
464 public String getName()
466 assert !this.destroyed.get() :
"trying to use a destroyed object";
467 return native_getName(this.nativeRef);
469 private native String native_getName(
long _nativeRef);
472 public float getWidth()
474 assert !this.destroyed.get() :
"trying to use a destroyed object";
475 return native_getWidth(this.nativeRef);
477 private native
float native_getWidth(
long _nativeRef);
480 public float getHeight()
482 assert !this.destroyed.get() :
"trying to use a destroyed object";
483 return native_getHeight(this.nativeRef);
485 private native
float native_getHeight(
long _nativeRef);
488 public Float getAltitude()
490 assert !this.destroyed.get() :
"trying to use a destroyed object";
491 return native_getAltitude(this.nativeRef);
493 private native Float native_getAltitude(
long _nativeRef);
496 public float getAzimuth()
498 assert !this.destroyed.get() :
"trying to use a destroyed object";
499 return native_getAzimuth(this.nativeRef);
501 private native
float native_getAzimuth(
long _nativeRef);
504 public GlobalPoint getOriginPoint()
506 assert !this.destroyed.get() :
"trying to use a destroyed object";
507 return native_getOriginPoint(this.nativeRef);
509 private native GlobalPoint native_getOriginPoint(
long _nativeRef);
512 public String getLevelId()
514 assert !this.destroyed.get() :
"trying to use a destroyed object";
515 return native_getLevelId(this.nativeRef);
517 private native String native_getLevelId(
long _nativeRef);
520 public String getExternalId()
522 assert !this.destroyed.get() :
"trying to use a destroyed object";
523 return native_getExternalId(this.nativeRef);
525 private native String native_getExternalId(
long _nativeRef);
528 public String getBuildingName()
530 assert !this.destroyed.get() :
"trying to use a destroyed object";
531 return native_getBuildingName(this.nativeRef);
533 private native String native_getBuildingName(
long _nativeRef);
536 public ArrayList<Beacon> getBeacons()
538 assert !this.destroyed.get() :
"trying to use a destroyed object";
539 return native_getBeacons(this.nativeRef);
541 private native ArrayList<Beacon> native_getBeacons(
long _nativeRef);
544 public ArrayList<Eddystone> getEddystones()
546 assert !this.destroyed.get() :
"trying to use a destroyed object";
547 return native_getEddystones(this.nativeRef);
549 private native ArrayList<Eddystone> native_getEddystones(
long _nativeRef);
552 public ArrayList<Wifi> getWifis()
554 assert !this.destroyed.get() :
"trying to use a destroyed object";
555 return native_getWifis(this.nativeRef);
557 private native ArrayList<Wifi> native_getWifis(
long _nativeRef);
560 public ArrayList<ReferencePoint> getReferencePoints()
562 assert !this.destroyed.get() :
"trying to use a destroyed object";
563 return native_getReferencePoints(this.nativeRef);
565 private native ArrayList<ReferencePoint> native_getReferencePoints(
long _nativeRef);
568 public ArrayList<Venue> getVenues()
570 assert !this.destroyed.get() :
"trying to use a destroyed object";
571 return native_getVenues(this.nativeRef);
573 private native ArrayList<Venue> native_getVenues(
long _nativeRef);
576 public ArrayList<Zone> getZones()
578 assert !this.destroyed.get() :
"trying to use a destroyed object";
579 return native_getZones(this.nativeRef);
581 private native ArrayList<Zone> native_getZones(
long _nativeRef);