HMSConfig

data class HMSConfig @JvmOverloads() constructor(userName: String, authtoken: String, metadata: String, initEndpoint: String)

Information about which call to join, under what name and the authentication for it.

Parameters

userName

the name which should be displayed to peers on joining.

authtoken

authentication token with the server. Security and Tokens for details.

metadata

any additional information you'd like to specify for the peer.

initEndpoint

a link to your own server's endpoint.

Constructors

HMSConfig
Link copied to clipboard
fun HMSConfig(userName: String, authtoken: String, metadata: String = "", initEndpoint: String = cDefaultInitEndpoint)
the name which should be displayed to peers on joining.

Properties

authtoken
Link copied to clipboard
val authtoken: String
authentication token with the server.
initEndpoint
Link copied to clipboard
val initEndpoint: String
a link to your own server's endpoint.
metadata
Link copied to clipboard
var metadata: String
any additional information you'd like to specify for the peer.
userName
Link copied to clipboard
val userName: String
the name which should be displayed to peers on joining.