5#import <Foundation/Foundation.h>
6#import <NERtcSDK/NERtcSDK.h>
7#import <NIMSDK/NIMSDK.h>
12NS_ASSUME_NONNULL_BEGIN
14@protocol NEGroupCallKitDelegate <NSObject>
24- (void)onGroupEndCallWithReason:(NSString *)reason withCallId:(NSString *)callId;
27- (void)onGroupHangupWithReason:(NSString *)reason;
30- (void)onGroupError:(NSError *)error;
33- (void)onGroupRemoteUserOpenVideo:(uint64_t)uid withOpen:(BOOL)isOpen;
39@property(nonatomic, strong, readonly) NSString *
callId;
47 completion:(nullable void (^)(NSError *_Nullable error,
54 completion:(nullable void (^)(NSError *_Nullable error,
61 completion:(nullable void (^)(NSError *_Nullable error,
68 completion:(nullable void (^)(NSError *_Nullable error,
75 completion:(nullable void (^)(NSError *_Nullable error,
83 (nullable void (^)(NSError *_Nullable error,
90 completion:(nullable void (^)(NSError *_Nullable error,
99- (void)addDelegate:(id<NEGroupCallKitDelegate>)delegate;
103- (void)removeDelegate:(id<NEGroupCallKitDelegate>)delegate;
NSString * callId
定义 NEGroupCallKit.h:39
instancetype sharedInstance()
定义 NEGroupCallKit.m:59