11 #ifndef DOXYGEN_SKIP_THIS
12 extern NSString* __nonnull
const kSKWTrue;
15 extern NSString* __nonnull
const kSKWFalse;
20 extern NSString* __nonnull
const kSKWConnectionTypeData;
23 extern NSString* __nonnull
const kSKWConnectionTypeMedia;
28 extern NSString* __nonnull
const kSKWPeerSerializationBinary;
31 extern NSString* __nonnull
const kSKWPeerSerializationBinaryUtf8;
33 extern NSString* __nonnull
const kSKWPeerSerializationJson;
35 extern NSString* __nonnull
const kSKWPeerSerializationNone;
36 #endif // !DOXYGEN_SKIP_THIS
75 #ifndef DOXYGEN_SKIP_THIS
76 SKW_PEER_EVENT_REACHABILITY,
78 #endif // !DOXYGEN_SKIP_THIS
113 @property (nonatomic, readonly) NSString* __nullable
identity;
120 @property (nonatomic, readonly) NSDictionary* __nullable
connections;
151 #ifndef DOXYGEN_SKIP_THIS
152 - (nonnull instancetype)init NS_UNAVAILABLE;
153 #endif // !DOXYGEN_SKIP_THIS
181 - (instancetype __nullable)initWithOptions:(
SKWPeerOption* __nullable)options;
216 - (instancetype __nullable)initWithId:(NSString* __nullable)peerId options:(
SKWPeerOption* __nullable)options NS_DESIGNATED_INITIALIZER;
414 - (void)
reconnect __attribute__((deprecated("recreate a Peer instance instead")));
454 - (void)listAllPeers:(
void (^ __nullable)(NSArray * __nullable))callback;
485 - (void)fetchPeerExistsWithPeerId:(NSString* __nonnull)peerId success:(
void (^ __nonnull)(BOOL))successCallback error:(
void (^ __nullable)(NSString* __nonnull))errorCallback;
487 #ifndef DOXYGEN_SKIP_THIS
488 - (
SKWConnection* __nullable)getConnectionWithId:(NSString* __nonnull)peerId connectionId:(NSString* __nonnull)connectionId;
489 #endif // !DOXYGEN_SKIP_THIS
538 - (
SKWRoom* __nullable)joinRoomWithName:(NSString* __nonnull)roomName options:(
SKWRoomOption* __nonnull)option;