MPPositionResult

open class MPPositionResult : MPPositionResultInterface

Constructors

Link copied to clipboard
open fun MPPositionResult()
Link copied to clipboard
open fun MPPositionResult(@NonNull point: MPPoint)
Link copied to clipboard
open fun MPPositionResult(@NonNull point: MPPoint, accuracy: Float)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: MPPoint,     accuracy: Float,     bearing: Float)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: MPPoint,     accuracy: Float,     bearing: Float,     floorIndex: Int)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: MPPoint,     accuracy: Float,     floorIndex: Int)

Functions

Link copied to clipboard
open fun getAccuracy(): Float
Get the estimated horizontal accuracy of this location, radial, in meters
Link copied to clipboard
open fun getPoint(): MPPoint
Gets the position, as a MPPoint
Link copied to clipboard
open fun getProvider(): MPPositionProvider
Gets the position provider that created this position result
Link copied to clipboard
open fun hasAccuracy(): Boolean
Checks if horizontal accuracy is available
Link copied to clipboard
open fun hasBearing(): Boolean
Checks if bearing is available
Link copied to clipboard
open 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
open 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 setFloorIndex(floor: Int)
Sets the floor
Link copied to clipboard
open fun setProvider(@Nullable provider: MPPositionProvider)
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
private open var androidLocation: Location
Link copied to clipboard
private open var bearing: Float
Link copied to clipboard
private open var floorIndex: Int