RpcRequestWrapper

data class RpcRequestWrapper(val method: String, val params: HMSDataChannelRequestParams, val id: String = IdHelper.makeCallSignalId(), val jsonRpc: String = "2.0")

Constructors

Link copied to clipboard
fun RpcRequestWrapper(method: String, params: HMSDataChannelRequestParams, id: String = IdHelper.makeCallSignalId(), jsonRpc: String = "2.0")

Properties

Link copied to clipboard
@SerializedName(value = "id")
val id: String
Link copied to clipboard
@SerializedName(value = "jsonrpc")
val jsonRpc: String
Link copied to clipboard
@SerializedName(value = "method")
val method: String
Link copied to clipboard
@SerializedName(value = "params")
val params: HMSDataChannelRequestParams