DittoConnect

data class DittoConnect(    var tcpServers: MutableSet<String> = mutableSetOf(),     var websocketUrls: MutableSet<String> = mutableSetOf(),     var retryIntervalMs: Long = 5000) : DittoConnect, Cloneable

Specific servers that Ditto should attempt to connect to.

TCP servers are specified as "host:port". Websocket URLs take the form "wss://hydra.ditto.live".

Please refer to the documentation on Ditto's website for configuring cloud or client/server scenarios.

Constructors

Link copied to clipboard
fun DittoConnect(    tcpServers: MutableSet<String> = mutableSetOf(),     websocketUrls: MutableSet<String> = mutableSetOf(),     retryIntervalMs: Long = 5000)

Functions

Link copied to clipboard
open override fun clone(): DittoConnect
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Properties

Link copied to clipboard
open override var retryIntervalMs: Long = 5000
Link copied to clipboard
open override var tcpServers: MutableSet<String>
Link copied to clipboard
open override var websocketUrls: MutableSet<String>
Link copied to clipboard
var wifiDirectLeader: String? = null
Link copied to clipboard
var wifiDirectScanner: WifiDirectPlatformPeerListener? = null