title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.Mac SDK API diff |
List of API changes for Xamarin.Mac. |
spouliot |
sepoulio |
9/20/2023 |
article |
f833f3cb-eea7-c1b8-a706-dfbb597746ea |
xamarin |
Added property:
public virtual SFSpeechLanguageModelConfiguration CustomizedLanguageModel { get; set; }
public class SFAnalysisContextTag {
// constructors
public SFAnalysisContextTag ();
// properties
public static Foundation.NSString LeftContext { get; }
public static Foundation.NSString RightContext { get; }
public static Foundation.NSString SelectedText { get; }
}
[Serializable]
public enum SFSpeechErrorCode {
InternalServiceError = 1,
MalformedSupplementalModel = 8,
UndefinedTemplateClassName = 7,
}
public static class SFSpeechErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this SFSpeechErrorCode self);
}
public class SFSpeechLanguageModel : Foundation.NSObject {
// constructors
protected SFSpeechLanguageModel (Foundation.NSObjectFlag t);
protected SFSpeechLanguageModel (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static void PrepareCustomModel (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, System.Action<Foundation.NSError> completion);
public static void PrepareCustomModel (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, bool ignoresCache, System.Action<Foundation.NSError> completion);
public static System.Threading.Tasks.Task PrepareCustomModelAsync (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration);
public static System.Threading.Tasks.Task PrepareCustomModelAsync (Foundation.NSUrl asset, string clientIdentifier, SFSpeechLanguageModelConfiguration configuration, bool ignoresCache);
}
public class SFSpeechLanguageModelConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SFSpeechLanguageModelConfiguration ();
protected SFSpeechLanguageModelConfiguration (Foundation.NSObjectFlag t);
public SFSpeechLanguageModelConfiguration (Foundation.NSUrl languageModel);
protected SFSpeechLanguageModelConfiguration (IntPtr handle);
public SFSpeechLanguageModelConfiguration (Foundation.NSUrl languageModel, Foundation.NSUrl vocabulary);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl LanguageModel { get; }
public virtual Foundation.NSUrl Vocabulary { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}