Class AndroidTextToSpeech
Inheritance
System.Object
AndroidTextToSpeech
Implements
Android.Speech.Tts.TextToSpeech.IOnInitListener
Android.Runtime.IJavaObject
System.IDisposable
Namespace: Sensus.Android
Assembly: SensusAndroid.dll
Syntax
public class AndroidTextToSpeech : UtteranceProgressListener, TextToSpeech.IOnInitListener, IJavaObject, IDisposable
Constructors
AndroidTextToSpeech()
Declaration
public AndroidTextToSpeech()
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnDone(String)
Declaration
public override void OnDone(string utteranceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | utteranceId |
OnError(String)
Declaration
public override void OnError(string utteranceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | utteranceId |
OnInit(OperationResult)
Declaration
public void OnInit(OperationResult status)
Parameters
Type | Name | Description |
---|---|---|
Android.Speech.Tts.OperationResult | status |
OnStart(String)
Declaration
public override void OnStart(string utteranceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | utteranceId |
SpeakAsync(String)
Declaration
public Task SpeakAsync(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
Android.Speech.Tts.TextToSpeech.IOnInitListener
Android.Runtime.IJavaObject
System.IDisposable