LiveLocation

@Serializable
data class LiveLocation(val longitude: Double, val latitude: Double, val horizontalAccuracy: Meters? = null, val livePeriod: Seconds = INDEFINITE_LIVE_PERIOD, val heading: Degrees? = null, val proximityAlertRadius: Meters? = null) : Location, Livable, ProximityAlertable, Headed

Constructors

Link copied to clipboard
constructor(longitude: Double, latitude: Double, horizontalAccuracy: Meters? = null, livePeriod: Seconds = INDEFINITE_LIVE_PERIOD, heading: Degrees? = null, proximityAlertRadius: Meters? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "heading")
open override val heading: Degrees? = null
Link copied to clipboard
@SerialName(value = "horizontal_accuracy")
open override val horizontalAccuracy: Meters? = null
Link copied to clipboard
@SerialName(value = "latitude")
open override val latitude: Double
Link copied to clipboard
@SerialName(value = "live_period")
open override val livePeriod: Seconds

Period in Seconds

Link copied to clipboard
@SerialName(value = "longitude")
open override val longitude: Double
Link copied to clipboard
@SerialName(value = "proximity_alert_radius")
open override val proximityAlertRadius: Meters? = null