set Is Automatic Location Collection Enabled
fun setIsAutomaticLocationCollectionEnabled(isAutomaticLocationCollectionEnabled: Boolean): ERROR CLASS: Unresolved name: apply
This boolean sets whether Braze should automatically collect location (if the user permits). If set to true, location data will be collected once at the start of each session. If not specified or set to false, automatic location collection will be disabled.
Note: Integrating apps can manually track location via BrazeUser.setLastKnownLocation regardless of this setting.
Defaults to false.
Parameters
is Automatic Location Collection Enabled
flag for enabling automatic location collection