GeoPositionDto

@Serializable
@Xml(name = "GeoPosition")
data class GeoPositionDto(@PropertyElement(name = "siri:Longitude") val longitude: Double, @PropertyElement(name = "siri:Latitude") val latitude: Double) : Parcelable

Created by Michael Ruppen on 08.04.2024

Serializable and Parcelize annotation is both needed for compose navigation with custom types

Constructors

Link copied to clipboard
constructor(@PropertyElement(name = "siri:Longitude") longitude: Double, @PropertyElement(name = "siri:Latitude") latitude: Double)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)