Interface ISpeechToTextService

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    Interface for a Speech-to-Text service.

    public interface ISpeechToTextService

    Methods

    View Source

    SpeechToTextAsync(byte[], Dictionary<string, object>)

    Converts the given audio data to text asynchronously.

    Declaration
    Task<string> SpeechToTextAsync(byte[] audioData, Dictionary<string, object> options = null)
    Parameters
    Type Name Description
    byte[] audioData

    The audio data to be converted to text.

    Dictionary<, ><string, object> options

    Optional parameters for customizing the transcription.

    Returns
    Type Description
    Task<><string>

    A task representing the asynchronous operation, with the resulting transcribed text.

    View Source

    StreamSpeechToTextAsync(Stream, Dictionary<string, object>)

    Streams the given audio data to text asynchronously.

    Declaration
    Task StreamSpeechToTextAsync(Stream audioStream, Dictionary<string, object> options = null)
    Parameters
    Type Name Description
    Stream audioStream

    The audio stream to be converted to text.

    Dictionary<, ><string, object> options

    Optional parameters for customizing the transcription.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX