NIM C# SDK
6.3.0
|
Namespaces | |
Classes | |
class | MessagelogAPI |
class | MsglogNativeMethods |
class | NIMLogsBackupExportInfo |
导出到云端备份参数类 More... | |
struct | NIMLogsBackupExportInfo_C |
class | NIMLogsBackupImportInfo |
导入云端备份参数类 More... | |
struct | NIMLogsBackupImportInfo_C |
Functions | |
delegate IntPtr | _ExportBackupToRemotePackageCallback_C ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string file_path, IntPtr user_data) |
delegate IntPtr | _ExportBackupToRemoteEncryptCallback_C ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string file_path, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string encrypt_key, IntPtr user_data) |
delegate void | _LogsBackupProgressCallback (LogsBackupRemoteOperate param0, float param1, IntPtr user_data) |
delegate void | _LogsBackupCompleteCallback (LogsBackupRemoteOperate param0, LogsBackupRemoteState param1, IntPtr user_data) |
delegate bool | _ExportBackupToRemoteLogFiter ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string msg, IntPtr user_data) |
delegate void | _NewPathRelease (ref IntPtr param0) |
delegate IntPtr | _ImportBackupFromRemoteUnPackageCallback_C ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string file_path, IntPtr user_data) |
delegate IntPtr | _ImportBackupFromRemoteDecryptCallback_C ([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))]string file_path, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string encrypt_key, IntPtr user_data) |
delegate void | DeleteOnlineHistoryResultDelegate (int res_code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string account_id, IntPtr user_data) |
delegate void | QueryLogByMsgIdResultDelegate (ResponseCode code, string msdId, NIMIMMessage msg) |
delegate void | QueryMsglogResultDelegate (ResponseCode code, string accountId, NIMSessionType sType, MsglogQueryResult result) |
delegate void | OperateMsglogResultDelegate (ResponseCode code, string uid, NIMSessionType sType) |
delegate void | OperateSingleLogResultDelegate (ResponseCode code, string msgId) |
delegate void | CommonOperationResultDelegate (ResponseCode code) |
delegate void | ImportProgressDelegate (long importedCount, long totalCount) |
delegate void | MsglogStatusChangedDelegate (ResponseCode res, string result) |
delegate void | UpdateLocalExtDelegate (ResponseCode res, string msgId) |
delegate void | LogsBackupProgressDelegate (LogsBackupRemoteOperate oprate, float progress) |
导出/导入进度回调 More... | |
delegate void | LogsBackupCompleteDelegate (LogsBackupRemoteOperate oprate, LogsBackupRemoteState state) |
导出/导入完成后的结果回调 More... | |
delegate string | ImportBackupFromRemoteUnPackageDelegate (string file_path) |
自定义的解包方式回调,从云端步的备份文件经解密后会回调开发者自定义的解包(解压)方法 More... | |
delegate string | ImportBackupFromRemoteDecryptDelegate (string file_path, string encrypt_key) |
自定义的解密方式回调,SDK从云端同步完备份文件后会调用开发者自定义的解密方法 More... | |
delegate string | ExportBackupToRemotePackageDelegate (string file_path) |
自定义的打包方式回调,SDK生成原始数据文后会调用开发者自定义的打包(压缩)方法 More... | |
delegate string | ExportBackupToRemoteEncryptDelegate (string file_path, string encrypt_key) |
自定义的加密方式回调,SDK生成原始数据经过打包(压缩)后会调用开发者自定义的加密方法 More... | |
delegate bool | ExportBackupToRemoteLogFiterDelegate (string msg) |
开发者自定义的导出消息的过滤器 More... | |
|
strong |
|
strong |
导出/导入云端备份错误码说明
delegate IntPtr NIM.Messagelog._ExportBackupToRemoteEncryptCallback_C | ( | [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | file_path, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | encrypt_key, | ||
IntPtr | user_data | ||
) |
delegate bool NIM.Messagelog._ExportBackupToRemoteLogFiter | ( | [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | msg, |
IntPtr | user_data | ||
) |
delegate IntPtr NIM.Messagelog._ExportBackupToRemotePackageCallback_C | ( | [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | file_path, |
IntPtr | user_data | ||
) |
delegate IntPtr NIM.Messagelog._ImportBackupFromRemoteDecryptCallback_C | ( | [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | file_path, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | encrypt_key, | ||
IntPtr | user_data | ||
) |
delegate IntPtr NIM.Messagelog._ImportBackupFromRemoteUnPackageCallback_C | ( | [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | file_path, |
IntPtr | user_data | ||
) |
delegate void NIM.Messagelog._LogsBackupCompleteCallback | ( | LogsBackupRemoteOperate | param0, |
LogsBackupRemoteState | param1, | ||
IntPtr | user_data | ||
) |
delegate void NIM.Messagelog._LogsBackupProgressCallback | ( | LogsBackupRemoteOperate | param0, |
float | param1, | ||
IntPtr | user_data | ||
) |
delegate void NIM.Messagelog._NewPathRelease | ( | ref IntPtr | param0 | ) |
delegate void NIM.Messagelog.CommonOperationResultDelegate | ( | ResponseCode | code | ) |
delegate void NIM.Messagelog.DeleteOnlineHistoryResultDelegate | ( | int | res_code, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | account_id, | ||
IntPtr | user_data | ||
) |
delegate string NIM.Messagelog.ExportBackupToRemoteEncryptDelegate | ( | string | file_path, |
string | encrypt_key | ||
) |
自定义的加密方式回调,SDK生成原始数据经过打包(压缩)后会调用开发者自定义的加密方法
file_path | 打包(压缩)后的文件路径 |
encrypt_key | 加密秘钥 与 encrypt_key_为同一个值 |
delegate bool NIM.Messagelog.ExportBackupToRemoteLogFiterDelegate | ( | string | msg | ) |
开发者自定义的导出消息的过滤器
msg | 消息的详细数据 json格式 |
delegate string NIM.Messagelog.ExportBackupToRemotePackageDelegate | ( | string | file_path | ) |
自定义的打包方式回调,SDK生成原始数据文后会调用开发者自定义的打包(压缩)方法
file_path | 原始数据文件路径 |
delegate string NIM.Messagelog.ImportBackupFromRemoteDecryptDelegate | ( | string | file_path, |
string | encrypt_key | ||
) |
自定义的解密方式回调,SDK从云端同步完备份文件后会调用开发者自定义的解密方法
file_path | 从云端同步到的文件路径 |
encrypt_key | 解密秘钥 与导出时加密密钥相同 |
delegate string NIM.Messagelog.ImportBackupFromRemoteUnPackageDelegate | ( | string | file_path | ) |
自定义的解包方式回调,从云端步的备份文件经解密后会回调开发者自定义的解包(解压)方法
file_path | 经解密后文件路径 |
delegate void NIM.Messagelog.ImportProgressDelegate | ( | long | importedCount, |
long | totalCount | ||
) |
delegate void NIM.Messagelog.LogsBackupCompleteDelegate | ( | LogsBackupRemoteOperate | oprate, |
LogsBackupRemoteState | state | ||
) |
导出/导入完成后的结果回调
oprate | 导出/导入云端备份操作类型 |
state | 错误码 |
delegate void NIM.Messagelog.LogsBackupProgressDelegate | ( | LogsBackupRemoteOperate | oprate, |
float | progress | ||
) |
导出/导入进度回调
oprate | 导出/导入云端备份操作类型 |
progress | 当前任务进度状态 [0-1] |
delegate void NIM.Messagelog.MsglogStatusChangedDelegate | ( | ResponseCode | res, |
string | result | ||
) |
delegate void NIM.Messagelog.OperateMsglogResultDelegate | ( | ResponseCode | code, |
string | uid, | ||
NIMSessionType | sType | ||
) |
delegate void NIM.Messagelog.OperateSingleLogResultDelegate | ( | ResponseCode | code, |
string | msgId | ||
) |
delegate void NIM.Messagelog.QueryLogByMsgIdResultDelegate | ( | ResponseCode | code, |
string | msdId, | ||
NIMIMMessage | msg | ||
) |
delegate void NIM.Messagelog.QueryMsglogResultDelegate | ( | ResponseCode | code, |
string | accountId, | ||
NIMSessionType | sType, | ||
MsglogQueryResult | result | ||
) |
delegate void NIM.Messagelog.UpdateLocalExtDelegate | ( | ResponseCode | res, |
string | msgId | ||
) |