| Constructor and Description |
|---|
LocationEvent(double latitude,
double longitude,
boolean foreground,
com.google.common.base.Optional<String> sessionId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getLatitude() |
double |
getLongitude() |
com.google.common.base.Optional<String> |
getSessionId() |
EventType |
getType() |
int |
hashCode() |
boolean |
isForeground() |
static LocationEvent |
parseJSON(String json) |
static LocationEvent |
parseJSONfromBytes(byte[] bytes) |
byte[] |
serializeToJSONBytes() |
String |
toString() |
public LocationEvent(double latitude,
double longitude,
boolean foreground,
com.google.common.base.Optional<String> sessionId)
public double getLatitude()
public double getLongitude()
public boolean isForeground()
public com.google.common.base.Optional<String> getSessionId()
public static LocationEvent parseJSONfromBytes(byte[] bytes)
public static LocationEvent parseJSON(String json)
public byte[] serializeToJSONBytes()
Copyright © 2016. All rights reserved.