Show / Hide Table of Contents

Class CloudDecoder

Provides speech processing with Speechly's cloud SLU service.

Internally handles authentication using https and audio streaming via secure websocket. Audio is streamed when listening is started with SpeechlyClient.Start(). Streaming stops upon call to SpeechlyClient.Stop().

Inheritance
System.Object
IDecoder
CloudDecoder
Namespace: Speechly.SLUClient
Assembly: speechly-dotnet.dll
Syntax
public class CloudDecoder : IDecoder

Constructors

| Improve this Doc View Source

CloudDecoder(String, String, String, String, Boolean)

Initialize speech processing with Speechly's cloud SLU service.

Declaration
public CloudDecoder(string deviceId, string apiUrl = null, string appId = null, string projectId = null, bool debug = false)
Parameters
Type Name Description
System.String deviceId

An unique string id for the device.

System.String apiUrl

Speechly SLU API url (default: https://api.speechly.com)

System.String appId

Speechly project id for authentication. Only provide either app id or project id, not both (default: null).

System.String projectId

Speechly app id for authentication. Only provide either app id or project id, not both (default: null).

System.Boolean debug

Enable debug prints thru Log delegate. (default: false)

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX