public abstract class SpeechSynthesisListener
extends java.lang.Object
| 构造器和说明 |
|---|
SpeechSynthesisListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel() |
protected boolean |
ifCancel() |
abstract void |
onComplete(SpeechSynthesisResponse response) |
abstract void |
onFail(SpeechSynthesisResponse exception) |
abstract void |
onMessage(byte[] data) |
protected void |
setIfCancel(boolean cancel) |
public abstract void onComplete(SpeechSynthesisResponse response)
public abstract void onMessage(byte[] data)
public abstract void onFail(SpeechSynthesisResponse exception)
public final void cancel()
protected boolean ifCancel()
protected void setIfCancel(boolean cancel)
Copyright © 2023. All rights reserved.