Package com.mapsindoors.livesdk
Class CiscoDNAEntry
- java.lang.Object
-
- com.mapsindoors.livesdk.CiscoDNAEntry
-
- All Implemented Interfaces:
PositionResult
public class CiscoDNAEntry extends java.lang.Object implements PositionResult
-
-
Constructor Summary
Constructors Constructor Description CiscoDNAEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAccuracy()Get the estimated horizontal accuracy of this location, radial, in metersandroid.location.LocationgetAndroidLocation()ALocationwith the original data, if availablefloatgetBearing()Get the bearing, in degreesjava.lang.StringgetBuildingId()java.lang.StringgetDatasetId()java.lang.StringgetDeviceId()intgetFloor()Gets the floor (floor index)PointgetPoint()Gets the position, as aPointPositionProvidergetProvider()Gets the position provider that created this position resultintgetRssi()java.lang.StringgetTennantId()java.lang.StringgetTimestamp()java.lang.StringgetVenueId()booleanhasAccuracy()Checks if horizontal accuracy is availablebooleanhasBearing()Checks if bearing is availablebooleanhasFloor()Checks if floor info is availablevoidsetAccuracy(float v)Set the estimated horizontal accuracy of this location, radial, in metersvoidsetAndroidLocation(android.location.Location location)Sets theLocationorigin ofvoidsetBearing(float v)Set the bearing, in degreesvoidsetFloor(int i)Sets the floorvoidsetProvider(PositionProvider positionProvider)java.lang.StringtoString()
-
-
-
Method Detail
-
getPoint
@Nullable public Point getPoint()
Description copied from interface:PositionResultGets the position, as aPoint- Specified by:
getPointin interfacePositionResult- Returns:
- A
Point
-
hasFloor
public boolean hasFloor()
Description copied from interface:PositionResultChecks if floor info is availableIf true, the value returned by
PositionResult.getFloor()will be a valid one- Specified by:
hasFloorin interfacePositionResult- Returns:
-
getFloor
public int getFloor()
Description copied from interface:PositionResultGets the floor (floor index)The value returned is only valid if
trueis returned when callingPositionResult.hasFloor()- Specified by:
getFloorin interfacePositionResult- Returns:
-
setFloor
public void setFloor(int i)
Description copied from interface:PositionResultSets the floor- Specified by:
setFloorin interfacePositionResult
-
hasBearing
public boolean hasBearing()
Description copied from interface:PositionResultChecks if bearing is available- Specified by:
hasBearingin interfacePositionResult- Returns:
-
getBearing
public float getBearing()
Description copied from interface:PositionResultGet the bearing, in degrees- Specified by:
getBearingin interfacePositionResult- Returns:
-
setBearing
public void setBearing(float v)
Description copied from interface:PositionResultSet the bearing, in degrees- Specified by:
setBearingin interfacePositionResult
-
hasAccuracy
public boolean hasAccuracy()
Description copied from interface:PositionResultChecks if horizontal accuracy is available- Specified by:
hasAccuracyin interfacePositionResult- Returns:
-
getAccuracy
public float getAccuracy()
Description copied from interface:PositionResultGet the estimated horizontal accuracy of this location, radial, in meters- Specified by:
getAccuracyin interfacePositionResult- Returns:
-
setAccuracy
public void setAccuracy(float v)
Description copied from interface:PositionResultSet the estimated horizontal accuracy of this location, radial, in meters- Specified by:
setAccuracyin interfacePositionResult
-
getProvider
@Nullable public PositionProvider getProvider()
Description copied from interface:PositionResultGets the position provider that created this position result- Specified by:
getProviderin interfacePositionResult- Returns:
-
setProvider
public void setProvider(@Nullable PositionProvider positionProvider)- Specified by:
setProviderin interfacePositionResult
-
getAndroidLocation
@Nullable public android.location.Location getAndroidLocation()
Description copied from interface:PositionResultALocationwith the original data, if available- Specified by:
getAndroidLocationin interfacePositionResult- Returns:
- A
Locationornull
-
setAndroidLocation
public void setAndroidLocation(@Nullable android.location.Location location)Description copied from interface:PositionResultSets theLocationorigin of- Specified by:
setAndroidLocationin interfacePositionResult- Parameters:
location- ALocationornull
-
getTimestamp
public java.lang.String getTimestamp()
-
getDatasetId
public java.lang.String getDatasetId()
-
getVenueId
public java.lang.String getVenueId()
-
getBuildingId
public java.lang.String getBuildingId()
-
getTennantId
public java.lang.String getTennantId()
-
getRssi
public int getRssi()
-
getDeviceId
public java.lang.String getDeviceId()
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-