DittoRemotePeerV2

public class DittoRemotePeerV2

Represents a remote peer in the Ditto network.

  • Unique identifier referring to this peer in the mesh.

    Declaration

    Swift

    public var address: DittoAddress { get }
  • Advertising identifier of the remote peer.

    Declaration

    Swift

    public var networkID: UInt32 { get }
  • 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.

    Declaration

    Swift

    public var deviceName: String { get }
  • os

    Operating system of the remote peer.

    Declaration

    Swift

    public var os: String { get }
  • An optional mesh role which can be assigned to group certain types of peers together and influence mesh connection priorities. Defaults to 0 if not set.

    Declaration

    Swift

    public var meshRole: UInt8 { get }