Returns the last known location of a user’s device. This method relies on the location client being used by other apps on the device for accuracy. If no other apps are receiving location updates, then the method returns the last known location. Returns null if a location is not available.
Sets the Tealium geolocation instance with geofences provided from a Tealium Config file (hosted with Tealium’s hosted data layer). It creates a custom URL in the following format: "https://tags.tiqcdn.com/dle/ACCOUNT/PROFILE/geofences.json".
The URL pointing to your hosted JSON file, such as geofences.json
Sets the accuracy of location updates and the update interval time for continuous tracking. Enabling pin-point location accuracy and frequent updates provides higher accuracy, but at the cost of more battery consumption. Enabling “block” accuracy requests location precision to within a city block, which is an accuracy of approximately 100 meters.