AutoCallout

class AutoCallout(localizedContext: Context, sharedPreferences: SharedPreferences)

Constructors

Link copied to clipboard
constructor(localizedContext: Context, sharedPreferences: SharedPreferences)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun updateLocation(userGeometry: UserGeometry, gridState: GridState): List<PositionedString>

updateLocation is called whenever the current location changes. It works through the auto callout logic to determine which (if any) callouts need to be made. This is based on the iOS app logic.