13 #import <UIKit/UIKit.h>
15 #import <AppKit/AppKit.h>
18 NS_ASSUME_NONNULL_BEGIN
42 - (int)joinChannelExByToken:(NSString* _Nullable)token
46 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
83 - (int)joinChannelExByToken:(NSString* _Nullable)token
84 channelId:(NSString* _Nonnull)channelId
85 userAccount:(NSString* _Nonnull)userAccount
88 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
112 leaveChannelBlock:(
void(^ _Nullable)(
AgoraChannelStats* _Nonnull stat))leaveChannelBlock;
126 - (int)muteRemoteAudioStreamEx:(NSUInteger)uid
147 - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config
174 - (int)setRemoteRenderModeEx:(NSUInteger)uid
176 mirror:(AgoraVideoMirrorMode)mirror
195 - (int)muteRemoteVideoStreamEx:(NSUInteger)uid
214 enabled:(BOOL)enabled
238 - (int)setRemoteVideoStreamEx:(NSUInteger)uid
272 - (
AgoraUserInfo* _Nullable)getUserInfoByUserAccountEx:(NSString* _Nonnull)userAccount
274 withError:(AgoraErrorCode* _Nullable)error;
288 - (
AgoraUserInfo* _Nullable)getUserInfoByUidEx:(NSUInteger)uid
290 withError:(AgoraErrorCode* _Nullable)error;
301 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
322 - (int)enableLoopbackRecordingEx:(BOOL)enabled
326 - (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId
327 category:(NSString * _Nullable)category
328 event:(NSString * _Nullable)event
329 label:(NSString * _Nullable)label
330 value:(NSInteger)value
333 - (int)enableAudioVolumeIndicationEx:(NSInteger)interval
334 smooth:(NSInteger)smooth
335 reportVad:(BOOL)reportVad
362 - (int)setRemoteVoicePositionEx:(NSUInteger)uid
383 - (int)setRemoteUserSpatialAudioParamsEx:(NSUInteger)uid
384 params:(AgoraSpatialAudioParams* _Nonnull)params
447 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
448 reliable:(BOOL)reliable
449 ordered:(BOOL)ordered
461 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
489 - (int)sendStreamMessageEx:(NSInteger)streamId
490 data:(NSData * _Nonnull)data
511 - (int)addPublishStreamUrlEx:(NSString * _Nonnull)url
512 transcodingEnabled:(BOOL)transcodingEnabled
516 NS_ASSUME_NONNULL_END