NIMChatroomEnterRequest Class Reference

Inherits from NSObject
Declared in NIMChatroomEnterRequest.h

Overview

进入聊天室请求

  roomId

聊天室Id

@property (nonatomic, copy) NSString *roomId

Discussion

聊天室Id

Declared In

NIMChatroomEnterRequest.h

  roomNickname

聊天室昵称

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

Discussion

聊天室昵称

上层可以自主设置在聊天室内的昵称,没有设置则使用用户本身的信息

Declared In

NIMChatroomEnterRequest.h

  roomAvatar

聊天室头像

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

Discussion

聊天室头像

上层可以自主设置在聊天室内的头像,没有设置则使用用户本身的信息

Declared In

NIMChatroomEnterRequest.h

  roomExt

本人的聊天室成员信息拓展字段,仅对当次进入有效

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

Discussion

本人的聊天室成员信息拓展字段,仅对当次进入有效

Declared In

NIMChatroomEnterRequest.h

  roomNotifyExt

聊天室事件通知拓展字段

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

Discussion

聊天室事件通知拓展字段

Declared In

NIMChatroomEnterRequest.h

  tags

登录标签,可以设置多个,json_array格式,例子:[“tag1”, “tag2”]

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

Discussion

登录标签,可以设置多个,json_array格式,例子:[“tag1”, “tag2”]

Declared In

NIMChatroomEnterRequest.h

  notifyTargetTags

登录登出通知的目标标签,是一个标签表达式,见TagCalculator和TagPattern

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

Discussion

登录登出通知的目标标签,是一个标签表达式,见TagCalculator和TagPattern

Declared In

NIMChatroomEnterRequest.h

  retryCount

聊天室重连次数,默认为三次

@property (nonatomic, assign) NSInteger retryCount

Discussion

聊天室重连次数,默认为三次

设置成 0 后一旦一次连接失败后,SDK 将不在重试。 APP 可以根据自己的需求进行设置

Declared In

NIMChatroomEnterRequest.h

  mode

聊天室独立模式

@property (nullable, nonatomic, strong) NIMChatroomIndependentMode *mode

Discussion

聊天室独立模式

默认为 nil,即聊天室登录需要依赖 IM 登录,只有 IM 登录后才能够登录聊天室。设置后可以在不依赖 IM 通道的情况下进行登录

Declared In

NIMChatroomEnterRequest.h

  loginAuthType

鉴权方式

@property (nonatomic, assign) NIMChatroomLoginAuthType loginAuthType

Discussion

鉴权方式

Declared In

NIMChatroomEnterRequest.h

  dynamicTokenHandler

动态token回调

@property (nonatomic, strong) NIMProvideChatroomDynamicTokenHandler dynamicTokenHandler

Discussion

动态token回调

Declared In

NIMChatroomEnterRequest.h

  loginExt

扩展字段

@property (nullable, nonatomic, strong) NSString *loginExt

Discussion

扩展字段

Declared In

NIMChatroomEnterRequest.h

  locationX

坐标x

@property (nonatomic, strong) NSDecimalNumber *locationX

Discussion

坐标x

Declared In

NIMChatroomEnterRequest.h

  locationY

坐标y

@property (nonatomic, strong) NSDecimalNumber *locationY

Discussion

坐标y

Declared In

NIMChatroomEnterRequest.h

  locationZ

坐标z

@property (nonatomic, strong) NSDecimalNumber *locationZ

Discussion

坐标z

Declared In

NIMChatroomEnterRequest.h

  distance

订阅的消息的距离

@property (nonatomic, strong) NSDecimalNumber *distance

Discussion

订阅的消息的距离

Declared In

NIMChatroomEnterRequest.h

  antispamBusinessId

对某些资料内容另外的反垃圾的业务ID

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

Discussion

对某些资料内容另外的反垃圾的业务ID

Declared In

NIMChatroomEnterRequest.h