Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
ISpeechResourceLoader.GetLocalCopy Method
Gets a local copy of the specified speech resource.
Namespace: Microsoft.Speech
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Function GetLocalCopy ( _
resourcePath As Uri, _
<OutAttribute> ByRef mimeType As String, _
<OutAttribute> ByRef redirectUrl As Uri _
) As String
'Usage
Dim instance As ISpeechResourceLoader
Dim resourcePath As Uri
Dim mimeType As String
Dim redirectUrl As Uri
Dim returnValue As String
returnValue = instance.GetLocalCopy(resourcePath, _
mimeType, redirectUrl)
string GetLocalCopy(
Uri resourcePath,
out string mimeType,
out Uri redirectUrl
)
Parameters
- resourcePath
Type: System.Uri
- mimeType
Type: System.String
- redirectUrl
Type: System.Uri
Return Value
Type: System.String
Remarks
The local file must reside on the machine on which the Speech process is running.