9 #import <Foundation/Foundation.h>
42 - (void)liveKit:(
AgoraLiveKit *_Nonnull)kit didOccurWarning:(AgoraWarningCode)warningCode;
51 - (void)liveKit:(
AgoraLiveKit *_Nonnull)kit didOccurError:(AgoraErrorCode)errorCode;
60 - (void)liveKit:(
AgoraLiveKit *_Nonnull)kit didJoinChannel:(NSString *_Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
66 - (void)liveKitDidLeaveChannel:(
AgoraLiveKit *_Nonnull)kit;
75 - (void)liveKit:(
AgoraLiveKit *_Nonnull)kit didRejoinChannel:(NSString *_Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
100 - (void)liveKit:(
AgoraLiveKit * _Nonnull)kit tokenPrivilegeWillExpire:(NSString * _Nonnull)token;
119 - (void)liveKitConnectionDidInterrupted:(
AgoraLiveKit *_Nonnull)kit;
128 - (void)liveKitConnectionDidLost:(
AgoraLiveKit *_Nonnull)kit;
143 __attribute__((visibility(
"default")))
@interface AgoraLiveKit : NSObject
148 @property (weak, nonatomic) _Nullable id<AgoraLiveDelegate> delegate;
154 + (NSString *_Nonnull)getSdkVersion;
166 + (instancetype _Nonnull)sharedLiveKitWithAppId:(NSString *_Nonnull)appId;
203 - (int)joinChannelByToken:(NSString *_Nullable)token
204 channelId:(NSString *_Nonnull)channelId
224 - (int)renewToken:(NSString*_Nonnull)token;
233 - (int)startPreview:(
VIEW_CLASS *_Nonnull)view
242 - (int)sendCustomReportMessage:(NSString * _Nullable)
id
243 category:(NSString * _Nullable)category
244 event:(NSString * _Nullable)
event
245 label:(NSString * _Nullable)label
246 value:(NSInteger)value
247 connectionId:(NSUInteger)connectionId;
249 - (int)setLogLevel:(LogLevel)level;