9#import <Foundation/Foundation.h>
10#import "JRTCClientCallback.h"
11#import "JRTCClientLoginParam.h"
12#import "JRTCClientConstants.h"
13#import "JRTCClientInitParam.h"
27@property (nonatomic, readonly, copy) NSString* _Nullable
userId;
32@property (nonatomic, copy, getter=getDisplayName) NSString* _Nullable
displayName;
37@property (nonatomic, copy, getter=getAppKey) NSString* _Nullable
appKey;
42@property (nonatomic, copy, getter=getServer) NSString* _Nullable
server;
47@property (nonatomic, copy, getter=getAppName) NSString* _Nullable
appName;
76- (void)setForeground:(
bool)foreground;
90- (bool)login:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password;
105- (bool)login:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password loginParam:(
JRTCClientLoginParam* _Nullable)loginParam;
114- (bool)relogin:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password;
135- (int)sendOnlineMessage:(NSString* _Nonnull)message userId:(NSString* _Nonnull)userId;
156- (bool)getUploadUrl:(NSString *_Nullable)fileId;
164@property (nonatomic, assign, readonly)
int pathId;
167@property (nonatomic, copy, readonly) NSString * _Nonnull host;
170@property (nonatomic, assign, readonly)
int port;
173@property (nonatomic, copy, readonly) NSString *otherHost;
176@property (nonatomic, assign, readonly)
int otherPort;
183- (void)connect:(NSString *_Nonnull)otherHost port:(
int)otherPort;
188- (bool)send:(NSString *_Nonnull)content;
JRTCClientState
Definition: JRTCClientConstants.h:17
JRTCP2PSessionState
Definition: JRTCClientConstants.h:33
登录登出管理
Definition: JRTCClient.h:22
JRTCP2PSession *_Nonnull createP2PSession()
NSString *_Nullable appName
Definition: JRTCClient.h:47
NSString *_Nullable appKey
Definition: JRTCClient.h:37
NSString *_Nullable userId
Definition: JRTCClient.h:27
NSString *_Nullable server
Definition: JRTCClient.h:42
NSString *_Nullable displayName
Definition: JRTCClient.h:32
JRTCClientState state
Definition: JRTCClient.h:52
初始化参数
Definition: JRTCClientInitParam.h:18
登录参数
Definition: JRTCClientLoginParam.h:18
P2P会话类
Definition: JRTCClient.h:162