返回码 | 值 | 说明 |
|---|---|---|
通用 | ||
Success | 0 | 成功。 |
Failed | -1 | 未知错误。 |
Network error | -2 | 网络错误。 |
Param invalid | 1001 | 参数错误,请检查传参。 |
Not login | 400001 | 未初始化SDK。 |
GameReplayManager.init | ||
App auth failed | 100103 | 鉴权失败,请检查clientId和clientSecret信息是否正确,或联系华为技术支持。 |
App token invalid or expired | 100105 | accessToken过期或者无效。 |
No permission | 400002 | 无权限(不含音频录制权限)。 |
GameReplayManager.startManualRecord | ||
No audio record permission | 400003 | 无音频录制权限。 |
Already in recording | 401001 | 已在录制中,请勿重复调用开始录制接口。 |
GameReplayManager.startAutoRecord | ||
No audio record permission | 400003 | 无音频录制权限。 |
Already in recording | 401001 | 已在录制中,请勿重复调用开始录制接口。 |
GameReplayManager.clipVideo | ||
Not in recording | 401002 | 不在录制中。 |
Not support in manual mode | 401004 | 手动录制不支持生成游戏高光时刻。 |
Clip video failed | 401006 | 内部错误,请联系华为技术支持。 |
GameReplayManager.stopRecord | ||
Not in recording | 401002 | 不在录制中。 |
ReplayCallback.onStop | ||
Reach max record duration | 401003 | 手动录制已达到录制最大时长。 |
GameReplayManager.exportVideo | ||
Get template project fail | 402001 | 模板不存在,请检查模板ID是否正确。 |
File not found | 402002 | 使用模板导出视频时,视频文件不存在。 |
Prepare template project fail | 402004 | 内部错误,请联系华为技术支持。 |
Export video fail | 402005 | 内部错误,请联系华为技术支持。 |
Export video too frequent | 402006 | 调用导出视频接口exportVideo太频繁,请稍后操作。 |
Template is invalid | 402007 | 当前模板不可用。 |
GameReplayManager.queryTemplates | ||
Query templates failed | 402008 | 查询可用模板失败,请稍后再试或联系华为技术支持。 |
GameReplayManager.applyShare | ||
Template is invalid | 402007 | 当前模板不可用。 |
Query templates failed | 402008 | 查询可用模板失败,请稍后再试或联系华为技术支持。 |
Apply upload failed | 403001 | 内部错误,请联系华为技术支持。 |
Execute upload failed | 403002 | 内部错误,请联系华为技术支持。 |
Confirm upload failed | 403003 | 内部错误,请联系华为技术支持。 |
Apply share failed | 403004 | 内部错误,请联系华为技术支持。 |