IBrazeLocationApi

Functions

Link copied to clipboard
abstract fun initWithContext(context: Context, allowedProviders: EnumSet<LocationProviderName>, appConfigurationProvider: BrazeConfigurationProvider)

Initialize the object with some external variables. This function should be called immediately after the object is created and should be called only once.

Link copied to clipboard
abstract fun requestSingleLocationUpdate(manualLocationUpdateCallback: (location: IBrazeLocation) -> Unit): Boolean

Requests a location fix for the session on the device.

Inheritors

Link copied to clipboard