requestGeofences

abstract fun requestGeofences(latitude: Double, longitude: Double)

Requests a refresh of Braze Geofences for the specified GPS coordinate.

Note that Braze Geofences can be requested (either manually here or automatically by default) a max of 1 times per session. To be sure that this method has an effect, you should disable Braze Geofences from being automatically requested on session start in your configuration.

This method should be called after location permissions have be provided to the SDK and after a session has been started.

Parameters

latitude

A valid GPS latitude in range (-90, 90)

longitude

A valid GPS longitude in range (-180, 180)

See also