IAGSManagerListener

interface IAGSManagerListener: Any

A interface that defines methods that GroundSage instances call on their listener to handle callback from server.

Methods

onUpdateDensity

abstract fun onUpdateDensity(venueDensity: IAGSVenueDensity?)

Tells the listener that the SDK received the density update from the server. This callback will be triggered if user enter any region.

Parameters

Name Description
venueDensity: IAGSVenueDensity?

: Venue density information

ReturnValue

Name Description
Unit

onEnterDensityRegion

abstract fun onEnterDensityRegion(region: IARegion)

Tells the listener that you entered a region

Parameters

Name Description
region: IARegion

: The region related to event.

ReturnValue

Name Description
Unit

onExitDensityRegion

abstract fun onExitDensityRegion(region: IARegion)

Tells the listener that you exited a region

Parameters

Name Description
region: IARegion

: The region related to event.

ReturnValue

Name Description
Unit