CallInfo

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).

Properties

Link copied to clipboard
Link copied to clipboard
val cid: String
Link copied to clipboard
val dir: String
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
val num: String
Link copied to clipboard
val since: Long?
Link copied to clipboard
Link copied to clipboard
val sub: Int?
Link copied to clipboard
val tone: String?

Functions

Link copied to clipboard
fun json(): JSONObject