PositionResult

interface PositionResult

Functions

Link copied to clipboard
abstract fun getAccuracy(): Float
Get the estimated horizontal accuracy of this location, radial, in meters
Link copied to clipboard
@Nullable
abstract fun getAndroidLocation(): Location
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 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
abstract fun getPoint(): Point
Gets the position, as a Point
Link copied to clipboard
@Nullable
abstract fun getProvider(): PositionProvider
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 getFloor 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 setFloor(floor: Int)
Sets the floor
Link copied to clipboard
abstract fun setProvider(@Nullable provider: PositionProvider)

Inheritors

Link copied to clipboard
Link copied to clipboard