NIMSDK-iOS
载入中...
搜索中...
未找到
<NIMSDKConfigDelegate>协议 参考

#import <NIMSDKConfig.h>

类 <NIMSDKConfigDelegate> 继承关系图:

构造函数

(BOOL) - shouldIgnoreNotification:
 
(BOOL) - shouldIgnoreMessage:
 
(void) - onChatroomCdnTrack:forRoom:
 
(NSString *) - tokenCallback:
 
(nullable NSString *) - dynamicTokenForAccount:
 
(nullable NSString *) - dynamicLoginExtForAccount:
 
(nullable NSString *) - dynamicChatRoomTokenForAccount:room:appKey:
 
(nullable NSString *) - dynamicChatRoomLoginExtForAccount:room:appKey:
 

详细描述

SDK 配置委托

函数文档

◆ dynamicChatRoomLoginExtForAccount:room:appKey:

- (nullable NSString *) dynamicChatRoomLoginExtForAccount: (NSString *)  account
room: (NSString *)  roomId
appKey: (NSString *)  appKey 
optional

SDK通过该回调方法从App获取聊天室LoginExt

◆ dynamicChatRoomTokenForAccount:room:appKey:

- (nullable NSString *) dynamicChatRoomTokenForAccount: (NSString *)  account
room: (NSString *)  roomId
appKey: (NSString *)  appKey 
optional

采用动态Token登录聊天室时,SDK通过该回调方法从App获取聊天室登陆Token

◆ dynamicLoginExtForAccount:

- (nullable NSString *) dynamicLoginExtForAccount: (NSString *)  account
optional

SDK通过该回调方法从App获取LoginExt

◆ dynamicTokenForAccount:

- (nullable NSString *) dynamicTokenForAccount: (NSString *)  account
optional

采用动态Token登录时,SDK通过该回调方法从App获取Token

◆ onChatroomCdnTrack:forRoom:

- (void) onChatroomCdnTrack: (NIMChatroomCdnTrackInfo *)  trackInfo
forRoom: (NSString *)  roomID 
optional

聊天室cdn统计回调,回调时间间隔为NIMSDKConfig.cdnTrackInterval

◆ shouldIgnoreMessage:

- (BOOL) shouldIgnoreMessage: (NIMMessage *)  message
optional

是否需要忽略某条消息

参数
message消息对象
返回
是否忽略

◆ shouldIgnoreNotification:

- (BOOL) shouldIgnoreNotification: (NIMNotificationObject *)  notification
optional

是否需要忽略某个通知

参数
notification通知对象
返回
是否忽略

◆ tokenCallback:

- (NSString *) tokenCallback: (const NSString *)  url
optional

该协议的文档由以下文件生成: