CBLPeerInfo

@interface CBLPeerInfo : NSObject

Represents information about a peer in the multipeer mesh network.

  • The peer identifier.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CBLPeerID *_Nonnull peerID;
  • The peer’s TLS certificate.

    This is only available after the peer has been authenticated during the replication connection process.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) SecCertificateRef certificate;
  • Indicates whether the peer is currently online (visible) or offline.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL online;
  • The current replication status for this peer.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CBLReplicatorStatus *_Nonnull replicatorStatus;
  • A list of the peer’s current neighboring peers.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<CBLPeerID *> *_Nonnull neighborPeers;
  • Unavailable

    Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;