Call Info
data class CallInfo(val cid: String, val num: String, val name: String?, val state: String, val dir: String, val sub: Int?, val since: Long?, val cause: String?, val hold: Boolean, val tone: String?)(source)
A call as clients see it (protocol §5 Call). tone: "busy" | "congestion" | "ended", the tone Android's own phone app would play for how the call ended; sent only with state "ended".
Constructors
Link copied to clipboard
constructor(cid: String, num: String, name: String?, state: String, dir: String, sub: Int?, since: Long?, cause: String?, hold: Boolean, tone: String?)
constructor(cid: String, num: String, name: String?, state: String, dir: String, sub: Int?, since: Long?, cause: String?, hold: Boolean)
Without tone (the constructor of 1.2.6 and older, kept for code built against it).