目录

class info
com.huawei.hms.mlsdk.aft.cloud.MLRemoteAftResult
Audio transcription result on the cloud.

Public Method Summary

Return typeMethod name
StringgetTaskId()
StringgetText()
booleanisComplete()

Public Methods

Method
public String getTaskId()
Obtains the ID of the audio transcription task.

Return

Typedesc
StringID of the audio transcription task. An ID is generated each time when a short audio transcription API is called. The ID uniquely identifies an audio transcription task.
Method
public String getText()
Obtains the complete audio transcription result.

Return

Typedesc
StringComplete audio transcription result.
Method
public boolean isComplete()
Checks whether an audio transcription task is complete.

Return

Typedesc
boolean

Whether the audio transcription task is complete.

true: The audio transcription task is complete.

false: The audio transcription task is not complete.