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 float
getAccuracy()
Get the estimated horizontal accuracy of this location, radial, in metersandroid.location.Location
getAndroidLocation()
ALocation
with the original data, if availablefloat
getBearing()
Get the bearing, in degreesjava.lang.String
getBuildingId()
java.lang.String
getDatasetId()
java.lang.String
getDeviceId()
int
getFloor()
Gets the floor (floor index)Point
getPoint()
Gets the position, as aPoint
PositionProvider
getProvider()
Gets the position provider that created this position resultint
getRssi()
java.lang.String
getTennantId()
java.lang.String
getTimestamp()
java.lang.String
getVenueId()
boolean
hasAccuracy()
Checks if horizontal accuracy is availableboolean
hasBearing()
Checks if bearing is availableboolean
hasFloor()
Checks if floor info is availablevoid
setAccuracy(float v)
Set the estimated horizontal accuracy of this location, radial, in metersvoid
setAndroidLocation(android.location.Location location)
Sets theLocation
origin ofvoid
setBearing(float v)
Set the bearing, in degreesvoid
setFloor(int i)
Sets the floorvoid
setProvider(PositionProvider positionProvider)
java.lang.String
toString()
-
-
-
Method Detail
-
getPoint
@Nullable public Point getPoint()
Description copied from interface:PositionResult
Gets the position, as aPoint
- Specified by:
getPoint
in interfacePositionResult
- Returns:
- A
Point
-
hasFloor
public boolean hasFloor()
Description copied from interface:PositionResult
Checks if floor info is availableIf true, the value returned by
PositionResult.getFloor()
will be a valid one- Specified by:
hasFloor
in interfacePositionResult
- Returns:
-
getFloor
public int getFloor()
Description copied from interface:PositionResult
Gets the floor (floor index)The value returned is only valid if
true
is returned when callingPositionResult.hasFloor()
- Specified by:
getFloor
in interfacePositionResult
- Returns:
-
setFloor
public void setFloor(int i)
Description copied from interface:PositionResult
Sets the floor- Specified by:
setFloor
in interfacePositionResult
-
hasBearing
public boolean hasBearing()
Description copied from interface:PositionResult
Checks if bearing is available- Specified by:
hasBearing
in interfacePositionResult
- Returns:
-
getBearing
public float getBearing()
Description copied from interface:PositionResult
Get the bearing, in degrees- Specified by:
getBearing
in interfacePositionResult
- Returns:
-
setBearing
public void setBearing(float v)
Description copied from interface:PositionResult
Set the bearing, in degrees- Specified by:
setBearing
in interfacePositionResult
-
hasAccuracy
public boolean hasAccuracy()
Description copied from interface:PositionResult
Checks if horizontal accuracy is available- Specified by:
hasAccuracy
in interfacePositionResult
- Returns:
-
getAccuracy
public float getAccuracy()
Description copied from interface:PositionResult
Get the estimated horizontal accuracy of this location, radial, in meters- Specified by:
getAccuracy
in interfacePositionResult
- Returns:
-
setAccuracy
public void setAccuracy(float v)
Description copied from interface:PositionResult
Set the estimated horizontal accuracy of this location, radial, in meters- Specified by:
setAccuracy
in interfacePositionResult
-
getProvider
@Nullable public PositionProvider getProvider()
Description copied from interface:PositionResult
Gets the position provider that created this position result- Specified by:
getProvider
in interfacePositionResult
- Returns:
-
setProvider
public void setProvider(@Nullable PositionProvider positionProvider)
- Specified by:
setProvider
in interfacePositionResult
-
getAndroidLocation
@Nullable public android.location.Location getAndroidLocation()
Description copied from interface:PositionResult
ALocation
with the original data, if available- Specified by:
getAndroidLocation
in interfacePositionResult
- Returns:
- A
Location
ornull
-
setAndroidLocation
public void setAndroidLocation(@Nullable android.location.Location location)
Description copied from interface:PositionResult
Sets theLocation
origin of- Specified by:
setAndroidLocation
in interfacePositionResult
- Parameters:
location
- ALocation
ornull
-
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:
toString
in classjava.lang.Object
-
-