TripId

class TripId(val id: String) : Parcelable

An ID to uniquely identify a trip. Typically an API would use a TripId as a way to expose a trip. Therefore, there should be a mechanism that can encode/decode a trip to/from a TripId.

Constructors

Link copied to clipboard
fun TripId(id: String)

Properties

Link copied to clipboard
val id: String

Inherited functions

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