public static class AnalyticsContext.Location extends ValueMap
| Constructor and Description | 
|---|
| Location() | 
| Modifier and Type | Method and Description | 
|---|---|
| double | latitude() | 
| double | longitude() | 
| AnalyticsContext.Location | putLatitude(double latitude)Set the latitude for the location of the device. | 
| AnalyticsContext.Location | putLongitude(double longitude)Set the longitude for the location of the device. | 
| AnalyticsContext.Location | putSpeed(double speed)Set the speed of the device. | 
| AnalyticsContext.Location | putValue(java.lang.String key,
        java.lang.Object value)Helper method to be able to chain put methods. | 
| double | speed() | 
clear, containsKey, containsValue, entrySet, equals, get, getBoolean, getChar, getDouble, getEnum, getFloat, getInt, getList, getLong, getString, getValueMap, getValueMap, hashCode, isEmpty, keySet, put, putAll, remove, size, toJsonObject, toString, toStringMap, valuespublic AnalyticsContext.Location putValue(java.lang.String key, java.lang.Object value)
ValueMappublic AnalyticsContext.Location putLatitude(double latitude)
public double latitude()
public AnalyticsContext.Location putLongitude(double longitude)
public double longitude()
public AnalyticsContext.Location putSpeed(double speed)
public double speed()