目录

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

[h2]onCancel

Method

void onCancel()

取消回调。

[h2]onFail

Method

void onFail(int errorCode)

失败回调。

Parameters

Name

Description

errorCode

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

[h2]onProgress

Method

void onProgress(int progress)

进度回调。

Parameters

Name

Description

progress

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

[h2]onSuccess

Method

void onSuccess(String outAudioPath)

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

Parameters

Name

Description

outAudioPath

输出的音频完整路径。