MPPositionResult

open class MPPositionResult : PositionResult

Constructors

Link copied to clipboard
open fun MPPositionResult()
Link copied to clipboard
open fun MPPositionResult(@NonNull point: Point)
Link copied to clipboard
open fun MPPositionResult(@NonNull point: Point, accuracy: Float)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: Point,     accuracy: Float,     bearing: Float)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: Point,     accuracy: Float,     bearing: Float,     floor: Int)
Link copied to clipboard
open fun MPPositionResult(    @NonNull point: Point,     accuracy: Float,     floor: 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 getFloor(): Int
Gets the floor (floor index) The value returned is only valid if true is returned when calling hasFloor
Link copied to clipboard
@Nullable
open fun getPoint(): Point
Gets the position, as a Point
Link copied to clipboard
@Nullable
open fun getProvider(): PositionProvider
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 getFloor 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
open fun setFloor(floor: Int)
Sets the floor
Link copied to clipboard
open fun setProvider(@Nullable provider: PositionProvider)
Link copied to clipboard
@NonNull
open fun toString(): String

Properties

Link copied to clipboard
@get:Nullable
private open var androidLocation: Location
Link copied to clipboard
private open var bearing: Float