Package com.iizix.geo
Class DeviceLocation
java.lang.Object
com.iizix.geo.DeviceLocation
Class holding the location of a device.
- Author:
- Christopher Mindus
- Constructor Details- DeviceLocationConstructor.- Parameters:
- device- The device UUID.
- location- The location.
- Throws:
- NullPointerException- If deviceId or location is null.
 
 
- Method Details- getLocationRetrieves the location of the device.- Returns:
- The location.
 
- getDeviceUUIDReturns the device UUID if possible.- Returns:
- The device UUID, "browser" or "unknown".
 
- equalsChecks for equality.
- hashCodepublic int hashCode()Hash code.
- toStringString representation of the class.