//sorisdk/com.iplateia.afplib/MatchState
MatchState
[androidJvm]
@Serializable
data class MatchState(val items: List<MatchInfo> = LinkedList(), val ttl: Long = 3600) : Parcelable
Represents the state of a match. It contains a list of recent matches until the TTL (Time To Live) expires.
Constructors
| MatchState | [androidJvm] constructor(items: List<MatchInfo> = LinkedList(), ttl: Long = 3600) |
Properties
| Name | Summary |
|---|---|
| items | [androidJvm] val items: List<MatchInfo> The list of match information. |
| ttl | [androidJvm] val ttl: Long = 3600 The time to live for the match state in seconds. |
Functions
| Name | Summary |
|---|---|
| add | [androidJvm] fun add(material: MatchInfo): MatchState |
| describeContents | [androidJvm] abstract fun describeContents(): Int |
| isDuplcateLast | [androidJvm] fun isDuplcateLast(name: String, type: Int): Boolean Checks if the last match is a duplicate of the given match. |
| writeToParcel | [androidJvm] abstract fun writeToParcel(p0: Parcel, p1: Int) |
