Location

interface Location

Use LocationManager to get data based on user location

Types

Link copied to clipboard
Listener for changes in nearby properties
Link copied to clipboard
interface PositionAnimationListener : Consumer<Position>
Listener for position animation to show user position movement.
Link copied to clipboard
interface PositionChangeListener : Consumer<Position>
Listener for position change.
Link copied to clipboard
Listener to show/hide user position

Functions

Link copied to clipboard
Add listener for changes in nearby properties
Link copied to clipboard
add listener to get position for animation purpose.
Link copied to clipboard
Get updates when user position changes
Link copied to clipboard
add listener to get update about whether position should be visible or not
Link copied to clipboard
abstract fun enableSnapBlueDotToRoute(enable: Boolean)
When enabled, if the user is in navigation mode and the blue dot is nearby the routing path, it will attempt to snap the blue dot to the routing path
Link copied to clipboard
abstract fun getCurrentUserZone(): Zone
Get a Zone where the user currently located.
Link copied to clipboard
abstract fun getLastKnownPosition(): Position
get last known user position which may be null.
Link copied to clipboard
get last info about whether position should be visible or not.
Link copied to clipboard
Get list of nearby entities
Link copied to clipboard
Gets HashSet of nearby properties
Link copied to clipboard
Get a quick fuzzy location.
Link copied to clipboard
abstract fun hasInit(): Boolean
Check if current user position exists or not.
Link copied to clipboard
abstract fun heading(): CoreApi.Heading
Get access to heading-related information and utilities
Link copied to clipboard
Link copied to clipboard
Checks if the user is currently located on the currently selected property.
Link copied to clipboard