Xamarin.SpeechToText 1.0.0

A cross platform wrapper for SpeechToText on iOS and Android<

Install-Package Xamarin.SpeechToText -Version 1.0.0
dotnet add package Xamarin.SpeechToText --version 1.0.0
<PackageReference Include="Xamarin.SpeechToText" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.SpeechToText --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SpeechToText

A cross platform wrapper for SpeechToText on iOS and Android<

Usage:

    using Subsystems.SpeechToTextShared.External;

...
...

    private CMPSpeechToTextSharedProxy _speechToText;

Initialize

    _speechToText = new CMPSpeechToTextSharedProxy();

StartRecordingAsync

    var speechToTextResult = await _speechToText.StartRecordingAsync();
    if (speechToTextResult?.Item2 != null)
    {

        Console.WriteLine ($"Error: {speechToTextResult?.Item2}");
        return;

    }

    SpeechText.Text = speechToTextResult?.Item1;

StopRecordingAsync

    var hasStopped = await _speechToText.StopRecordingAsync();
    if (hasStopped == true)                
        return;

SpeechToText

A cross platform wrapper for SpeechToText on iOS and Android<

Usage:

    using Subsystems.SpeechToTextShared.External;

...
...

    private CMPSpeechToTextSharedProxy _speechToText;

Initialize

    _speechToText = new CMPSpeechToTextSharedProxy();

StartRecordingAsync

    var speechToTextResult = await _speechToText.StartRecordingAsync();
    if (speechToTextResult?.Item2 != null)
    {

        Console.WriteLine ($"Error: {speechToTextResult?.Item2}");
        return;

    }

    SpeechText.Text = speechToTextResult?.Item1;

StopRecordingAsync

    var hasStopped = await _speechToText.StopRecordingAsync();
    if (hasStopped == true)                
        return;

Release Notes

1. Initail Release for SpeechToText component
2. Supports iOS and Android latest version only

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 258 10/22/2018