set Last Known Location
fun setLastKnownLocation(latitude: Double, longitude: Double, altitude: Double? = null, accuracy: Double? = null, verticalAccuracy: Double? = null)
Sets the last known location for the user. This method works independently of com.braze.configuration.BrazeConfig.Builder.setIsAutomaticLocationCollectionEnabled.
If both automatic collection and manual tracking are enabled, be aware that location events from both sources may be logged.
Latitude and longitude are required; altitude and accuracy may be set to null.
Parameters
latitude
The latitude of the User's location in degrees (valid values are between -90 to 90 degrees)
longitude
The longitude of the User's location (valid values are between -180 to 180 degrees)
altitude
The altitude of the User's location in meters above the WGS 84 reference ellipsoid
accuracy
The horizontal accuracy of the User's location in meters
vertical Accuracy
The vertical accuracy of the User's location in meters