|
enum | NIMLogoutType { kNIMLogoutChangeAccout = 1
, kNIMLogoutKickout = 2
, kNIMLogoutAppExit = 3
, kNIMLogoutRelogin = 4
} |
| Logout类型 更多...
|
|
enum | NIMKickReason { kNIMKickReasonSameGeneric = 1
, kNIMKickReasonServerKick = 2
, kNIMKickReasonKickBySelfOtherClient = 3
} |
| 被踢原因 更多...
|
|
enum | NIMClientType {
kNIMClientTypeAndroid = 1
, kNIMClientTypeiOS = 2
, kNIMClientTypePCWindows = 4
, kNIMClientTypeWeb = 16
,
kNIMClientTypeRestAPI = 32
, kNIMClientTypeMacOS = 64
} |
| 客户端类型 更多...
|
|
enum | NIMLoginStep { kNIMLoginStepLinking = 0
, kNIMLoginStepLink = 1
, kNIMLoginStepLogining = 2
, kNIMLoginStepLogin = 3
} |
| 登录步骤 更多...
|
|
enum | NIMMultiSpotNotifyType { kNIMMultiSpotNotifyTypeImIn = 2
, kNIMMultiSpotNotifyTypeImOut = 3
} |
| 多点登录通知类型 更多...
|
|
enum | NIMLoginState { kNIMLoginStateLogin = 1
, kNIMLoginStateUnLogin = 2
} |
| 登录状态 更多...
|
|
enum | NIMAuthType : int { kNIMAuthTypeDefault = 0
, kNIMAuthTypeDynamicToken = 1
, kNIMAuthTypeThirdpartyCallback = 2
} |
| 鉴权类型 更多...
|
|
enum | NIMProxyDetectStep { kNIMProxyDetectStepAllComplete = 5
} |
| 代理测试步骤 更多...
|
|
enum | NIMProxyType {
kNIMProxyNone = 0
, kNIMProxyHttp11 = 1
, kNIMProxySocks4 = 4
, kNIMProxySocks4a = 5
,
kNIMProxySocks5 = 6
} |
| 代理类型 更多...
|
|
enum | NetDetectionRes {
ProcessError = 0
, Success = 200
, InvalidRequest = 400
, DataError = 417
,
InnerIP = 606
, OutOfLimit = 607
, TypeError = 20001
, IPError = 20002
,
SocketError = 20003
} |
| 网络探测错误 更多...
|
|
enum | NIMSDKException { kNIMSDKExceptionSpaceEmpty = 1
} |
| sdk异常 更多...
|
|
enum | CacheFileType { Misc
, Image
, Audio
, Video
} |
| sdk缓存文件类型 更多...
|
|
enum | NIMMessageType {
kNIMMessageTypeText = 0
, kNIMMessageTypeImage = 1
, kNIMMessageTypeAudio = 2
, kNIMMessageTypeVideo = 3
,
kNIMMessageTypeLocation = 4
, kNIMMessageTypeNotification = 5
, kNIMMessageTypeFile = 6
, kNIMMessageTypeTips = 10
,
kNIMMessageTypeRobot = 11
, kNIMMessageTypeCustom = 100
, kNIMMessageTypeUnknown = 1000
} |
|
enum | NIMMessageFeature {
kNIMMessageFeatureDefault = 0
, kNIMMessageFeatureLeaveMsg = 1
, kNIMMessageFeatureRoamMsg = 2
, kNIMMessageFeatureSyncMsg = 3
,
kNIMMessageFeatureCustomizedMsg = 4
} |
|
enum | NIMMessageSettingStatus { kNIMMessageStatusUndefine = -1
, kNIMMessageStatusNotSet = 0
, kNIMMessageStatusSetted = 1
} |
|
enum | NIMAppDataType { kNIMAppDataTypeUnknownOtherRes = 0
, kNIMAppDataTypeImage = 1
, kNIMAppDataTypeAudio = 2
, kNIMAppDataTypeVideo = 3
} |
| AppData类型 更多...
|
|
enum | NIMEventBroadcastType { kNIMEventBroadcastTypeOnline = 1
, kNIMEventBroadcastTypeAll = 2
} |
| 事件广播类型 更多...
|
|
enum | NIMEventSyncType { kNIMEventSyncTypeNoSelf = 0
, kNIMEventSyncTypeSelf = 1
} |
| 事件同步类型 更多...
|
|
enum | NIMEventSubscribeSyncEventType { kNIMEventSubscribeSyncTypeUnSync = 0
, kNIMEventSubscribeSyncTypeSync = 1
} |
| 订阅的事件的同步类型 更多...
|
|
enum | NIMEventType { kNIMEventTypeOnlineState = 1
, kNIMEventTypeSyncEvent = 2
, kNIMEventTypeCustom = 100000
} |
| 服务器预定义的事件类型 更多...
|
|
enum | NIMEventOnlineStateValue {
kNIMEventOnlineStateValueLogin = 1
, kNIMEventOnlineStateValueLogout = 2
, kNIMEventOnlineStateValueDisconnect = 3
, kNIMEventOnlineStateValueCustom = 10000
,
kNIMEventOnlineStateValueUpdateConfig = kNIMEventOnlineStateValueCustom + 1
} |
| 在线状态事件值 更多...
|
|
enum | ResponseCode {
kNIMResError = 0
, kNIMResSuccess = 200
, kNIMResVersionError = 201
, kNIMResUidPassError = 302
,
kNIMResForbidden = 403
, kNIMResNotExist = 404
, kNIMResNoModify = 406
, kNIMResTimeoutError = 408
,
kNIMResParameterError = 414
, kNIMResConnectionError = 415
, kNIMResFrequently = 416
, kNIMResExist = 417
,
kNIMResOverrun = 419
, kNIMResAccountBlock = 422
, kNIMResUnknownError = 500
, kNIMResServerDataError = 501
,
kNIMResTooBuzy = 503
, kNIMResInvalid = 509
, kNIMResTeamECountLimit = 801
, kNIMResTeamENAccess = 802
,
kNIMResTeamENotExist = 803
, kNIMResTeamEMemberNotExist = 804
, kNIMResTeamErrType = 805
, kNIMResTeamLimit = 806
,
kNIMResTeamUserStatusErr = 807
, kNIMResTeamApplySuccess = 808
, kNIMResTeamAlreadyIn = 809
, kNIMResTeamInviteSuccess = 810
,
kNIMResForcePushCountLimit = 811
, kNIMResTeamMemberLimit = 813
, kNIMResInvalidProtocol = 997
, kNIMResEUnpacket = 998
,
kNIMResEPacket = 999
, kNIMResInBlack = 7101
, kNIMLocalRes = 10000
, kNIMResRoomLocalNeedRequestAgain = 10001
,
kNIMLocalResNetworkError = 10010
, kNIMLocalResMsgNosUploadCancel = 10200
, kNIMLocalResMsgNosDownloadCancel = 10206
, kNIMLocalResMsgFileNotExist = 10404
,
kNIMLocalResMsgUrlInvalid = 10414
, kNIMLocalResMsgFileExist = 10417
, kNIMLocalResParaError = 10450
, kNIMLocalResMsgSendNosError = 10502
,
kNIMLocalResCheckMsgDBFailed = 10600
, kNIMLocalResImportMsgDBFailed = 10601
, kNIMLocalResRtsError = 11100
, kNIMLocalResRtsIdNotExist = 11101
,
kNIMLocalResRtsVChatExist = 11417
, kNIMLocalResRtsStatusError = 11501
, kNIMLocalResRtsChannelNotExist = 11510
, kNIMResRoomLinkError = 13001
,
kNIMResRoomError = 13002
, kNIMResRoomBlackBeOut = 13003
, kNIMResRoomBeMuted = 13004
, kNIMResRoomAllMuted = 13006
,
kNIMLocalResAPIErrorInitUndone = 20000
, kNIMLocalResAPIErrorEnterUndone = 20001
, kNIMLocalResAPIErrorEntered = 20002
, kNIMLocalResAPIErrorVersionError = 20003
,
kNIMLocalResAPIErrorChatroomMixError = 20004
} |
| NIMResCode 返回的错误号(只定义需要客户端处理的) 更多...
|
|
|
delegate void | nim_client_multiport_push_config_cb_func (int rescode, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string json_params, IntPtr user_data) |
|
delegate void | nim_client_dnd_cb_func (int rescode, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string json_params, IntPtr user_data) |
|
delegate void | ConfigMultiportPushDelegate (ResponseCode response, ConfigMultiportPushParam param) |
|
delegate void | NimWriteLogDelegate (int level, string log) |
|
delegate void | NimNetworkDetectionDelegate (NetDetectionRes error, NetDetectResult result, IntPtr userData) |
|
delegate void | NimProxyDetectionDelegate (bool connection, NIMProxyDetectStep step) |
|
delegate void | DeleteCacheFileDelegate (ResponseCode code) |
|
delegate void | GetCacheFileInfoDelegate (CacheFileInfo info) |
|
delegate void | nim_global_net_detect_cb_func (int rescode, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string json_params, IntPtr user_data) |
|
delegate void | nim_sdk_exception_cb_func (NIMSDKException exception, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))]string log, IntPtr user_data) |
|
delegate void | nim_sdk_del_cache_file_cb_func (ResponseCode rescode, IntPtr user_data) |
|
delegate void | nim_sdk_get_cache_file_info_cb_func ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))]string info, IntPtr user_data) |
|
delegate void | ReportUploadProgressDelegate (long uploadedSize, long totalSize, object progressData) |
|
delegate void | ReceiveBatchMesaagesDelegate (List< NIMReceivedMessage > msgsList) |
|
delegate bool | TeamNotificationFilterDelegate (NIMIMMessage msg, string jsonExtension) |
|
delegate void | RecallMessageDelegate (ResponseCode result, RecallNotification[] notify) |
|
delegate void | ReceiveBroadcastDelegate (NIMBroadcastMessage msg) |
|
delegate void | ReceiveBroadcastMsgsDelegate (List< NIMBroadcastMessage > msg) |
|
delegate void | UploadFileCallback (long uploadedSize, long totalSize, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
|
delegate void | IMMessageArcCallback ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string jsonArcResult, IntPtr userData) |
|
delegate void | IMReceiveMessageCallback ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string jsonArcResult, IntPtr userData) |
|
delegate bool | NIMTeamNotificationFilterFunc ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string jsonExtension, IntPtr userData) |
|
delegate void | nim_talk_recall_msg_func (int rescode, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string json_extension, IntPtr user_data) |
|
delegate void | nim_talk_receive_broadcast_cb_func ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string json_extension, IntPtr user_data) |
|