ARPointOfInterestManager

A point of interest manager that renders points of interest in the AR scene.

Properties

Link copied to clipboard
abstract var isFixedSize: Boolean

Whether every POI is scaled with its distance to the camera so it keeps a constant apparent size on screen.

Link copied to clipboard
Link copied to clipboard
abstract var lookAtCamera: Boolean

Whether every POI continuously rotates to face the camera.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val touchedPois: Flow<PointOfInterest>

Functions

Link copied to clipboard
abstract fun addPoi(poi: PointOfInterest): Boolean
Link copied to clipboard
abstract fun addPois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun filterByTag(tag: String): Boolean
Link copied to clipboard
abstract fun filterByTags(tags: Collection<String>, matchMode: TagMatchMode): Boolean
Link copied to clipboard
abstract fun getPois(): Set<PointOfInterest>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun hideAllPois(): Boolean
Link copied to clipboard
abstract fun hidePoi(poi: PointOfInterest): Boolean
abstract fun hidePoi(id: Int): Boolean
Link copied to clipboard
abstract fun hidePois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun removeFilters(): Boolean
Link copied to clipboard
abstract fun removePoi(poi: PointOfInterest): Boolean
Link copied to clipboard
abstract fun removePois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun selectPoi(poi: PointOfInterest): Boolean

Selects the given point of interest.

abstract fun selectPoi(id: Int): Boolean

Selects the point of interest with the given identifier.

Link copied to clipboard

Sets the ratio applied to every POI's distance to the camera when isFixedSize is enabled, controlling its apparent on-screen size.

Link copied to clipboard
abstract fun showAllPois(): Boolean
Link copied to clipboard
abstract fun showPoi(poi: PointOfInterest): Boolean
abstract fun showPoi(id: Int): Boolean
Link copied to clipboard
abstract fun showPois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun unselectAllPois(): Boolean
Link copied to clipboard
abstract fun unselectPoi(): Boolean
abstract fun unselectPoi(poi: PointOfInterest): Boolean
abstract fun unselectPoi(id: Int): Boolean