-
- All Implemented Interfaces:
public class OnlineLocation
Basic struct to hold location sharing data received from Pointr Cloud
-
-
Field Summary
Fields Modifier and Type Field Description private final IdentifierPair
identifierPair
private final String
userName
private final Location
location
private final double
orientation
private final long
serverTimestamp
-
Constructor Summary
Constructors Constructor Description OnlineLocation(IdentifierPair identifierPair, String userName, Location location, double orientation, long serverTimestamp)
-
Method Summary
Modifier and Type Method Description IdentifierPair
getIdentifierPair()
String
getUserName()
name of user for shared location Location
getLocation()
Shared location double
getOrientation()
Orientation for shared location long
getServerTimestamp()
Unix timestamp of shared location -
-
Constructor Detail
-
OnlineLocation
OnlineLocation(IdentifierPair identifierPair, String userName, Location location, double orientation, long serverTimestamp)
-
-
Method Detail
-
getIdentifierPair
IdentifierPair getIdentifierPair()
-
getUserName
String getUserName()
name of user for shared location
-
getLocation
Location getLocation()
Shared location
-
getOrientation
double getOrientation()
Orientation for shared location
-
getServerTimestamp
long getServerTimestamp()
Unix timestamp of shared location
-
-
-
-