NIMSignalManagerDelegate Protocol Reference

Conforms to NSObject
Declared in NIMSignalManagerProtocol.h

Overview

Common Audio and video signaling callbacks

– nimSignalingOnlineNotifyEventType:response:

Online notifications

- (void)nimSignalingOnlineNotifyEventType:(NIMSignalingEventType)eventType response:(NIMSignalingNotifyInfo *)notifyResponse

Parameters

eventType

Signaling event type

notifyResponse

signaling notification callback data

Discussion

Online notifications

signaling related online notifications NIMSignalingEventType: 1-8 are valid

Declared In

NIMSignalManagerProtocol.h

– nimSignalingMultiClientSyncNotifyEventType:response:

Online multi-device notifications

- (void)nimSignalingMultiClientSyncNotifyEventType:(NIMSignalingEventType)eventType response:(NIMSignalingNotifyInfo *)notifyResponse

Parameters

eventType

Signaling event type, accept or reject notifications

notifyResponse

signaling notification callback data

Discussion

Online multi-device notifications

signaling related online notifications For example, if you accept the invitation on the mobile phone, the PC client will receive the notification synchronously. NIMSignalingEventType 5-6 is valid

Declared In

NIMSignalManagerProtocol.h

– nimSignalingOfflineNotify:

Offline notifications

- (void)nimSignalingOfflineNotify:(NSArray<NIMSignalingNotifyInfo*> *)notifyResponse

Parameters

notifyResponse

signaling notification callback data

Discussion

Offline notifications

signaling related offline notifications The user must turn on the switch of the saving offline messages when calling the relevant interface. If the user has already received the message, the notification will be marked as read by the server, and the message will not be received. NIMSignalingEventType 1-7 are valid

Declared In

NIMSignalManagerProtocol.h

– nimSignalingChannelsSyncNotify:

Channel list sync notification

- (void)nimSignalingChannelsSyncNotify:(NSArray<NIMSignalingChannelDetailedInfo*> *)notifyResponse

Parameters

notifyResponse

signaling notification callback data

Discussion

Channel list sync notification

After login or relogin, the account will get notified of the channel list that has not been logged out for synchronization; if the account is not in any channel, the synchronization notification will also be returned, and the list is empty.

Declared In

NIMSignalManagerProtocol.h

– nimSignalingMembersSyncNotify:

Room member sync notification

- (void)nimSignalingMembersSyncNotify:(NIMSignalingChannelDetailedInfo *)notifyResponse

Parameters

notifyResponse

signaling notification callback data

Discussion

Room member sync notification

Synchronizes changes in the member list in the channel. Currently, this interface is a timed interface, which is synchronized every 2 minutes, and will be reported only when members change. Due to some special circumstances, the member does not actively call the leaveChannel interface before leaving or disconnecting, so that there is no corresponding leave notification event for the member’s leaving, and the callback interface notifies the user.

Declared In

NIMSignalManagerProtocol.h