DITRemotePeerV2

@interface DITRemotePeerV2 : NSObject

Represents a remote peer in the Ditto network.

  • Unique identifier referring to this peer in the mesh.

    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;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;