Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder()

Functions

Link copied to clipboard
open fun altitude(@Nullable altitude: Double): Location.Builder
The altitude of the location in meters above the WGS84 reference ellipsoid.
Link copied to clipboard
open fun bearing(@Nullable bearing: Double): Location.Builder
The GNSS bearing, in degrees.
Link copied to clipboard
open fun bearingAccuracy(@Nullable bearingAccuracy: Double): Location.Builder
The estimated bearing accuracy of this location, in degrees.
Link copied to clipboard
open fun build(): Location
Link copied to clipboard
open fun extra(@Nullable extra: Value): Location.Builder
Additional information
Link copied to clipboard
open fun floor(@Nullable floor: Long): Location.Builder
The logical floor of the building.
Link copied to clipboard
open fun horizontalAccuracy(@Nullable horizontalAccuracy: Double): Location.Builder
The estimated horizontal accuracy of this location, radial, in meters.
Link copied to clipboard
open fun latitude(latitude: Double): Location.Builder
The north–south position of a point on the Earth's surface, in decimal degrees (WGS84).
Link copied to clipboard
open fun longitude(longitude: Double): Location.Builder
The east–west position of a point on the Earth's surface, in decimal degrees (WGS84).
Link copied to clipboard
open fun monotonicTimestamp(@Nullable monotonicTimestamp: Long): Location.Builder
The monotonic timestamp, in nanoseconds.
Link copied to clipboard
open fun source(@Nullable source: String): Location.Builder
The source that provides this location
Link copied to clipboard
The instantaneous speed of the device, measured in meters/second over ground.
Link copied to clipboard
open fun speedAccuracy(@Nullable speedAccuracy: Double): Location.Builder
The estimated speed accuracy of this location, in meters/second.
Link copied to clipboard
open fun timestamp(timestamp: Long): Location.Builder
The UTC time of this location fix, in milliseconds since epoch (January 1, 1970).
Link copied to clipboard
open fun verticalAccuracy(@Nullable verticalAccuracy: Double): Location.Builder
The estimated vertical accuracy of this location, in meters.