ASROptions

public struct ASROptions

<#Description#>

  • Max duration from speech start to end.

    Declaration

    Swift

    public let maxDuration: TimeIntervallic
  • Max duration of waiting for speech.

    Declaration

    Swift

    public let timeout: TimeIntervallic
  • The engine waits this time then consider speech end.

    Declaration

    Swift

    public let pauseLength: TimeIntervallic
  • <#Description#>

    Declaration

    Swift

    public let sampleRate: Double
  • <#Description#>

    Declaration

    Swift

    public let encoding: Encoding
  • <#Description#>

    Declaration

    Swift

    public let endPointing: EndPointing
  • Declaration

    Swift

    public init(
        maxDuration: TimeIntervallic = NuguTimeInterval(seconds: 10),
        timeout: TimeIntervallic = NuguTimeInterval(seconds: 7),
        pauseLength: TimeIntervallic = NuguTimeInterval(milliseconds: 700),
        encoding: Encoding = .partial,
        endPointing: EndPointing
    )

    Parameters

    maxDuration

    Max duration from speech start to end.

    timeout

    Max duration of waiting for speech.

    pauseLength

    The engine waits this time then consider speech end.

  • <#Description#>

    Declaration

    Swift

    public enum Encoding
  • <#Description#>

    See more

    Declaration

    Swift

    public enum EndPointing : Equatable