Companion

object Companion

Functions

setPriorityForQueryOverlapGroup
Link copied to clipboard
fun setPriorityForQueryOverlapGroup(priority: DittoConnectionPriority, queryOverlapGroup: UByte, ditto: DittoBase)

Configure the priority with which Ditto should connect to any peers in the given Query Overlap Group. If the priority is set to high, an end-to-end encrypted multihop connection will be established wherever it is not possible to establish a direct connection.

setQueryOverlapGroup
Link copied to clipboard
fun setQueryOverlapGroup(queryOverlapGroup: UByte, ditto: DittoBase)

Set a Query Overlap Group for the local Ditto instance. Query Overlap Groups are an optional feature that can be used to group peers based on their anticipated queries, and set relative connection priorities amongst these groups.