NIMChatroomEnterRequest Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMChatroomEnterRequest.h |
roomId
Chat room ID
@property (nonatomic, copy) NSString *roomId
Discussion
Chat room ID
Declared In
NIMChatroomEnterRequest.h
roomNickname
Chat room nickname
@property (nullable, nonatomic, copy) NSString *roomNickname
Discussion
Chat room nickname
The upper layer can set the nickname in the chat room. If unspecified, the user display name will be used
Declared In
NIMChatroomEnterRequest.h
roomAvatar
the avatar of a chat room
@property (nullable, nonatomic, copy) NSString *roomAvatar
Discussion
the avatar of a chat room
The upper layer can set an avatar for the chat room. If unspecified, the user info will be used
Declared In
NIMChatroomEnterRequest.h
roomExt
Extension field for the current user in the chat room. The field is valid only for the current entry.
@property (nullable, nonatomic, copy) NSString *roomExt
Discussion
Extension field for the current user in the chat room. The field is valid only for the current entry.
Declared In
NIMChatroomEnterRequest.h
roomNotifyExt
Extension field for event notifications
@property (nullable, nonatomic, copy) NSString *roomNotifyExt
Discussion
Extension field for event notifications
Declared In
NIMChatroomEnterRequest.h
tags
Login tags. Multiple tags in JsonArray are supported. For example, [“tag1”, “tag2”].
@property (nullable, nonatomic, copy) NSString *tags
Discussion
Login tags. Multiple tags in JsonArray are supported. For example, [“tag1”, “tag2”].
Declared In
NIMChatroomEnterRequest.h
notifyTargetTags
Target tags for login and logout notifications. It is a tag expression. For more information, see TagCalculator and TagPattern
@property (nullable, nonatomic, copy) NSString *notifyTargetTags
Discussion
Target tags for login and logout notifications. It is a tag expression. For more information, see TagCalculator and TagPattern
Declared In
NIMChatroomEnterRequest.h
retryCount
The number of chat room reconnections. The default setting is three times
@property (nonatomic, assign) NSInteger retryCount
Discussion
The number of chat room reconnections. The default setting is three times
If the value is set to 0 and a connection fails, the SDK will not retry. The setting of your application can be configured based on the business requirements
Declared In
NIMChatroomEnterRequest.h
mode
The independent login mode for chat rooms
@property (nullable, nonatomic, strong) NIMChatroomIndependentMode *mode
Discussion
The independent login mode for chat rooms
The default value is nil, chat room login is based on IM login. A user must log in IM first and join the chat room. If the independent mode is enabled, a user can log in to a chat room without relying on the IM channel
Declared In
NIMChatroomEnterRequest.h
loginAuthType
Authentication
@property (nonatomic, assign) NIMChatroomLoginAuthType loginAuthType
Discussion
Authentication
Declared In
NIMChatroomEnterRequest.h
dynamicTokenHandler
Dynamic token callback
@property (nonatomic, strong) NIMProvideChatroomDynamicTokenHandler dynamicTokenHandler
Discussion
Dynamic token callback
Declared In
NIMChatroomEnterRequest.h
loginExt
Extension field
@property (nullable, nonatomic, strong) NSString *loginExt
Discussion
Extension field
Declared In
NIMChatroomEnterRequest.h
locationX
X coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationX
Discussion
X coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
locationY
Y coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationY
Discussion
Y coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
locationZ
Z coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationZ
Discussion
Z coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
distance
Distance of the subscribed message
@property (nonatomic, strong) NSDecimalNumber *distance
Discussion
Distance of the subscribed message
Declared In
NIMChatroomEnterRequest.h
antispamBusinessId
Business for anti-spam
@property (nullable, nonatomic, copy) NSString *antispamBusinessId
Discussion
Business for anti-spam
Declared In
NIMChatroomEnterRequest.h