Skip to content

Trailing closure passed to parameter of type 'RecognizeCallback' that does not accept a closure, speech to text using microphone example #1068

@snips11

Description

@snips11

Overview
Unable to run speech to text using microphone example (https://watson-developer-cloud.github.io/swift-sdk/services/SpeechToTextV1/index.html#recognizing-audio-from-microphone)

Expected behavior
Speech to text builds and runs

Actual behavior
Trailing closure passed to parameter of type 'RecognizeCallback' that does not accept a closure

How to reproduce
I am working with a fresh Swift UI project with only this pod installed. I have dropped the code in plus my credentials

Screenshots
Screenshot 2022-03-28 at 01 04 59

SDK Version
5.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions