NIMSDK-iOS
载入中...
搜索中...
未找到
NIMSignalingJoinAndAcceptRequest类 参考

#import <NIMSignalingRequest.h>

类 NIMSignalingJoinAndAcceptRequest 继承关系图:

属性

NSString * channelId
 
NSString * accountId
 
NSString * requestId
 
BOOL offlineEnabled
 
NSString * customInfo
 
uint64_t uid
 
NSString * nertcChannelName
 
long nertcTokenTtl
 
NSString * nertcJoinRoomQueryParamMap
 

详细描述

接受邀请请求

属性说明

◆ accountId

- (NSString*) accountId
readwritenonatomiccopy

对方,被邀请人,必填 (邀请者的账号)

◆ channelId

- (NSString*) channelId
readwritenonatomiccopy

频道id,必填 (对应的频道id)

◆ customInfo

- (NSString*) customInfo
readwritenonatomiccopy

额外字段,非必填(被邀请者附加的自定义信息,透传给邀请者)

◆ nertcChannelName

- (NSString*) nertcChannelName
readwritenonatomiccopy

nertc房间名,填了则会返回token

◆ nertcJoinRoomQueryParamMap

- (NSString*) nertcJoinRoomQueryParamMap
readwritenonatomiccopy

nertc加入房间的请求参数,可以转成json , 非必填

◆ nertcTokenTtl

- (long) nertcTokenTtl
readwritenonatomicassign

nertc的token有效期,表示token的过期时间,单位秒,选填,默认10分钟,会回填

◆ offlineEnabled

- (BOOL) offlineEnabled
readwritenonatomicassign

是否存离线,YES表示存离线,NO表示不存离线,非必填,默认为NO

◆ requestId

- (NSString*) requestId
readwritenonatomiccopy

邀请唯一标识(用于标识持续呼叫),必填(邀请者邀请的请求id,用于被邀请者回传request_id_作对应的回应操作),长度必须小于128,超出会报参数错误

◆ uid

- (uint64_t) uid
readwritenonatomicassign

自己在频道中对应的uid,大于零有效,无效时服务器会分配随机唯一的uid


该类的文档由以下文件生成: