NIMSDK-iOS
|
#import <Foundation/Foundation.h>
类 | |
protocol | <NIMSignalManagerDelegate> |
protocol | <NIMSignalManager> |
类型定义 | |
typedef void(^ | NIMSignalingJoinChannelBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
typedef void(^ | NIMSignalingCallBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
typedef void(^ | NIMSignalingAcceptBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
typedef void(^ | NIMSignalingOperationBlock) (NSError *__nullable error) |
typedef void(^ | NIMSignalingQueryChannelBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
typedef void(^ | NIMSignalingOptimizationCallBlock) (NSError *__nullable error, NIMSignalingChannelCompositionInfo *__nullable response) |
枚举 | |
enum | NIMSignalingChannelType { NIMSignalingChannelTypeAudio = 1 , NIMSignalingChannelTypeVideo = 2 , NIMSignalingChannelTypeCustom = 3 } |
enum | NIMSignalingEventType { NIMSignalingEventTypeClose = 1 , NIMSignalingEventTypeJoin = 2 , NIMSignalingEventTypeInvite = 3 , NIMSignalingEventTypeCancelInvite = 4 , NIMSignalingEventTypeReject = 5 , NIMSignalingEventTypeAccept = 6 , NIMSignalingEventTypeLeave = 7 , NIMSignalingEventTypeContrl = 8 } |
变量 | |
NS_ASSUME_NONNULL_BEGIN typedef void(^ | NIMSignalingCreateChannelBlock )(NSError *__nullable error, NIMSignalingChannelInfo *__nullable response) |
typedef void(^ NIMSignalingAcceptBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
接受回调
error | 错误信息,如果成功,error 为 nil |
response | 频道相关信息 |
typedef void(^ NIMSignalingCallBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
呼叫回调
error | 错误信息,如果成功,error 为 nil |
response | 频道相关信息 |
typedef void(^ NIMSignalingJoinChannelBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
加入频道回调
error | 错误信息,如果成功,error 为 nil |
response | 频道相关信息 |
typedef void(^ NIMSignalingOperationBlock) (NSError *__nullable error) |
信令操作回调
error | 错误信息,如果成功,error 为 nil |
typedef void(^ NIMSignalingOptimizationCallBlock) (NSError *__nullable error, NIMSignalingChannelCompositionInfo *__nullable response) |
呼叫回调
error | 错误信息,如果成功,error 为 nil |
response | 频道相关信息 |
typedef void(^ NIMSignalingQueryChannelBlock) (NSError *__nullable error, NIMSignalingChannelDetailedInfo *__nullable response) |
频道查询回调
error | 错误信息,如果成功,error 为 nil |
NS_ASSUME_NONNULL_BEGIN typedef void(^ NIMSignalingCreateChannelBlock) (NSError *__nullable error, NIMSignalingChannelInfo *__nullable response) | ( | NSError *__nullable | error, |
NIMSignalingChannelInfo *__nullable | response | ||
) |
创建频道回调
error | 错误信息,如果成功,error 为 nil |
response | 频道相关信息 |