DittoRemotePeerV2
public class DittoRemotePeerV2 : Identifiable, Equatable, Hashable
Represents a remote peer in the Ditto network.
-
Declaration
Swift
public var id: UInt32 { get }
-
Address to contact this peer via Ditto Bus.
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 }
-
Operating system of the remote peer.
Declaration
Swift
public var os: String { get }
-
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.
Declaration
Swift
@available(*, deprecated, message: "Query overlap groups have been phased out, this property always returns 0.") public var queryOverlapGroup: UInt8 { get }
-
Declaration
Swift
public static func == (lhs: DittoRemotePeerV2, rhs: DittoRemotePeerV2) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)