RegisterInformation

data class RegisterInformation(    val cloudUrl: String,     val ccsConnectionRetryNb: Int? = null,     val ccsConnectionRetryDelay: Long? = null,     val id: Long = Random.nextLong(1000000, 9000000000000000),     var groups: ArrayList<String>? = null,     var subscribeTo: ArrayList<String>? = null,     val userData: JSONObject? = null)

Constructors

Link copied to clipboard
fun RegisterInformation(    cloudUrl: String,     ccsConnectionRetryNb: Int? = null,     ccsConnectionRetryDelay: Long? = null,     id: Long = Random.nextLong(1000000, 9000000000000000),     groups: ArrayList<String>? = null,     subscribeTo: ArrayList<String>? = null,     userData: JSONObject? = null)

Properties

Link copied to clipboard
val ccsConnectionRetryDelay: Long? = null

Delay in ms to initially wait before attempting a new reconnection to CCS. Then it is affected with a random factor of 0.5 (default value is 1000)

Link copied to clipboard
val ccsConnectionRetryNb: Int? = null

Number of retry on CCS connection (default value is Infinity)

Link copied to clipboard
val cloudUrl: String

Registration apizee cloud url

Link copied to clipboard
var groups: ArrayList<String>? = null

Presence groups the user agent will join on registration

Link copied to clipboard
val id: Long

Set a predefined id for the session instead of the cloud id or a random id

Link copied to clipboard
var subscribeTo: ArrayList<String>? = null

Presence groups the user agent will subscribe to on registration

Link copied to clipboard
val userData: JSONObject? = null

Set initial userData like photo, nickname...