setUserLocation

fun setUserLocation(lat: Double, lng: Double)

Deprecated

This class is deprecated since 12.0.00 and will be removed in 14.00.00

Replace with

import com.moengage.core.analytics.MoEAnalyticsHelper
MoEAnalyticsHelper#setUserLocation

Track user location as a User Attribute

Parameters

lat

The latitude of the user location

lng

The longitude of the user location