DITRemotePeerV2

@interface DITRemotePeerV2 : NSObject

Represents a remote peer in the Ditto network.

  • Address to contact this peer via Ditto Bus.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DITAddress *_Nonnull address;
  • Advertising identifier of the remote peer.

    Declaration

    Objective-C

    @property (nonatomic, readonly) uint32_t networkID;
  • 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

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull deviceName;
  • os

    Operating system of the remote peer.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull os;
  • 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

    Objective-C

    @property (nonatomic, readonly) UInt8 queryOverlapGroup;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;