Unreal Engine SDK V5.4.128
载入中...
搜索中...
未找到
INertcVoiceEngineEventHandler.h
浏览该文件的文档.
1
8#pragma once
9
10#include "NertcBaseTypes.h"
11#include "NertcEngineDefines.h"
12#include "NertcErrorCode.h"
13#include "NertcWarnCode.h"
14
19namespace nertc {
35 public:
37
45 virtual void onAuth(int error_code) {
46 (void)error_code;
47 }
48
57 virtual void onRecordComplete(int error_code, const char* file_path) {
58 (void)error_code;
59 (void)file_path;
60 }
69 virtual void onPlayComplete(int error_code, const char* file_path) {
70 (void)error_code;
71 (void)file_path;
72 };
73
86 virtual void onUploadComplete(int error_code, const char* file_path, const char* file_id) {
87 (void)error_code;
88 (void)file_path;
89 (void)file_id;
90 }
91
104 virtual void onDownloadComplete(int error_code, const char* file_path, const char* file_id, NERtcVoiceAuditStatus audit_status, int audit_result, const char* audit_detail) {
105 (void)error_code;
106 (void)file_path;
107 (void)file_id;
108 (void)audit_status;
109 (void)audit_result;
110 (void)audit_detail;
111 }
112
125 virtual void onSpeechToTextComplete(int error_code, const char* file_id, const char* text, NERtcVoiceAuditStatus audit_status, int audit_result, const char* audit_detail) {
126 (void)error_code;
127 (void)file_id;
128 (void)text;
129 (void)audit_status;
130 (void)audit_result;
131 (void)audit_detail;
132 }
140 virtual void onRecordingVolume(int volume) {
141 (void)volume;
142 }
150 virtual void onPlayingVolume(int volume) {
151 (void)volume;
152 };
153 };
154} // namespace nertc
The definition of error codes of NERtc SDK.
定义 INertcVoiceEngineEventHandler.h:34
virtual void onPlayingVolume(int volume)
定义 INertcVoiceEngineEventHandler.h:150
virtual void onRecordingVolume(int volume)
定义 INertcVoiceEngineEventHandler.h:140
virtual void onUploadComplete(int error_code, const char *file_path, const char *file_id)
定义 INertcVoiceEngineEventHandler.h:86
virtual void onPlayComplete(int error_code, const char *file_path)
定义 INertcVoiceEngineEventHandler.h:69
virtual void onDownloadComplete(int error_code, const char *file_path, const char *file_id, NERtcVoiceAuditStatus audit_status, int audit_result, const char *audit_detail)
定义 INertcVoiceEngineEventHandler.h:104
virtual void onRecordComplete(int error_code, const char *file_path)
定义 INertcVoiceEngineEventHandler.h:57
virtual void onAuth(int error_code)
定义 INertcVoiceEngineEventHandler.h:45
virtual ~IRtcVoiceEngineEventHandler()
定义 INertcVoiceEngineEventHandler.h:36
virtual void onSpeechToTextComplete(int error_code, const char *file_id, const char *text, NERtcVoiceAuditStatus audit_status, int audit_result, const char *audit_detail)
定义 INertcVoiceEngineEventHandler.h:125
namespace nertc
定义 INertcAudioDeviceManager.h:11
NERtcVoiceAuditStatus
定义 NertcEngineDefines.h:7625