文档管理中心
我的

ChangeSoundCallback

展开

Interface Info

public interface ChangeSoundCallback

文件接口回调。

Public Method Summary

展开

Qualifier and Type

Method Name and Description

void

onCancel()

取消回调。

void

onFail(int errorCode)

失败回调。

void

onProgress(int progress)

进度回调。

void

onSuccess(String outAudioPath)

成功回调。

Public Methods

onCancel

展开

Method

void onCancel()

取消回调。

onFail

展开

Method

void onFail(int errorCode)

失败回调。

Parameters
展开

Name

Description

errorCode

失败错误码。详细信息请参见错误码。

onProgress

展开

Method

void onProgress(int progress)

进度回调。

Parameters
展开

Name

Description

progress

当前进度。取值范围:[0, 100]。

onSuccess

展开

Method

void onSuccess(String outAudioPath)

成功回调,返回成功的文件路径。

Parameters
展开

Name

Description

outAudioPath

输出的音频完整路径。