init(url:)
Creates a speech recognition request, initialized with the specified URL.
Declaration
init(url URL: URL)Discussion
Use this method to create a request to recognize speech in a recorded audio file that resides at the specified URL. Pass the request to the recognizer’s recognitionTask(with:delegate:) method to start recognition.