Utilities

class Utilities: Any

Constructors

Name Description
constructor()

CompanionObject

Utilities

class Utilities: Any

Methods

geoToDensityArea

fun geoToDensityArea(context: Context, coordinate: IALatLng, floorLevel: Int): IAGSAreaDensity?

Convert geographic coordinate to density area and density information

Parameters

Name Description
context: Context

application context

coordinate: IALatLng

targeted location coordinate

floorLevel: Int

targeted floor

ReturnValue

Name Description
IAGSAreaDensity?

Return null if currently there is no valid crowd density result or the geographic coordinate is not in any GroundSage area. Otherwise, return GroundSage area density info.