NIMSignalingAcceptRequest Class Reference

Inherits from NSObject
Declared in NIMSignalingRequest.h

Overview

接受邀请请求

  channelId

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

@property (nonatomic, copy) NSString *channelId

Discussion

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

Declared In

NIMSignalingRequest.h

  accountId

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

@property (nonatomic, copy) NSString *accountId

Discussion

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

Declared In

NIMSignalingRequest.h

  requestId

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

@property (nonatomic, copy) NSString *requestId

Discussion

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

Declared In

NIMSignalingRequest.h

  offlineEnabled

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

@property (nonatomic, assign) BOOL offlineEnabled

Discussion

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

Declared In

NIMSignalingRequest.h

  acceptCustomInfo

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

@property (nullable, nonatomic, copy) NSString *acceptCustomInfo

Discussion

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

Declared In

NIMSignalingRequest.h

  autoJoin

是否加入,默认不打开,打开后后续参数uid、join_custom_info有效

@property (nonatomic, assign) BOOL autoJoin

Discussion

是否加入,默认不打开,打开后后续参数uid、join_custom_info有效

Declared In

NIMSignalingRequest.h

  uid

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

@property (nonatomic, assign) uint64_t uid

Discussion

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

Declared In

NIMSignalingRequest.h

  joinCustomInfo

加入频道的自定义扩展信息,将在加入频道通知中带给其他频道成员

@property (nullable, nonatomic, copy) NSString *joinCustomInfo

Discussion

加入频道的自定义扩展信息,将在加入频道通知中带给其他频道成员

Declared In

NIMSignalingRequest.h

  nertcChannelName

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

@property (nullable, nonatomic, copy) NSString *nertcChannelName

Discussion

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

Declared In

NIMSignalingRequest.h

  nertcTokenTtl

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

@property (nonatomic, assign) long nertcTokenTtl

Discussion

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

Declared In

NIMSignalingRequest.h