Class ttsStreamingEventArgs
Definition
- Assembly:
- Tizen.AIAvatar.dll
Provides data for TTS streaming events.
public class ttsStreamingEventArgs : EventArgs
- Inheritance
-
objectttsStreamingEventArgs
Properties
View SourceAudioBytes
Gets or sets the size of the current audio data chunk in bytes.
Declaration
public int AudioBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
AudioData
Gets or sets the audio data of the current chunk.
Declaration
public byte[] AudioData { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Error
Gets or sets the error message, if any, during the TTS process.
Declaration
public string Error { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProcessedBytes
Gets or sets the number of bytes processed so far.
Declaration
public int ProcessedBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ProgressPercentage
Gets or sets the progress percentage of the TTS processing.
Declaration
public double ProgressPercentage { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
SampleRate
Gets or sets the sample rate of the audio data.
Declaration
public int SampleRate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Text
Gets or sets the text being converted to speech.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalBytes
Gets or sets the total number of bytes for the audio data.
Declaration
public int TotalBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Voice
Gets or sets the voice used for the TTS conversion.
Declaration
public string Voice { get; set; }
Property Value
| Type | Description |
|---|---|
| string |