7#ifndef _NIM_SDK_CPP_TOOL_H_
8#define _NIM_SDK_CPP_TOOL_H_
41 static std::string GetUserAppdataDir(
const std::string& app_account);
49 static std::string GetSpecificAppdataDir(
const std::string app_account,
enum NIMAppDataType appdata_type);
55 static std::string GetLocalAppdataDir();
61 static std::string GetCurModuleDir();
68 static std::string GetMd5(
const std::string& input);
75 static std::string GetFileMd5(
const std::string& file_path);
81 static std::string GetUuid();
98 static bool GetAudioTextAsync(
const AudioInfo& audio_info,
const GetAudioTextCallback& cb,
const std::string& json_extension =
"");
112 static void FilterClientAntispam(
const std::string& text,
113 const std::string& replace_str,
114 const std::string& lib_name,
115 const FilterClientAntispamCallback& callback);
122 static void RegSDKLogCallback(
const SDKLogCallback& callback);
128 static void RegCollectLogCallback(
const CollectLogCallback& callback);
#define NIM_SDK_CPPWRAPPER_DLL_API
Definition nim_sdk_cpp_wrapper.h:38
语音信息,用于语音转文字
Definition nim_tool_helper.h:21