NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_qchat_public_def.h 文件参考
#include <stddef.h>
#include <cstdint>
#include "public_defines.h"

浏览源代码.

struct  NIMQChatBaseResp
 
struct  NIMQChatBusinessAntiSpamInfo
 
struct  NIMQChatChannelIDInfo
 
struct  NIMQChatMessageUpdateInfo
 
struct  NIMQChatMessageAntiSpamInfo
 
struct  NIMQChatPageInfo
 
struct  NIMQChatUnreadInfo
 
struct  NIMQChatServerUnreadInfo
 

枚举

enum  NIMQChatChannelViewMode { kNIMQChatChannelViewModePublic = 0 , kNIMQChatChannelViewModePrivate = 1 }
 
enum  NIMQChatChannelVisitorMode { kNIMQChatChannelVisitorModeVisible = 0 , kNIMQChatChannelVisitorModeInvisible = 1 , kNIMQChatChannelVisitorModeFollow = 2 }
 
enum  NIMQChatChannelSyncMode { kNIMQChatChannelSyncModeNoSync = 0 , kNIMQChatChannelSyncModeSync = 1 }
 
enum  NIMQChatSubscribeOpeType { kNIMQChatSubscribeOpeTypeSubscribe = 1 , kNIMQChatSubscribeOpeTypeUnsubscribe = 2 }
 
enum  NIMQChatSubscribeType {
  kNIMQChatSubscribeTypeUnknow = 0 , kNIMQChatSubscribeTypeMsg = 1 , kNIMQChatSubscribeTypeUnreadCount = 2 , kNIMQChatSubscribeTypeUnreadStatus = 3 ,
  kNIMQChatSubscribeTypeServerNotification = 4 , kNIMQChatSubscribeTypeTypingEvent = 5 , kNIMQChatSubscribeTypeVisitorMsg = 6 , kNIMQChatSubscribeTypeVisitorServerNotification = 7
}
 
enum  NIMQChatBanMemberOpeType { kNIMQChatBanMemberOpeTypeBan = 1 , kNIMQChatBanMemberOpeTypeUnban = 2 }
 圈组封禁操作类型 更多...
 
enum  NIMQChatSearchOrder { kNIMQChatSearchOrderAsc = 1 , kNIMQChatSearchOrderDesc = 2 }
 搜索排序顺序 更多...
 
enum  NIMQChatServerSearchSort { kNIMQChatServerSearchSortCustom = 0 , kNIMQChatServerSearchSortCreateTime = 1 , kNIMQChatServerSearchSortMemberCOunt = 2 }
 服务器搜索排序规则 更多...
 
enum  NIMQChatChannelSearchSort { kNIMQChatChannelSearchSortCustom = 0 , kNIMQChatChannelSearchSortCreateTime = 1 }
 频道搜索排序规则 更多...
 
enum  NIMQChatMessageSearchSort { kNIMQChatMessageSearchSortCreateTime = 1 }
 消息搜索排序规则 更多...
 

函数

static bool NIMQChatSubscribeTypeIsServer (NIMQChatSubscribeType type)
 
static bool NIMQChatSubscribeTypeIsChannel (NIMQChatSubscribeType type)
 
static bool NIMQChatSubscribeTypeIsVisitor (NIMQChatSubscribeType type)
 
static bool NIMQChatSubscribeTypeIsServerVisitor (NIMQChatSubscribeType type)
 
static bool NIMQChatSubscribeTypeIsChannelVisitor (NIMQChatSubscribeType type)
 
static bool NIMQChatSubscribeTypeIsMsg (NIMQChatSubscribeType type)
 

详细描述

作者
NetEase Yunxin
版本
0.1
日期
2022-01-17

枚举类型说明

◆ NIMQChatBanMemberOpeType

圈组封禁操作类型

枚举值
kNIMQChatBanMemberOpeTypeBan 

封禁

kNIMQChatBanMemberOpeTypeUnban 

解除封禁

◆ NIMQChatChannelSearchSort

频道搜索排序规则

枚举值
kNIMQChatChannelSearchSortCustom 

自定义权重排序(详见服务器端文档)

kNIMQChatChannelSearchSortCreateTime 

创建时间排序

◆ NIMQChatChannelSyncMode

枚举值
kNIMQChatChannelSyncModeNoSync 

不与频道分组同步

kNIMQChatChannelSyncModeSync 

与频道分组同步

◆ NIMQChatChannelViewMode

圈组频道查看模式

枚举值
kNIMQChatChannelViewModePublic 

公开模式

kNIMQChatChannelViewModePrivate 

私密模式

◆ NIMQChatChannelVisitorMode

圈组频道游客访问模式

枚举值
kNIMQChatChannelVisitorModeVisible 

游客可见

kNIMQChatChannelVisitorModeInvisible 

游客不可见

kNIMQChatChannelVisitorModeFollow 

跟随模式, 频道公开游客可见, 频道私密游客不可见

◆ NIMQChatMessageSearchSort

消息搜索排序规则

枚举值
kNIMQChatMessageSearchSortCreateTime 

创建时间排序

◆ NIMQChatSearchOrder

搜索排序顺序

枚举值
kNIMQChatSearchOrderAsc 

按时间正序

kNIMQChatSearchOrderDesc 

按时间倒序

◆ NIMQChatServerSearchSort

服务器搜索排序规则

枚举值
kNIMQChatServerSearchSortCustom 

自定义权重排序(详见服务器端文档)

kNIMQChatServerSearchSortCreateTime 

创建时间排序

kNIMQChatServerSearchSortMemberCOunt 

服务器总人数排序

◆ NIMQChatSubscribeOpeType

圈组订阅操作类型

枚举值
kNIMQChatSubscribeOpeTypeSubscribe 

订阅

kNIMQChatSubscribeOpeTypeUnsubscribe 

取消订阅

◆ NIMQChatSubscribeType

圈组订阅类型

枚举值
kNIMQChatSubscribeTypeUnknow 

未知

kNIMQChatSubscribeTypeMsg 

订阅某个channel的【消息】/【通知】

kNIMQChatSubscribeTypeUnreadCount 

订阅某个channel的【消息未读数】/【通知】

kNIMQChatSubscribeTypeUnreadStatus 

订阅某个channel的【消息未读状态】/【通知】

kNIMQChatSubscribeTypeServerNotification 

订阅某个server的【消息】/【通知】

kNIMQChatSubscribeTypeTypingEvent 

订阅某个channel的【正在输入事件】

kNIMQChatSubscribeTypeVisitorMsg 

以游客身份订阅某个channel的【消息】/【通知】

kNIMQChatSubscribeTypeVisitorServerNotification 

以游客身份订阅某个server的【消息】/【通知】

函数说明

◆ NIMQChatSubscribeTypeIsChannel()

static bool NIMQChatSubscribeTypeIsChannel ( NIMQChatSubscribeType  type)
inlinestatic

◆ NIMQChatSubscribeTypeIsChannelVisitor()

static bool NIMQChatSubscribeTypeIsChannelVisitor ( NIMQChatSubscribeType  type)
inlinestatic

◆ NIMQChatSubscribeTypeIsMsg()

static bool NIMQChatSubscribeTypeIsMsg ( NIMQChatSubscribeType  type)
inlinestatic

◆ NIMQChatSubscribeTypeIsServer()

static bool NIMQChatSubscribeTypeIsServer ( NIMQChatSubscribeType  type)
inlinestatic

◆ NIMQChatSubscribeTypeIsServerVisitor()

static bool NIMQChatSubscribeTypeIsServerVisitor ( NIMQChatSubscribeType  type)
inlinestatic

◆ NIMQChatSubscribeTypeIsVisitor()

static bool NIMQChatSubscribeTypeIsVisitor ( NIMQChatSubscribeType  type)
inlinestatic