-
- All Implemented Interfaces:
-
android.os.Parcelable
public class Location extends LocationAware implements Parcelable
Base location model which can represent both indoor and outdoor locations Encapsulates spatial coordinates (either indoor space of lat/lon), level, site, building information
-
-
Method Summary
Modifier and Type Method Description Double
getLat()
Getter for latitude in (-90,90) coordinate space Double
getLon()
Getter for longitude in (-90,90) coordinate space GeoPoint
getGeoPoint()
Site
getSite()
Getter for Site of location Building
getBuilding()
Getter for Building of location Level
getLevel()
Getter for level information of location final Location
getLocation()
Boolean
isValid()
Location validity checker Checks for x, y, level, site and building validity Boolean
isGeoValid()
Location geo-coordinates validity checker String
toString()
Boolean
equals(Object other)
Integer
hashCode()
-
-
Method Detail
-
getGeoPoint
GeoPoint getGeoPoint()
-
getBuilding
Building getBuilding()
Getter for Building of location
-
getLocation
final Location getLocation()
-
isValid
Boolean isValid()
Location validity checker Checks for x, y, level, site and building validity
-
isGeoValid
Boolean isGeoValid()
Location geo-coordinates validity checker
-
-
-
-