LocationInfo

@JsonClass(generateAdapter = true)
data class LocationInfo(@Json(name = "uri") val geoUri: String? = null, @Json(name = "description") val description: String? = null)

Constructors

Link copied to clipboard
fun LocationInfo(@Json(name = "uri") geoUri: String? = null, @Json(name = "description") description: String? = null)

Properties

Link copied to clipboard
val description: String? = null

Required. A description of the location e.g. 'Big Ben, London, UK', or some kind of content description for accessibility e.g. 'location attachment'.

Link copied to clipboard
val geoUri: String? = null

Required. RFC5870 formatted geo uri 'geo:latitude,longitude;u=uncertainty' like 'geo:40.05,29.24;u=30' representing this location.