WaitTime

data class WaitTime(estimatedWaitTimeSeconds: Int, estimatedWaitTimeMessage: String?, generatedAt: ZonedDateTime, waitTimeLocalizationInfo: WaitTimeLocalizationInfo?) : Parcelable

Contains information about an estimated wait time for a Virtual Practice Region, or a Virtual Visit.

Constructors

WaitTime
Link copied to clipboard
fun WaitTime(estimatedWaitTimeSeconds: Int, estimatedWaitTimeMessage: String? = null, generatedAt: ZonedDateTime, waitTimeLocalizationInfo: WaitTimeLocalizationInfo? = null)

Functions

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

Properties

estimatedWaitTimeMessage
Link copied to clipboard
val estimatedWaitTimeMessage: String? = null
A message that is shown in the waiting room.
estimatedWaitTimeSeconds
Link copied to clipboard
val estimatedWaitTimeSeconds: Int
The estimated wait time in seconds of the practice region, or when in the virtual visit waiting room.
generatedAt
Link copied to clipboard
val generatedAt: ZonedDateTime
The date and time at which the estimate was generated.
waitTimeLocalizationInfo
Link copied to clipboard
val waitTimeLocalizationInfo: WaitTimeLocalizationInfo? = null
A nullable information that allows localization of estimated wait time.