DittoPeer

  • Address to contact this peer via Ditto Bus.

  • The peer key is a unique identifier for a given peer, equal to or derived from the cryptographic public key used to authenticate it.

    NOTE: This will be be empty when a peer is not updated to the latest version of the SDK.

  • Currently active connections of the peer.

  • The human-readable device name of the remote peer. This defaults to the hostname but can be manually set by the application developer of the other peer. It is not necessarily unique.

  • Indicates whether the peer is connected to Ditto Cloud.

  • An optional Query Overlap Group which can be assigned to group certain types of peers together and configure relative connection priorities. Defaults to 0 if not set.

  • os

    Operating system of the remote peer.

  • The Ditto SDK version the peer is running with.

  • Indicates whether the peer is compatible with the current peer.

  • Initializes a new peer.

Codable