SFSpeechLanguageModel.PrepareCustomModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PrepareCustomModel(NSUrl, SFSpeechLanguageModelConfiguration, SFSpeechLanguageModelPrepareCustomModelHandler)
[Foundation.Export("prepareCustomLanguageModelForUrl:configuration:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void PrepareCustomModel(Foundation.NSUrl asset, Speech.SFSpeechLanguageModelConfiguration configuration, Speech.SFSpeechLanguageModelPrepareCustomModelHandler completion);
[<Foundation.Export("prepareCustomLanguageModelForUrl:configuration:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PrepareCustomModel : Foundation.NSUrl * Speech.SFSpeechLanguageModelConfiguration * Speech.SFSpeechLanguageModelPrepareCustomModelHandler -> unit
Parameters
- asset
- NSUrl
- configuration
- SFSpeechLanguageModelConfiguration
- Attributes
Applies to
PrepareCustomModel(NSUrl, SFSpeechLanguageModelConfiguration, Boolean, SFSpeechLanguageModelPrepareCustomModelHandler)
[Foundation.Export("prepareCustomLanguageModelForUrl:configuration:ignoresCache:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void PrepareCustomModel(Foundation.NSUrl asset, Speech.SFSpeechLanguageModelConfiguration configuration, bool ignoresCache, Speech.SFSpeechLanguageModelPrepareCustomModelHandler completion);
[<Foundation.Export("prepareCustomLanguageModelForUrl:configuration:ignoresCache:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PrepareCustomModel : Foundation.NSUrl * Speech.SFSpeechLanguageModelConfiguration * bool * Speech.SFSpeechLanguageModelPrepareCustomModelHandler -> unit
Parameters
- asset
- NSUrl
- configuration
- SFSpeechLanguageModelConfiguration
- ignoresCache
- Boolean
- Attributes
Applies to
PrepareCustomModel(NSUrl, String, SFSpeechLanguageModelConfiguration, Action<NSError>)
[Foundation.Export("prepareCustomLanguageModelForUrl:clientIdentifier:configuration:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void PrepareCustomModel(Foundation.NSUrl asset, string clientIdentifier, Speech.SFSpeechLanguageModelConfiguration configuration, Action<Foundation.NSError> completion);
[<Foundation.Export("prepareCustomLanguageModelForUrl:clientIdentifier:configuration:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PrepareCustomModel : Foundation.NSUrl * string * Speech.SFSpeechLanguageModelConfiguration * Action<Foundation.NSError> -> unit
Parameters
- asset
- NSUrl
- clientIdentifier
- String
- configuration
- SFSpeechLanguageModelConfiguration
- Attributes
Applies to
PrepareCustomModel(NSUrl, String, SFSpeechLanguageModelConfiguration, Boolean, Action<NSError>)
[Foundation.Export("prepareCustomLanguageModelForUrl:clientIdentifier:configuration:ignoresCache:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void PrepareCustomModel(Foundation.NSUrl asset, string clientIdentifier, Speech.SFSpeechLanguageModelConfiguration configuration, bool ignoresCache, Action<Foundation.NSError> completion);
[<Foundation.Export("prepareCustomLanguageModelForUrl:clientIdentifier:configuration:ignoresCache:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PrepareCustomModel : Foundation.NSUrl * string * Speech.SFSpeechLanguageModelConfiguration * bool * Action<Foundation.NSError> -> unit
Parameters
- asset
- NSUrl
- clientIdentifier
- String
- configuration
- SFSpeechLanguageModelConfiguration
- ignoresCache
- Boolean
- Attributes