MPPositionResultInterface

Functions

Link copied to clipboard
abstract fun getAccuracy(): Float
Get the estimated horizontal accuracy of this location, radial, in meters
Link copied to clipboard
A android.location.Location with the original data, if available
Link copied to clipboard
abstract fun getBearing(): Float
Get the bearing, in degrees
Link copied to clipboard
abstract fun getFloorIndex(): Int
Gets the floor (floor index) The value returned is only valid if true is returned when calling hasFloor
Link copied to clipboard
abstract fun getPoint(): MPPoint
Gets the position, as a MPPoint
Link copied to clipboard
Gets the position provider that created this position result
Link copied to clipboard
abstract fun hasAccuracy(): Boolean
Checks if horizontal accuracy is available
Link copied to clipboard
abstract fun hasBearing(): Boolean
Checks if bearing is available
Link copied to clipboard
abstract fun hasFloor(): Boolean
Checks if floor info is available If true, the value returned by getFloorIndex will be a valid one
Link copied to clipboard
abstract fun setAccuracy(accuracy: Float)
Set the estimated horizontal accuracy of this location, radial, in meters
Link copied to clipboard
abstract fun setAndroidLocation(@Nullable location: Location)
Sets the android.location.Location origin of
Link copied to clipboard
abstract fun setBearing(bearing: Float)
Set the bearing, in degrees
Link copied to clipboard
abstract fun setFloorIndex(floor: Int)
Sets the floor
Link copied to clipboard
abstract fun setProvider(@Nullable provider: MPPositionProvider)