9#import <Foundation/Foundation.h>
10#import "JRTCClientCallback.h"
11#import "JRTCClientLoginParam.h"
12#import "JRTCClientConstants.h"
13#import "JRTCClientInitParam.h"
14#import "JRTCRequestFileUploadParam.h"
15#import "JRTCCompleteFileUploadParam.h"
29@property (nonatomic, readonly, copy) NSString* _Nullable
userId;
34@property (nonatomic, copy, getter=getDisplayName) NSString* _Nullable
displayName;
39@property (nonatomic, copy, getter=getAppKey) NSString* _Nullable
appKey;
44@property (nonatomic, copy, getter=getServer) NSString* _Nullable
server;
49@property (nonatomic, copy, getter=getAppName) NSString* _Nullable
appName;
78- (void)setForeground:(
bool)foreground;
92- (bool)login:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password;
107- (bool)login:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password loginParam:(
JRTCClientLoginParam* _Nullable)loginParam;
116- (bool)relogin:(NSString* _Nonnull)userId password:(NSString* _Nonnull)password;
137- (int)sendOnlineMessage:(NSString* _Nonnull)message userId:(NSString* _Nonnull)userId;
158- (bool)getUploadUrl:(NSString *_Nullable)fileId DEPRECATED_MSG_ATTRIBUTE("该方法即将废弃,请用#requestFileUploadInfo:requestFileUploadParam:代替");
170- (int)requestFileUploadInfo:(NSString *_Nonnull)serialId requestFileUploadParam:(JRTCRequestFileUploadParam *_Nonnull)requestFileUploadParam;
183- (int)completeFileUpload:(NSString *_Nonnull)serialId completeFileUploadParam:(JRTCCompleteFileUploadParam *_Nonnull)completeFileUploadParam;
195- (int)getUploadFileInfo:(NSString *_Nonnull)serialId extraInfo:(NSDictionary<NSString *,
id> *_Nullable)extraInfo;
203@property (nonatomic, assign, readonly)
int pathId;
206@property (nonatomic, copy, readonly) NSString * _Nonnull host;
209@property (nonatomic, assign, readonly)
int port;
212@property (nonatomic, copy, readonly) NSString * _Nullable otherHost;
215@property (nonatomic, assign, readonly)
int otherPort;
222- (void)connect:(NSString *_Nonnull)otherHost port:(
int)otherPort;
227- (bool)send:(NSString *_Nonnull)content;
JRTCClientState
Definition: JRTCClientConstants.h:17
JRTCP2PSessionState
Definition: JRTCClientConstants.h:33
登录登出管理
Definition: JRTCClient.h:24
JRTCP2PSession *_Nonnull createP2PSession()
NSString *_Nullable appName
Definition: JRTCClient.h:49
NSString *_Nullable appKey
Definition: JRTCClient.h:39
NSString *_Nullable userId
Definition: JRTCClient.h:29
NSString *_Nullable server
Definition: JRTCClient.h:44
NSString *_Nullable displayName
Definition: JRTCClient.h:34
JRTCClientState state
Definition: JRTCClient.h:54
初始化参数
Definition: JRTCClientInitParam.h:18
登录参数
Definition: JRTCClientLoginParam.h:18
P2P会话类
Definition: JRTCClient.h:201