UserData

class UserData(data: JSONObject)

The user data is used to define information specific to a contact. For example, information of contact environment, his webrtc capabilities or his profile information.

Parameters

data

user data object

Constructors

Link copied to clipboard
fun UserData(data: JSONObject)

Functions

Link copied to clipboard
fun get(prop: String): String?

Return user data property value

Link copied to clipboard
fun setProp(prop: String, value: String): UserData

Set user data property

Link copied to clipboard
fun setProps(props: JSONObject?): UserData

Set user data properties

Link copied to clipboard
open override fun toString(): String