title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.WatchOS SDK API diff: 16.4.0 vs 17.5.0 |
List of API changes between Xamarin.WatchOS versions 16.4.0 and 17.5.0. |
spouliot |
sepoulio |
8/22/2024 |
article |
b3aa4cda-7a82-75e8-93e7-4ca33368e5ea |
xamarin |
Obsoleted properties:
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryAmbient { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryMultiRoute { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryPlayAndRecord { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryPlayback { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryRecord { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategorySoloAmbient { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeDefault { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeGameChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeMeasurement { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeMoviePlayback { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeSpokenAudio { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVideoChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVideoRecording { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVoiceChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString VoicePrompt { get; }
Added methods:
public Foundation.NSError SetActive (bool active, AVAudioSessionSetActiveOptions options);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public Foundation.NSError SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options);
public Foundation.NSError SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetMode (AVAudioSessionMode mode, out Foundation.NSError error);
Obsoleted constructors:
[Obsolete ("Use the overload that takes a delegate that does not take a 'ref AudioBuffers' instead. Assigning a value to the 'inputData' parameter in the callback has no effect.")]
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler receiverHandler);
Added constructors:
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler2 receiverHandler);
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandlerRaw receiverHandler);
Obsoleted constructors:
[Obsolete ("Use the overload that takes a delegate that does not take a 'ref AudioBuffers' instead. Assigning a value to the 'inputData' parameter in the callback has no effect.")]
public AVAudioSourceNode (AVAudioSourceNodeRenderHandler2 renderHandler);
[Obsolete ("Use the overload that takes a delegate that does not take a 'ref AudioBuffers' instead. Assigning a value to the 'inputData' parameter in the callback has no effect.")]
public AVAudioSourceNode (AVAudioFormat format, AVAudioSourceNodeRenderHandler2 renderHandler);
Added constructors:
public AVAudioSourceNode (AVAudioSourceNodeRenderHandler3 renderHandler);
public AVAudioSourceNode (AVAudioSourceNodeRenderHandlerRaw renderHandler);
public AVAudioSourceNode (AVAudioFormat format, AVAudioSourceNodeRenderHandler3 renderHandler);
public AVAudioSourceNode (AVAudioFormat format, AVAudioSourceNodeRenderHandlerRaw renderHandler);
Added methods:
public static Foundation.NSString[] ToArray (this AVMetadataObjectType value);
public static AVMetadataObjectType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
Added property:
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> AllHttpResponseHeaderFields { get; }
Obsoleted methods:
[Obsolete ("Do not use this API, it doesn't work correctly. Use the non-Async version (WriteUtterance) instead.")]
public virtual System.Threading.Tasks.Task<AVAudioBuffer> WriteUtteranceAsync (AVSpeechUtterance utterance);
public static class AVAudioSessionCategoryExtensions {
// methods
public static Foundation.NSString GetConstant (this AVAudioSessionCategory self);
public static AVAudioSessionCategory GetValue (Foundation.NSString constant);
}
[Serializable]
public enum AVAudioSessionMode {
Default = 0,
GameChat = 4,
Measurement = 3,
MoviePlayback = 5,
SpokenAudio = 7,
VideoChat = 6,
VideoRecording = 2,
VoiceChat = 1,
VoicePrompt = 8,
}
public static class AVAudioSessionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this AVAudioSessionMode self);
public static AVAudioSessionMode GetValue (Foundation.NSString constant);
}
public sealed delegate AVAudioSinkNodeReceiverHandler2 : System.MulticastDelegate {
// constructors
public AVAudioSinkNodeReceiverHandler2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData);
}
public sealed delegate AVAudioSinkNodeReceiverHandlerRaw : System.MulticastDelegate {
// constructors
public AVAudioSinkNodeReceiverHandlerRaw (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IntPtr timestamp, uint frameCount, IntPtr inputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (IntPtr timestamp, uint frameCount, IntPtr inputData);
}
public sealed delegate AVAudioSourceNodeRenderHandler3 : System.MulticastDelegate {
// constructors
public AVAudioSourceNodeRenderHandler3 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ref bool isSilence, ref AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers outputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (ref bool isSilence, ref AudioToolbox.AudioTimeStamp timestamp, System.IAsyncResult result);
public virtual int Invoke (ref bool isSilence, ref AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers outputData);
}
public sealed delegate AVAudioSourceNodeRenderHandlerRaw : System.MulticastDelegate {
// constructors
public AVAudioSourceNodeRenderHandlerRaw (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IntPtr isSilence, IntPtr timestamp, uint frameCount, IntPtr outputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (IntPtr isSilence, IntPtr timestamp, uint frameCount, IntPtr outputData);
}
public class AVSampleCursor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected AVSampleCursor (Foundation.NSObjectFlag t);
protected AVSampleCursor (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVSampleCursorChunkInfo CurrentChunkInfo { get; }
public virtual AVSampleCursorStorageRange CurrentChunkStorageRange { get; }
public virtual Foundation.NSUrl CurrentChunkStorageUrl { get; }
public virtual AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; }
public virtual Foundation.NSDictionary CurrentSampleDependencyAttachments { get; }
public AVSampleCursorDependencyInfo CurrentSampleDependencyInfo2 { get; }
public virtual CoreMedia.CMTime CurrentSampleDuration { get; }
public virtual long CurrentSampleIndexInChunk { get; }
public virtual AVSampleCursorStorageRange CurrentSampleStorageRange { get; }
public virtual AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; }
public virtual CoreMedia.CMTime DecodeTimeStamp { get; }
public virtual CoreMedia.CMTime PresentationTimeStamp { get; }
public virtual nint SamplesRequiredForDecoderRefresh { get; }
// methods
public virtual Foundation.NSComparisonResult ComparePositionInDecodeOrder (AVSampleCursor positionOfCursor);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual CoreMedia.CMFormatDescription CopyCurrentSampleFormatDescription ();
public virtual bool SamplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThan (AVSampleCursor positionOfCursor);
public virtual bool SamplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThan (AVSampleCursor positionOfCursor);
public virtual CoreMedia.CMTime StepByDecodeTime (CoreMedia.CMTime deltaDecodeTime, out bool wasPinned);
public virtual CoreMedia.CMTime StepByPresentationTime (CoreMedia.CMTime deltaPresentationTime, out bool wasPinned);
public virtual long StepInDecodeOrder (long stepCount);
public virtual long StepInPresentationOrder (long stepCount);
}
public struct AVSampleCursorAudioDependencyInfo {
// fields
public bool IsIndependentlyDecodable;
public nint PacketRefreshCount;
}
Added method:
public static byte AXSupportsBidirectionalAXMFiHearingDeviceStreaming ();
public static class AXAnimatedImagesUtilities {
// properties
public static Foundation.NSString AnimatedImagesEnabledDidChangeNotification { get; }
public static bool Enabled { get; }
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public static class AXCustomContentProvider_Extensions {
// methods
public static System.Func<AXCustomContent[]> GetAccessibilityCustomContentHandler (this IAXCustomContentProvider This);
public static void SetAccessibilityCustomContentHandler (this IAXCustomContentProvider This, System.Func<AXCustomContent[]> value);
}
public static class AXPrefers {
// properties
public static Foundation.NSString HorizontalTextLayoutDidChangeNotification { get; }
// methods
public static bool HorizontalTextEnabled ();
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
Added values:
Ogg_3_0 = 9830403,
Ogg_4_0 = 12124164,
Ogg_5_0 = 13893637,
Ogg_5_1 = 13959174,
Ogg_6_1 = 14024711,
Ogg_7_1 = 14090248,
Added property:
public virtual ASUserAgeRange UserAgeRange { get; }
Added constructor:
public ASWebAuthenticationSession (Foundation.NSUrl url, ASWebAuthenticationSessionCallback callback, ASWebAuthenticationSessionCompletionHandler completionHandler);
Added property:
public virtual Foundation.NSDictionary AdditionalHeaderFields { get; set; }
Added method:
protected override void Dispose (bool disposing);
[Serializable]
public enum ASAuthorizationPublicKeyCredentialAttachment {
CrossPlatform = 1,
Platform = 0,
}
New Type: AuthenticationServices.ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState
[Serializable]
public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState {
Authorized = 0,
Denied = 1,
NotDetermined = 2,
}
[Serializable]
public enum ASPublicKeyCredentialClientDataCrossOriginValue {
CrossOrigin = 1,
NotSet = 0,
SameOriginWithAncestors = 2,
}
[Serializable]
public enum ASUserAgeRange {
Child = 1,
NotChild = 2,
Unknown = 0,
}
public class ASWebAuthenticationSessionCallback : Foundation.NSObject {
// constructors
protected ASWebAuthenticationSessionCallback (Foundation.NSObjectFlag t);
protected ASWebAuthenticationSessionCallback (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static ASWebAuthenticationSessionCallback Create (string customScheme);
public static ASWebAuthenticationSessionCallback Create (string httpsHost, string path);
public virtual bool MatchesUrl (Foundation.NSUrl url);
}
Added value:
FilteredDuringRestrictedSharingMode = 5,
Added constructor:
public CXSetMutedCallAction (Foundation.NSUuid callUuid);
Added property:
public static nint MaximumResults { get; }
Added properties:
public static Foundation.NSString CreationDateKey { get; }
public static Foundation.NSString CreatorUserRecordIdKey { get; }
public static Foundation.NSString LastModifiedUserRecordIdKey { get; }
public static Foundation.NSString ModificationDateKey { get; }
public static Foundation.NSString RecordIdKey { get; }
Obsoleted constructors:
[Obsolete ("Get them from 'CKFetchShareMetadataOperation' or platform-specific scene / app delegate callbacks.")]
public CKShareMetadata ();
public class CKSyncEngine : Foundation.NSObject {
// constructors
public CKSyncEngine (CKSyncEngineConfiguration configuration);
protected CKSyncEngine (Foundation.NSObjectFlag t);
protected CKSyncEngine (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKDatabase Database { get; }
public virtual CKSyncEngineState State { get; }
// methods
public virtual void CancelOperations (System.Action completionHandler);
public virtual System.Threading.Tasks.Task CancelOperationsAsync ();
public virtual void FetchChanges (System.Action<Foundation.NSError> completionHandler);
public virtual void FetchChanges (CKSyncEngineFetchChangesOptions options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task FetchChangesAsync ();
public virtual System.Threading.Tasks.Task FetchChangesAsync (CKSyncEngineFetchChangesOptions options);
public virtual void SendChanges (System.Action<Foundation.NSError> completionHandler);
public virtual void SendChanges (CKSyncEngineSendChangesOptions options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SendChangesAsync ();
public virtual System.Threading.Tasks.Task SendChangesAsync (CKSyncEngineSendChangesOptions options);
}
public class CKSyncEngineAccountChangeEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineAccountChangeEvent ();
protected CKSyncEngineAccountChangeEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineAccountChangeEvent (IntPtr handle);
// properties
public virtual CKSyncEngineAccountChangeType ChangeType { get; }
public override IntPtr ClassHandle { get; }
public virtual CKRecordID CurrentUser { get; }
public virtual CKRecordID PreviousUser { get; }
}
[Serializable]
public enum CKSyncEngineAccountChangeType {
SignIn = 0,
SignOut = 1,
SwitchAccounts = 2,
}
public class CKSyncEngineConfiguration : Foundation.NSObject {
// constructors
protected CKSyncEngineConfiguration (Foundation.NSObjectFlag t);
protected CKSyncEngineConfiguration (IntPtr handle);
public CKSyncEngineConfiguration (CKDatabase database, CKSyncEngineStateSerialization stateSerialization, ICKSyncEngineDelegate delegate);
// properties
public virtual bool AutomaticallySync { get; set; }
public override IntPtr ClassHandle { get; }
public virtual CKDatabase Database { get; set; }
public ICKSyncEngineDelegate Delegate { get; set; }
public virtual CKSyncEngineStateSerialization StateSerialization { get; set; }
public virtual string SubscriptionId { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
}
public abstract class CKSyncEngineDelegate : Foundation.NSObject, ICKSyncEngineDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CKSyncEngineDelegate ();
protected CKSyncEngineDelegate (Foundation.NSObjectFlag t);
protected CKSyncEngineDelegate (IntPtr handle);
// methods
public abstract void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public virtual CKSyncEngineFetchChangesOptions SyncEngine (CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context);
public abstract CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
}
public static class CKSyncEngineDelegate_Extensions {
// methods
public static CKSyncEngineFetchChangesOptions SyncEngine (this ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context);
}
public class CKSyncEngineDidFetchChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidFetchChangesEvent ();
protected CKSyncEngineDidFetchChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidFetchChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchChangesContext Context { get; }
}
public class CKSyncEngineDidFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidFetchRecordZoneChangesEvent ();
protected CKSyncEngineDidFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidFetchRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEngineDidSendChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidSendChangesEvent ();
protected CKSyncEngineDidSendChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidSendChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesContext Context { get; }
}
public class CKSyncEngineEvent : Foundation.NSObject {
// constructors
protected CKSyncEngineEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineEvent (IntPtr handle);
// properties
public virtual CKSyncEngineAccountChangeEvent AccountChangeEvent { get; }
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineDidFetchChangesEvent DidFetchChangesEvent { get; }
public virtual CKSyncEngineDidFetchRecordZoneChangesEvent DidFetchRecordZoneChangesEvent { get; }
public virtual CKSyncEngineDidSendChangesEvent DidSendChangesEvent { get; }
public virtual CKSyncEngineFetchedDatabaseChangesEvent FetchedDatabaseChangesEvent { get; }
public virtual CKSyncEngineFetchedRecordZoneChangesEvent FetchedRecordZoneChangesEvent { get; }
public virtual CKSyncEngineSentDatabaseChangesEvent SentDatabaseChangesEvent { get; }
public virtual CKSyncEngineSentRecordZoneChangesEvent SentRecordZoneChangesEvent { get; }
public virtual CKSyncEngineStateUpdateEvent StateUpdateEvent { get; }
public virtual CKSyncEngineEventType Type { get; }
public virtual CKSyncEngineWillFetchChangesEvent WillFetchChangesEvent { get; }
public virtual CKSyncEngineWillFetchRecordZoneChangesEvent WillFetchRecordZoneChangesEvent { get; }
public virtual CKSyncEngineWillSendChangesEvent WillSendChangesEvent { get; }
}
[Serializable]
public enum CKSyncEngineEventType {
AccountChange = 1,
DidFetchChanges = 9,
DidFetchRecordZoneChanges = 8,
DidSendChanges = 11,
FetchedDatabaseChanges = 2,
FetchedRecordZoneChanges = 3,
SentDatabaseChanges = 4,
SentRecordZoneChanges = 5,
StateUpdate = 0,
WillFetchChanges = 6,
WillFetchRecordZoneChanges = 7,
WillSendChanges = 10,
}
public class CKSyncEngineFailedRecordSave : Foundation.NSObject {
// constructors
protected CKSyncEngineFailedRecordSave (Foundation.NSObjectFlag t);
protected CKSyncEngineFailedRecordSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecord Record { get; }
}
public class CKSyncEngineFailedZoneSave : Foundation.NSObject {
// constructors
protected CKSyncEngineFailedZoneSave (Foundation.NSObjectFlag t);
protected CKSyncEngineFailedZoneSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecordZone RecordZone { get; }
}
public class CKSyncEngineFetchChangesContext : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchChangesContext (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchChangesOptions Options { get; }
public virtual CKSyncEngineSyncReason Reason { get; }
}
public class CKSyncEngineFetchChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineFetchChangesOptions ();
public CKSyncEngineFetchChangesOptions (CKSyncEngineFetchChangesScope scope);
protected CKSyncEngineFetchChangesOptions (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKOperationGroup OperationGroup { get; set; }
public virtual CKRecordZoneID[] PrioritizedZoneIds { get; set; }
public virtual CKSyncEngineFetchChangesScope Scope { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineFetchChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineFetchChangesScope ();
protected CKSyncEngineFetchChangesScope (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesScope (IntPtr handle);
public CKSyncEngineFetchChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; }
// methods
public virtual bool Contains (CKRecordZoneID zoneId);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineFetchedDatabaseChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineFetchedDatabaseChangesEvent ();
protected CKSyncEngineFetchedDatabaseChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedDatabaseChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchedZoneDeletion[] Deletions { get; }
public virtual CKRecordZone[] Modifications { get; }
}
public class CKSyncEngineFetchedRecordDeletion : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchedRecordDeletion (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedRecordDeletion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID RecordId { get; }
public virtual string RecordType { get; }
}
public class CKSyncEngineFetchedRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineFetchedRecordZoneChangesEvent ();
protected CKSyncEngineFetchedRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchedRecordDeletion[] Deletions { get; }
public virtual CKRecord[] Modifications { get; }
}
public class CKSyncEngineFetchedZoneDeletion : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchedZoneDeletion (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedZoneDeletion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineZoneDeletionReason Reason { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEnginePendingDatabaseChange : Foundation.NSObject {
// constructors
protected CKSyncEnginePendingDatabaseChange (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingDatabaseChange (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEnginePendingDatabaseChangeType Type { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
[Serializable]
public enum CKSyncEnginePendingDatabaseChangeType {
DeleteZone = 1,
SaveZone = 0,
}
public class CKSyncEnginePendingRecordZoneChange : Foundation.NSObject {
// constructors
protected CKSyncEnginePendingRecordZoneChange (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingRecordZoneChange (IntPtr handle);
public CKSyncEnginePendingRecordZoneChange (CKRecordID recordId, CKSyncEnginePendingRecordZoneChangeType type);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID RecordId { get; }
public virtual CKSyncEnginePendingRecordZoneChangeType Type { get; }
}
[Serializable]
public enum CKSyncEnginePendingRecordZoneChangeType {
DeleteRecord = 1,
SaveRecord = 0,
}
public class CKSyncEnginePendingZoneDelete : CloudKit.CKSyncEnginePendingDatabaseChange {
// constructors
public CKSyncEnginePendingZoneDelete ();
public CKSyncEnginePendingZoneDelete (CKRecordZoneID zoneId);
protected CKSyncEnginePendingZoneDelete (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingZoneDelete (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class CKSyncEnginePendingZoneSave : CloudKit.CKSyncEnginePendingDatabaseChange {
// constructors
public CKSyncEnginePendingZoneSave ();
public CKSyncEnginePendingZoneSave (CKRecordZone zone);
protected CKSyncEnginePendingZoneSave (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingZoneSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZone Zone { get; }
}
public class CKSyncEngineRecordZoneChangeBatch : Foundation.NSObject {
// constructors
protected CKSyncEngineRecordZoneChangeBatch (Foundation.NSObjectFlag t);
protected CKSyncEngineRecordZoneChangeBatch (IntPtr handle);
public CKSyncEngineRecordZoneChangeBatch (CKSyncEnginePendingRecordZoneChange[] pendingChanges, System.Func<CKRecordID,CloudKit.CKRecord> recordProvider);
public CKSyncEngineRecordZoneChangeBatch (CKRecord[] recordsToSave, CKRecordID[] recordIdsToDelete, bool atomicByZone);
// properties
public virtual bool AtomicByZone { get; set; }
public override IntPtr ClassHandle { get; }
public virtual CKRecordID[] RecordIdsToDelete { get; }
public virtual CKRecord[] RecordsToSave { get; }
}
public class CKSyncEngineSendChangesContext : Foundation.NSObject {
// constructors
protected CKSyncEngineSendChangesContext (Foundation.NSObjectFlag t);
protected CKSyncEngineSendChangesContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesOptions Options { get; }
public virtual CKSyncEngineSyncReason Reason { get; }
}
public class CKSyncEngineSendChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineSendChangesOptions ();
public CKSyncEngineSendChangesOptions (CKSyncEngineSendChangesScope scope);
protected CKSyncEngineSendChangesOptions (Foundation.NSObjectFlag t);
protected CKSyncEngineSendChangesOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKOperationGroup OperationGroup { get; set; }
public virtual CKSyncEngineSendChangesScope Scope { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineSendChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineSendChangesScope ();
protected CKSyncEngineSendChangesScope (Foundation.NSObjectFlag t);
public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordID> recordIds);
protected CKSyncEngineSendChangesScope (IntPtr handle);
public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; }
public virtual Foundation.NSSet<CKRecordID> RecordIds { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; }
// methods
public virtual bool ContainsPendingRecordZoneChange (CKSyncEnginePendingRecordZoneChange pendingRecordZoneChange);
public virtual bool ContainsRecordId (CKRecordID recordId);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineSentDatabaseChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineSentDatabaseChangesEvent ();
protected CKSyncEngineSentDatabaseChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineSentDatabaseChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZoneID[] DeletedZoneIds { get; }
public virtual Foundation.NSDictionary<CKRecordZoneID,Foundation.NSError> FailedZoneDeletes { get; }
public virtual CKSyncEngineFailedZoneSave[] FailedZoneSaves { get; }
public virtual CKRecordZone[] SavedZones { get; }
}
public class CKSyncEngineSentRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineSentRecordZoneChangesEvent ();
protected CKSyncEngineSentRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineSentRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID[] DeletedRecordIds { get; }
public virtual Foundation.NSDictionary<CKRecordID,Foundation.NSError> FailedRecordDeletes { get; }
public virtual CKSyncEngineFailedRecordSave[] FailedRecordSaves { get; }
public virtual CKRecord[] SavedRecords { get; }
}
public class CKSyncEngineState : Foundation.NSObject {
// constructors
protected CKSyncEngineState (Foundation.NSObjectFlag t);
protected CKSyncEngineState (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool HasPendingUntrackedChanges { get; set; }
public virtual CKSyncEnginePendingDatabaseChange[] PendingDatabaseChanges { get; }
public virtual CKSyncEnginePendingRecordZoneChange[] PendingRecordZoneChanges { get; }
public virtual CKRecordZoneID[] ZoneIdsWithUnfetchedServerChanges { get; }
// methods
public virtual void AddPendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes);
public virtual void AddPendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes);
public virtual void RemovePendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes);
public virtual void RemovePendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes);
}
public class CKSyncEngineStateSerialization : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineStateSerialization (Foundation.NSCoder coder);
protected CKSyncEngineStateSerialization (Foundation.NSObjectFlag t);
protected CKSyncEngineStateSerialization (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class CKSyncEngineStateUpdateEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineStateUpdateEvent ();
protected CKSyncEngineStateUpdateEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineStateUpdateEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineStateSerialization StateSerialization { get; }
}
[Serializable]
public enum CKSyncEngineSyncReason {
Manual = 1,
Scheduled = 0,
}
public class CKSyncEngineWillFetchChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillFetchChangesEvent ();
protected CKSyncEngineWillFetchChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillFetchChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchChangesContext Context { get; }
}
public class CKSyncEngineWillFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillFetchRecordZoneChangesEvent ();
protected CKSyncEngineWillFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillFetchRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEngineWillSendChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillSendChangesEvent ();
protected CKSyncEngineWillSendChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillSendChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesContext Context { get; }
}
[Serializable]
public enum CKSyncEngineZoneDeletionReason {
Deleted = 0,
EncryptedDataReset = 2,
Purged = 1,
}
public interface ICKSyncEngineDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public abstract void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public abstract CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
}
Added values:
Brotli = 2818,
LZBitmap = 1794,
Added value:
FeatureNotAvailable = 104,
Added event:
public event System.EventHandler<CBPeripheralDiconnectionEventEventArgs> DidDisconnectPeripheral;
Added method:
public virtual void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
Added method:
public static void DidDisconnectPeripheral (this ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
Added property:
public bool? EnableAutoReconnect { get; }
public class CBPeripheralDiconnectionEventEventArgs : System.EventArgs {
// constructors
public CBPeripheralDiconnectionEventEventArgs (CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
// properties
public Foundation.NSError Error { get; set; }
public bool IsReconnecting { get; set; }
public CBPeripheral Peripheral { get; set; }
public double Timestamp { get; set; }
}
Added value:
CompositeAttributeType = 2100,
Added property:
public virtual string VersionChecksum { get; }
Added method:
public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> ChecksumsForVersionedModel (Foundation.NSUrl modelUrl, out Foundation.NSError error);
Added methods:
public virtual bool FinishDeferredLightweightMigration (out Foundation.NSError error);
public virtual bool FinishDeferredLightweightMigrationTask (out Foundation.NSError error);
Added properties:
public static Foundation.NSString DeferredLightweightMigrationOptionKey { get; }
public static Foundation.NSString StagedMigrationManagerOptionKey { get; }
public class NSCompositeAttributeDescription : CoreData.NSAttributeDescription {
// constructors
public NSCompositeAttributeDescription ();
public NSCompositeAttributeDescription (Foundation.NSCoder coder);
protected NSCompositeAttributeDescription (Foundation.NSObjectFlag t);
protected NSCompositeAttributeDescription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSAttributeDescription[] Elements { get; set; }
}
public class NSCustomMigrationStage : CoreData.NSMigrationStage {
// constructors
protected NSCustomMigrationStage (Foundation.NSObjectFlag t);
protected NSCustomMigrationStage (IntPtr handle);
public NSCustomMigrationStage (NSManagedObjectModelReference currentModel, NSManagedObjectModelReference nextModel);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSManagedObjectModelReference CurrentModel { get; }
public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> DidMigrateHandler { get; set; }
public virtual NSManagedObjectModelReference NextModel { get; }
public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> WillMigrateHandler { get; set; }
}
public class NSLightweightMigrationStage : CoreData.NSMigrationStage {
// constructors
protected NSLightweightMigrationStage (Foundation.NSObjectFlag t);
protected NSLightweightMigrationStage (IntPtr handle);
public NSLightweightMigrationStage (string[] versionChecksums);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] VersionChecksums { get; }
}
public class NSManagedObjectModelReference : Foundation.NSObject {
// constructors
protected NSManagedObjectModelReference (Foundation.NSObjectFlag t);
protected NSManagedObjectModelReference (IntPtr handle);
public NSManagedObjectModelReference (NSManagedObjectModel model, string versionChecksum);
public NSManagedObjectModelReference (Foundation.NSUrl fileUrl, string versionChecksum);
public NSManagedObjectModelReference (Foundation.NSDictionary versionHash, Foundation.NSBundle bundle, string versionChecksum);
public NSManagedObjectModelReference (string modelName, Foundation.NSBundle bundle, string versionChecksum);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSManagedObjectModel ResolvedModel { get; }
public virtual string VersionChecksum { get; }
}
public class NSMigrationStage : Foundation.NSObject {
// constructors
public NSMigrationStage ();
protected NSMigrationStage (Foundation.NSObjectFlag t);
protected NSMigrationStage (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Label { get; set; }
}
public class NSStagedMigrationManager : Foundation.NSObject {
// constructors
public NSStagedMigrationManager (NSMigrationStage[] stages);
protected NSStagedMigrationManager (Foundation.NSObjectFlag t);
protected NSStagedMigrationManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSPersistentContainer Container { get; }
public virtual NSMigrationStage[] Stages { get; }
}
Added properties:
public string[] AllModes { get; }
public string CurrentMode { get; }
Added method:
public CFRunLoopExitReason RunInMode (string mode, double seconds, bool returnAfterSourceHandled);
Added method:
public void DrawConicGradient (CGGradient gradient, CGPoint point, nfloat angle);
public class CLBackgroundActivitySession : Foundation.NSObject {
// constructors
protected CLBackgroundActivitySession (Foundation.NSObjectFlag t);
protected CLBackgroundActivitySession (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static CLBackgroundActivitySession Create ();
public virtual void Invalidate ();
}
[Serializable]
public enum CLLiveUpdateConfiguration {
Airborne = 4,
AutomotiveNavigation = 1,
Default = 0,
Fitness = 3,
OtherNavigation = 2,
}
public class CLLocationUpdater : Foundation.NSObject {
// constructors
protected CLLocationUpdater (Foundation.NSObjectFlag t);
protected CLLocationUpdater (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static CLLocationUpdater CreateLiveUpdates (CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler);
public static CLLocationUpdater CreateLiveUpdates (CLLiveUpdateConfiguration configuration, CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler);
public virtual void Invalidate ();
public virtual void Pause ();
public virtual void Resume ();
}
[Serializable]
public enum CLMonitoringState {
Satisfied = 1,
Unknown = 0,
Unmonitored = 3,
Unsatisfied = 2,
}
public class CLUpdate : Foundation.NSObject {
// constructors
public CLUpdate ();
protected CLUpdate (Foundation.NSObjectFlag t);
protected CLUpdate (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool IsStationary { get; }
public virtual CLLocation Location { get; }
}
Added properties:
public static IMLComputeDeviceProtocol[] AllComputeDevices { get; }
public static IMLComputeDeviceProtocol[] AvailableComputeDevices { get; }
Added methods:
public virtual void GetPrediction (IMLFeatureProvider input, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual void GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input, MLPredictionOptions options);
Added property:
public virtual MLOptimizationHints OptimizationHints { get; set; }
Added value:
PredictionCancelled = 11,
public interface IMLComputeDeviceProtocol : ObjCRuntime.INativeObject, System.IDisposable {
}
public class MLComputePlan : Foundation.NSObject {
// constructors
protected MLComputePlan (Foundation.NSObjectFlag t);
protected MLComputePlan (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLModelStructure ModelStructure { get; }
// methods
public virtual MLComputePlanDeviceUsage ComputeDeviceUsage (MLModelStructureNeuralNetworkLayer neuralNetworkLayer);
public virtual MLComputePlanDeviceUsage ComputeDeviceUsage (MLModelStructureProgramOperation programOperation);
public virtual MLComputePlanCost GetEstimatedCost (MLModelStructureProgramOperation programOperation);
public static void Load (MLModelAsset modelAsset, MLModelConfiguration configuration, System.Action<MLComputePlan,Foundation.NSError> handler);
public static void Load (Foundation.NSUrl contentsUrl, MLModelConfiguration configuration, System.Action<MLComputePlan,Foundation.NSError> handler);
}
public class MLComputePlanCost : Foundation.NSObject {
// constructors
protected MLComputePlanCost (Foundation.NSObjectFlag t);
protected MLComputePlanCost (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Weight { get; }
}
public class MLComputePlanDeviceUsage : Foundation.NSObject {
// constructors
protected MLComputePlanDeviceUsage (Foundation.NSObjectFlag t);
protected MLComputePlanDeviceUsage (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual IMLComputeDeviceProtocol PreferredComputeDevice { get; }
public virtual IMLComputeDeviceProtocol[] SupportedComputeDevices { get; }
}
public class MLCpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLCpuComputeDevice (Foundation.NSObjectFlag t);
protected MLCpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLGpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLGpuComputeDevice (Foundation.NSObjectFlag t);
protected MLGpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject MetalDevice { get; }
}
public class MLModelStructure : Foundation.NSObject {
// constructors
protected MLModelStructure (Foundation.NSObjectFlag t);
protected MLModelStructure (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLModelStructureNeuralNetwork NeuralNetwork { get; }
public virtual MLModelStructurePipeline Pipeline { get; }
public virtual MLModelStructureProgram Program { get; }
// methods
public static void Load (MLModelAsset modelAsset, System.Action<MLModelStructure,Foundation.NSError> handler);
public static void Load (Foundation.NSUrl url, System.Action<MLModelStructure,Foundation.NSError> handler);
}
public class MLModelStructureNeuralNetwork : Foundation.NSObject {
// constructors
protected MLModelStructureNeuralNetwork (Foundation.NSObjectFlag t);
protected MLModelStructureNeuralNetwork (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLModelStructureNeuralNetworkLayer[] Layers { get; }
}
public class MLModelStructureNeuralNetworkLayer : Foundation.NSObject {
// constructors
protected MLModelStructureNeuralNetworkLayer (Foundation.NSObjectFlag t);
protected MLModelStructureNeuralNetworkLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] InputNames { get; }
public virtual string Name { get; }
public virtual string[] OutputNames { get; }
public virtual string Type { get; }
}
public class MLModelStructurePipeline : Foundation.NSObject {
// constructors
protected MLModelStructurePipeline (Foundation.NSObjectFlag t);
protected MLModelStructurePipeline (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] SubModelNames { get; }
public virtual MLModelStructure[] SubModels { get; }
}
public class MLModelStructureProgram : Foundation.NSObject {
// constructors
protected MLModelStructureProgram (Foundation.NSObjectFlag t);
protected MLModelStructureProgram (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,CoreML.MLModelStructureProgramFunction> Functions { get; }
}
public class MLModelStructureProgramArgument : Foundation.NSObject {
// constructors
protected MLModelStructureProgramArgument (Foundation.NSObjectFlag t);
protected MLModelStructureProgramArgument (IntPtr handle);
// properties
public virtual MLModelStructureProgramBinding[] Bindings { get; }
public override IntPtr ClassHandle { get; }
}
public class MLModelStructureProgramBinding : Foundation.NSObject {
// constructors
protected MLModelStructureProgramBinding (Foundation.NSObjectFlag t);
protected MLModelStructureProgramBinding (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Name { get; }
public virtual MLModelStructureProgramValue Value { get; }
}
public class MLModelStructureProgramBlock : Foundation.NSObject {
// constructors
protected MLModelStructureProgramBlock (Foundation.NSObjectFlag t);
protected MLModelStructureProgramBlock (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLModelStructureProgramNamedValueType[] Inputs { get; }
public virtual MLModelStructureProgramOperation[] Operations { get; }
public virtual string[] OutputNames { get; }
}
public class MLModelStructureProgramFunction : Foundation.NSObject {
// constructors
protected MLModelStructureProgramFunction (Foundation.NSObjectFlag t);
protected MLModelStructureProgramFunction (IntPtr handle);
// properties
public virtual MLModelStructureProgramBlock Block { get; }
public override IntPtr ClassHandle { get; }
public virtual MLModelStructureProgramNamedValueType[] Inputs { get; }
}
public class MLModelStructureProgramNamedValueType : Foundation.NSObject {
// constructors
protected MLModelStructureProgramNamedValueType (Foundation.NSObjectFlag t);
protected MLModelStructureProgramNamedValueType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Name { get; }
public virtual MLModelStructureProgramValueType Type { get; }
}
public class MLModelStructureProgramOperation : Foundation.NSObject {
// constructors
protected MLModelStructureProgramOperation (Foundation.NSObjectFlag t);
protected MLModelStructureProgramOperation (IntPtr handle);
// properties
public virtual MLModelStructureProgramBlock[] Blocks { get; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,CoreML.MLModelStructureProgramArgument> Inputs { get; }
public virtual string OperatorName { get; }
public virtual MLModelStructureProgramNamedValueType[] Outputs { get; }
}
public class MLModelStructureProgramValue : Foundation.NSObject {
// constructors
protected MLModelStructureProgramValue (Foundation.NSObjectFlag t);
protected MLModelStructureProgramValue (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLModelStructureProgramValueType : Foundation.NSObject {
// constructors
protected MLModelStructureProgramValueType (Foundation.NSObjectFlag t);
protected MLModelStructureProgramValueType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLNeuralEngineComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLNeuralEngineComputeDevice (Foundation.NSObjectFlag t);
protected MLNeuralEngineComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint TotalCoreCount { get; }
}
public class MLOptimizationHints : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MLOptimizationHints ();
public MLOptimizationHints (Foundation.NSCoder coder);
protected MLOptimizationHints (Foundation.NSObjectFlag t);
protected MLOptimizationHints (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLReshapeFrequencyHint ReshapeFrequency { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum MLReshapeFrequencyHint {
Frequent = 0,
Infrequent = 1,
}
Added property:
public static string Version { get; }
Added property:
public virtual Foundation.NSMeasurement<Foundation.NSUnitLength> MaximumDepth { get; }
public class CMBatchedSensorManager : Foundation.NSObject {
// constructors
public CMBatchedSensorManager ();
protected CMBatchedSensorManager (Foundation.NSObjectFlag t);
protected CMBatchedSensorManager (IntPtr handle);
// properties
public virtual bool AccelerometerActive { get; }
public virtual CMAccelerometerData[] AccelerometerBatch { get; }
public virtual nint AccelerometerDataFrequency { get; }
public static bool AccelerometerSupported { get; }
public static CMAuthorizationStatus AuthorizationStatus { get; }
public override IntPtr ClassHandle { get; }
public virtual bool DeviceMotionActive { get; }
public virtual CMDeviceMotion[] DeviceMotionBatch { get; }
public virtual nint DeviceMotionDataFrequency { get; }
public static bool DeviceMotionSupported { get; }
// methods
public virtual void StartAccelerometerUpdates ();
public virtual void StartAccelerometerUpdates (System.Action<CMAccelerometerData[],Foundation.NSError> handler);
public virtual void StartDeviceMotionUpdates ();
public virtual void StartDeviceMotionUpdates (System.Action<CMDeviceMotion[],Foundation.NSError> handler);
public virtual void StopAccelerometerUpdates ();
public virtual void StopDeviceMotionUpdates ();
}
public class CMHighFrequencyHeartRateData : CoreMotion.CMLogItem {
// constructors
public CMHighFrequencyHeartRateData ();
public CMHighFrequencyHeartRateData (Foundation.NSCoder coder);
protected CMHighFrequencyHeartRateData (Foundation.NSObjectFlag t);
protected CMHighFrequencyHeartRateData (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CMHighFrequencyHeartRateDataConfidence Confidence { get; }
public virtual Foundation.NSDate Date { get; }
public virtual double HeartRate { get; }
}
[Serializable]
public enum CMHighFrequencyHeartRateDataConfidence {
High = 2,
Highest = 3,
Low = 0,
Medium = 1,
}
public class CMOdometerData : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMOdometerData ();
public CMOdometerData (Foundation.NSCoder coder);
protected CMOdometerData (Foundation.NSObjectFlag t);
protected CMOdometerData (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double DeltaAltitude { get; }
public virtual double DeltaDistance { get; }
public virtual double DeltaDistanceAccuracy { get; }
public virtual Foundation.NSDate EndDate { get; }
public virtual Foundation.NSDate GpsDate { get; }
public virtual Foundation.NSNumber MaxAbsSlope { get; }
public virtual CMOdometerOriginDevice OriginDevice { get; }
public virtual Foundation.NSNumber Slope { get; }
public virtual double Speed { get; }
public virtual double SpeedAccuracy { get; }
public virtual Foundation.NSDate StartDate { get; }
public virtual double VerticalAccuracy { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum CMOdometerOriginDevice {
Local = 1,
Remote = 2,
Unknown = 0,
}
Obsoleted methods:
[Obsolete ("Use 'MatchFontDescriptors (CTFontDescriptor[], NSSet, CTFontDescriptorProgressHandler)' instead.")]
public static bool MatchFontDescriptors (CTFontDescriptor[] descriptors, Foundation.NSSet mandatoryAttributes, System.Func<CTFontDescriptorMatchingState,System.IntPtr,System.Boolean> progressHandler);
Added method:
public static bool MatchFontDescriptors (CTFontDescriptor[] descriptors, Foundation.NSSet mandatoryAttributes, CTFontDescriptor.CTFontDescriptorProgressHandler progressHandler);
Added property:
public bool? WeakEnabled { get; set; }
public class CTFontDescriptorMatchingProgress : Foundation.DictionaryContainer {
// constructors
public CTFontDescriptorMatchingProgress ();
public CTFontDescriptorMatchingProgress (Foundation.NSDictionary dictionary);
// properties
public long? CurrentAssetSize { get; }
public CTFontDescriptor[] Descriptors { get; }
public Foundation.NSError Error { get; }
public double? Percentage { get; }
public CTFontDescriptor[] Result { get; }
public CTFontDescriptor SourceDescriptor { get; }
public long? TotalAssetSize { get; }
public long? TotalDownloadedSize { get; }
}
Added properties:
public static Foundation.NSString LogTransferFunctionAppleLogKey { get; }
public static Foundation.NSString LogTransferFunctionKey { get; }
Added value:
WriteOnly = 4,
Added methods:
public virtual void RequestFullAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestFullAccessToEventsAsync ();
public virtual void RequestFullAccessToReminders (EKEventStoreRequestAccessCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestFullAccessToRemindersAsync ();
public virtual void RequestWriteOnlyAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestWriteOnlyAccessToEventsAsync ();
public sealed delegate EKEventStoreRequestAccessCompletionHandler : System.MulticastDelegate {
// constructors
public EKEventStoreRequestAccessCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (bool didRequestAccess, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (bool didRequestAccess, Foundation.NSError error);
}
Added methods:
protected T GetStrongDictionary<T> (NSString key, System.Func<NSDictionary,T> createStrongDictionary);
protected UIKit.UIEdgeInsets? GetUIEdgeInsets (NSString key);
protected void SetUIEdgeInsets (NSString key, UIKit.UIEdgeInsets? value);
Added method:
public virtual System.Collections.Generic.IEnumerator<NSObject> GetEnumerator ();
Added method:
public virtual System.Collections.Generic.IEnumerator<TKey> GetEnumerator ();
Obsoleted properties:
[Obsolete ("Use 'CharacterEncoding' instead.")]
public NSStringEncoding? StringEncoding { get; set; }
Added properties:
public NSStringEncoding? CharacterEncoding { get; set; }
public float? CocoaVersion { get; set; }
public NSAttributedStringDocumentAttributes DefaultAttributes { get; set; }
public UIKit.NSTextScalingType? SourceTextScaling { get; set; }
public UIKit.NSTextScalingType? TextScaling { get; set; }
Added values:
InflectionAgreementArgument = 10,
InflectionAgreementConcept = 11,
InflectionReferentConcept = 12,
Added property:
public static NSString BundleDidLoadNotification { get; }
Added properties:
public static NSCharacterSet UrlFragmentAllowed { get; }
public static NSCharacterSet UrlHostAllowed { get; }
public static NSCharacterSet UrlPasswordAllowed { get; }
public static NSCharacterSet UrlPathAllowed { get; }
public static NSCharacterSet UrlQueryAllowed { get; }
public static NSCharacterSet UrlUserAllowed { get; }
Added value:
FileProtectionCompleteWhenUserInactive = 1342177280,
Added property:
public static NSString SystemClockDidChangeNotification { get; }
Obsoleted properties:
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionComplete { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionCompleteUnlessOpen { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionCompleteUntilFirstUserAuthentication { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionNone { get; }
Added properties:
public virtual string LanguageIdentifier { get; }
public virtual string RegionCode { get; }
Added properties:
public virtual NSGrammaticalDefiniteness Definiteness { get; set; }
public virtual NSGrammaticalDetermination Determination { get; set; }
public virtual NSGrammaticalCase GrammaticalCase { get; set; }
public virtual NSGrammaticalPerson GrammaticalPerson { get; set; }
public virtual NSGrammaticalPronounType PronounType { get; set; }
Added method:
public virtual System.Collections.Generic.IEnumerator<TKey> GetEnumerator ();
Added method:
public virtual System.Collections.Generic.IEnumerator<TKey> GetEnumerator ();
Added methods:
public bool IsEqualTo (NSNumber number);
public virtual bool IsEqualTo (IntPtr number);
Added method:
public virtual System.Collections.Generic.IEnumerator<TKey> GetEnumerator ();
Added property:
public static NSString PortDidBecomeInvalidNotification { get; }
Added method:
public virtual System.Collections.Generic.IEnumerator<TKey> GetEnumerator ();
Added properties:
public static NSString ThreadWillExitNotification { get; }
public static NSString WillBecomeMultiThreadedNotification { get; }
Added property:
public static NSString SystemTimeZoneDidChangeNotification { get; }
Added properties:
public virtual nuint RedoCount { get; }
public virtual nuint UndoCount { get; }
Added properties:
public static NSString DirectoryEntryCountKey { get; }
public static NSString FileProtectionCompleteWhenUserInactive { get; }
Added methods:
public static NSUrl CreateFileUrl (string path);
public static NSUrl CreateFileUrl (string path, bool isDir);
public static NSUrl FromString (string url, bool encodingInvalidCharacters);
Added method:
public static NSUrlComponents FromString (string url, bool encodingInvalidCharacters);
Obsoleted methods:
[Obsolete ("This API is not available on this platform.")]
public static NSData SendSynchronousRequest (NSUrlRequest request, out NSUrlResponse response, out NSError error);
Added methods:
public virtual NSUrlSessionUploadTask CreateUploadTask (NSData resumeData);
public virtual NSUrlSessionUploadTask CreateUploadTask (NSData resumeData, System.Action<NSData,Foundation.NSUrlResponse,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<NSUrlSessionUploadTaskResumeRequest> CreateUploadTaskAsync (NSData resumeData);
public virtual System.Threading.Tasks.Task<NSUrlSessionUploadTaskResumeRequest> CreateUploadTaskAsync (NSData resumeData, out NSUrlSessionUploadTask result);
Added property:
public Network.NWProxyConfig[] ProxyConfigurations { get; set; }
Added methods:
public virtual void DidReceiveInformationalResponse (NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response);
public virtual void NeedNewBodyStream (NSUrlSession session, NSUrlSessionTask task, long offset, System.Action<NSInputStream> completionHandler);
Added methods:
public static void DidReceiveInformationalResponse (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task, NSHttpUrlResponse response);
public static void NeedNewBodyStream (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task, long offset, System.Action<NSInputStream> completionHandler);
Added property:
public static NSString ResumeDataKey { get; }
Added methods:
public virtual void CancelByProducingResumeData (System.Action<NSData> completionHandler);
public virtual System.Threading.Tasks.Task<NSData> CancelByProducingResumeDataAsync ();
Added property:
public bool BackwardsCompatibleCodeGeneration { get; set; }
public sealed class NSExceptionError : Foundation.NSError {
// constructors
public NSExceptionError (System.Exception exception);
// properties
public System.Exception Exception { get; }
}
[Serializable]
public enum NSFileProtectionType {
Complete = 0,
CompleteUnlessOpen = 1,
CompleteUntilFirstUserAuthentication = 2,
CompleteWhenUserInactive = 4,
None = 3,
}
public static class NSFileProtectionTypeExtensions {
// methods
public static NSString GetConstant (this NSFileProtectionType self);
public static NSFileProtectionType GetValue (NSString constant);
}
[Serializable]
public enum NSGrammaticalCase {
Ablative = 6,
Accusative = 2,
Adessive = 7,
Allative = 8,
Dative = 3,
Elative = 9,
Essive = 11,
Genitive = 4,
Illative = 10,
Inessive = 12,
Locative = 13,
Nominative = 1,
NotSet = 0,
Prepositional = 5,
Translative = 14,
}
[Serializable]
public enum NSGrammaticalDefiniteness {
Definite = 2,
Indefinite = 1,
NotSet = 0,
}
[Serializable]
public enum NSGrammaticalDetermination {
Dependent = 2,
Independent = 1,
NotSet = 0,
}
[Serializable]
public enum NSGrammaticalPerson {
First = 1,
NotSet = 0,
Second = 2,
Third = 3,
}
[Serializable]
public enum NSGrammaticalPronounType {
NotSet = 0,
Personal = 1,
Possessive = 3,
Reflexive = 2,
}
public class NSMorphologyPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSMorphologyPronoun (NSCoder coder);
protected NSMorphologyPronoun (NSObjectFlag t);
protected NSMorphologyPronoun (IntPtr handle);
public NSMorphologyPronoun (string pronoun, NSMorphology morphology, NSMorphology dependentMorphology);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSMorphology DependentMorphology { get; }
public virtual NSMorphology Morphology { get; }
public virtual string Pronoun { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
}
public class NSTermOfAddress : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSTermOfAddress (NSCoder coder);
protected NSTermOfAddress (NSObjectFlag t);
protected NSTermOfAddress (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static NSTermOfAddress Feminine { get; }
public virtual string LanguageIdentifier { get; }
public static NSTermOfAddress Masculine { get; }
public static NSTermOfAddress Neutral { get; }
public virtual NSMorphologyPronoun[] Pronouns { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public static NSTermOfAddress GetLocalized (string language, NSMorphologyPronoun[] pronouns);
}
public class NSUrlSessionUploadTaskResumeRequest {
// constructors
public NSUrlSessionUploadTaskResumeRequest (NSData arg1, NSUrlResponse arg2);
// properties
public NSData Arg1 { get; set; }
public NSUrlResponse Arg2 { get; set; }
}
public sealed class OptionalMemberAttribute : System.Attribute {
// constructors
public OptionalMemberAttribute ();
}
public sealed class RequiredMemberAttribute : System.Attribute {
// constructors
public RequiredMemberAttribute ();
}
Added property:
public virtual Foundation.NSNumber RarityPercent { get; }
Added values:
AppUnlisted = 37,
ICloudUnavailable = 35,
LockdownMode = 36,
Added properties:
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Properties { get; set; }
public virtual string QueueName { get; set; }
public virtual Foundation.NSDictionary<GameKit.GKPlayer,Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>> RecipientProperties { get; set; }
Added values:
BackgroundWorkoutSessionNotAllowed = 14,
DataSizeExceeded = 13,
WorkoutActivityNotAllowed = 12,
Added properties:
public static Foundation.NSString AppleFitnessPlusSession { get; }
public static Foundation.NSString CyclingFunctionalThresholdPowerTestType { get; }
public static Foundation.NSString KeyActivityType { get; }
public static Foundation.NSString MaximumLightIntensity { get; }
public static Foundation.NSString PhysicalEffortEstimationType { get; }
public static Foundation.NSString WaterSalinity { get; }
Added values:
CyclingCadence = 103,
CyclingFunctionalThresholdPower = 104,
CyclingPower = 105,
CyclingSpeed = 106,
EnvironmentalSoundReduction = 107,
PhysicalEffort = 108,
TimeInDaylight = 109,
Added property:
public static HKUnit Lux { get; }
Added method:
public static HKUnit CreateLux (HKMetricPrefix prefix);
Added value:
UnderwaterDiving = 84,
Added property:
public virtual HKWorkoutSessionType Type { get; }
Added methods:
public virtual void SendDataToRemoteWorkoutSession (Foundation.NSData data, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> SendDataToRemoteWorkoutSessionAsync (Foundation.NSData data);
public virtual void StartMirroringToCompanionDevice (System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> StartMirroringToCompanionDeviceAsync ();
public virtual void StopMirroringToCompanionDevice (System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> StopMirroringToCompanionDeviceAsync ();
Added methods:
public virtual void DidDisconnect (HKWorkoutSession workoutSession, Foundation.NSError error);
public virtual void DidReceiveData (HKWorkoutSession workoutSession, Foundation.NSData[] data);
Added methods:
public static void DidDisconnect (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, Foundation.NSError error);
public static void DidReceiveData (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, Foundation.NSData[] data);
[Serializable]
public enum HKCyclingFunctionalThresholdPowerTestType {
MaxExercise20Minute = 2,
MaxExercise60Minute = 1,
PredictionExercise = 4,
RampTest = 3,
}
[Serializable]
public enum HKPhysicalEffortEstimationType {
ActivityLookup = 1,
DeviceSensed = 2,
}
[Serializable]
public enum HKWaterSalinity {
FreshWater = 1,
SaltWater = 2,
}
[Serializable]
public enum HKWorkoutSessionType {
Mirrored = 1,
Primary = 0,
}
Added value:
PartialCommunicationFailure = 104,
Added methods:
public static Foundation.NSString[] ToArray (this HMServiceType value);
public static HMServiceType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
Added property:
public Foundation.NSDictionary AvisDictionary { get; set; }
Added property:
public static Foundation.NSString AvisDictionary { get; }
Added properties:
public static Foundation.NSString AvisDictionary { get; }
public static Foundation.NSString TIFFXPosition { get; }
public static Foundation.NSString TIFFYPosition { get; }
Added method:
public static void SetAllowableTypes (string[] allowableTypes);
public class CGImageDecodeOptions {
// constructors
public CGImageDecodeOptions ();
}
Added values:
NacsAC = 10,
NacsDC = 9,
Added values:
NoAppIntent = 10001,
UnableToCreateAppIntentRepresentation = 10000,
Added constructors:
public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, string serviceName, INMessageLinkMetadata linkMetadata);
public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, INMessageType messageType, string serviceName, INFile[] attachmentFiles);
public INMessage (string identifier, string conversationIdentifier, string content, Foundation.NSDate dateSent, INPerson sender, INPerson[] recipients, INSpeakableString groupName, string serviceName, INMessageType messageType, Foundation.NSNumber numberOfAttachments);
Added properties:
public virtual INFile[] AttachmentFiles { get; }
public virtual INMessageLinkMetadata LinkMetadata { get; }
public virtual int NumberOfAttachments { get; }
Added value:
Reaction = 26,
Added value:
FailureRequiringInAppAuthentication = 8,
Added value:
FailureRequiringInAppAuthentication = 7,
Added value:
RequiringInAppAuthentication = 7,
Added value:
RequiringInAppAuthentication = 8,
Added value:
ResponseCode = 13,
public interface IINEditMessageIntentHandling : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public abstract void HandleEditMessage (INEditMessageIntent intent, System.Action<INEditMessageIntentResponse> completion);
}
public interface IINUnsendMessagesIntentHandling : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public abstract void HandleUnsendMessages (INUnsendMessagesIntent intent, System.Action<INUnsendMessagesIntentResponse> completion);
}
public class INEditMessageIntent : Intents.INIntent {
// constructors
public INEditMessageIntent ();
public INEditMessageIntent (Foundation.NSCoder coder);
protected INEditMessageIntent (Foundation.NSObjectFlag t);
protected INEditMessageIntent (IntPtr handle);
public INEditMessageIntent (string messageIdentifier, string editedContent);
// properties
public override IntPtr ClassHandle { get; }
public virtual string EditedContent { get; }
public virtual string MessageIdentifier { get; }
}
public static class INEditMessageIntentHandling_Extensions {
// methods
public static void ConfirmEditMessage (this IINEditMessageIntentHandling This, INEditMessageIntent intent, System.Action<INEditMessageIntentResponse> completion);
public static void ResolveEditedContent (this IINEditMessageIntentHandling This, INEditMessageIntent intent, System.Action<INStringResolutionResult> completion);
}
public class INEditMessageIntentResponse : Intents.INIntentResponse {
// constructors
public INEditMessageIntentResponse (Foundation.NSCoder coder);
protected INEditMessageIntentResponse (Foundation.NSObjectFlag t);
protected INEditMessageIntentResponse (IntPtr handle);
public INEditMessageIntentResponse (INEditMessageIntentResponseCode code, Foundation.NSUserActivity userActivity);
// properties
public override IntPtr ClassHandle { get; }
public virtual INEditMessageIntentResponseCode Code { get; }
}
[Serializable]
public enum INEditMessageIntentResponseCode {
Failure = 4,
FailureMessageNotFound = 6,
FailureMessageServiceNotAvailable = 10,
FailureMessageTypeUnsupported = 8,
FailurePastEditTimeLimit = 7,
FailureRequiringAppLaunch = 5,
FailureRequiringInAppAuthentication = 11,
FailureUnsupportedOnService = 9,
InProgress = 2,
Ready = 1,
Success = 3,
Unspecified = 0,
}
public class INMessageLinkMetadata : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public INMessageLinkMetadata ();
public INMessageLinkMetadata (Foundation.NSCoder coder);
protected INMessageLinkMetadata (Foundation.NSObjectFlag t);
protected INMessageLinkMetadata (IntPtr handle);
public INMessageLinkMetadata (string siteName, string summary, string title, string openGraphType, Foundation.NSUrl linkUrl);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl LinkUrl { get; set; }
public virtual string OpenGraphType { get; set; }
public virtual string SiteName { get; set; }
public virtual string Summary { get; set; }
public virtual string Title { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class INUnsendMessagesIntent : Intents.INIntent {
// constructors
public INUnsendMessagesIntent ();
public INUnsendMessagesIntent (Foundation.NSCoder coder);
protected INUnsendMessagesIntent (Foundation.NSObjectFlag t);
protected INUnsendMessagesIntent (IntPtr handle);
public INUnsendMessagesIntent (string[] messageIdentifiers);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] MessageIdentifiers { get; }
}
public static class INUnsendMessagesIntentHandling_Extensions {
// methods
public static void ConfirmUnsendMessages (this IINUnsendMessagesIntentHandling This, INUnsendMessagesIntent intent, System.Action<INUnsendMessagesIntentResponse> completion);
}
public class INUnsendMessagesIntentResponse : Intents.INIntentResponse {
// constructors
public INUnsendMessagesIntentResponse (Foundation.NSCoder coder);
protected INUnsendMessagesIntentResponse (Foundation.NSObjectFlag t);
protected INUnsendMessagesIntentResponse (IntPtr handle);
public INUnsendMessagesIntentResponse (INUnsendMessagesIntentResponseCode code, Foundation.NSUserActivity userActivity);
// properties
public override IntPtr ClassHandle { get; }
public virtual INUnsendMessagesIntentResponseCode Code { get; }
}
[Serializable]
public enum INUnsendMessagesIntentResponseCode {
Failure = 4,
FailureMessageNotFound = 6,
FailureMessageServiceNotAvailable = 10,
FailureMessageTypeUnsupported = 8,
FailurePastUnsendTimeLimit = 7,
FailureRequiringAppLaunch = 5,
FailureRequiringInAppAuthentication = 11,
FailureUnsupportedOnService = 9,
InProgress = 2,
Ready = 1,
Success = 3,
Unspecified = 0,
}
[Serializable]
public enum MKOverlayLevel {
AboveLabels = 1,
AboveRoads = 0,
}
public class NLContextualEmbedding : Foundation.NSObject {
// constructors
protected NLContextualEmbedding (Foundation.NSObjectFlag t);
protected NLContextualEmbedding (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
public virtual bool HasAvailableAssets { get; }
public virtual string[] Languages { get; }
public virtual nuint MaximumSequenceLength { get; }
public virtual string ModelIdentifier { get; }
public virtual nuint Revision { get; }
public virtual string[] Scripts { get; }
// methods
public static NLContextualEmbedding[] Create (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> values);
public static NLContextualEmbedding CreateWithLanguage (string language);
public static NLContextualEmbedding CreateWithModelIdentifier (string modelIdentifier);
public static NLContextualEmbedding CreateWithScript (string script);
public virtual NLContextualEmbeddingResult GetEmbeddingResult (string string, string language, out Foundation.NSError error);
public virtual bool Load (out Foundation.NSError error);
public virtual void RequestAssets (System.Action<NLContextualEmbeddingAssetsResult,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<NLContextualEmbeddingAssetsResult> RequestAssetsAsync ();
public virtual void Unload ();
}
[Serializable]
public enum NLContextualEmbeddingAssetsResult {
Available = 0,
Error = 2,
NotAvailable = 1,
}
public class NLContextualEmbeddingResult : Foundation.NSObject {
// constructors
protected NLContextualEmbeddingResult (Foundation.NSObjectFlag t);
protected NLContextualEmbeddingResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Language { get; }
public virtual nuint SequenceLength { get; }
public virtual string String { get; }
// methods
public virtual void EnumerateTokenVectors (Foundation.NSRange range, TokenVectorEnumeratorHandler enumerationHandler);
public virtual nuint[] GetVector (nuint characterIndex, ref Foundation.NSRange tokenRange);
}
[Serializable]
public enum NLContextualEmebeddingKey {
Languages = 0,
Revision = 2,
Scripts = 1,
}
public static class NLContextualEmebeddingKeyExtensions {
// methods
public static Foundation.NSString GetConstant (this NLContextualEmebeddingKey self);
public static NLContextualEmebeddingKey GetValue (Foundation.NSString constant);
}
[Serializable]
public enum NLScript {
Arabic = 1,
Armenian = 2,
Bengali = 3,
CanadianAboriginalSyllabics = 4,
Cherokee = 5,
Cyrillic = 6,
Devanagari = 7,
Ethiopic = 8,
Georgian = 9,
Greek = 10,
Gujarati = 11,
Gurmukhi = 12,
Hebrew = 13,
Japanese = 14,
Kannada = 15,
Khmer = 16,
Korean = 17,
Lao = 18,
Latin = 19,
Malayalam = 20,
Mongolian = 21,
Myanmar = 22,
Oriya = 23,
SimplifiedChinese = 24,
Sinhala = 25,
Tamil = 26,
Telugu = 27,
Thai = 28,
Tibetan = 29,
TraditionalChinese = 30,
Undetermined = 0,
}
public static class NLScriptExtensions {
// methods
public static Foundation.NSString GetConstant (this NLScript self);
public static NLScript GetValue (Foundation.NSString constant);
}
public sealed delegate TokenVectorEnumeratorHandler : System.MulticastDelegate {
// constructors
public TokenVectorEnumeratorHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop, System.AsyncCallback callback, object object);
public virtual void EndInvoke (out bool stop, System.IAsyncResult result);
public virtual void Invoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop);
}
Added property:
public virtual INIDeviceCapability DeviceCapabilities { get; }
Added values:
ActiveExtendedDistanceSessionsLimitExceeded = -5880,
IncompatiblePeerDevice = -5881,
Added property:
public virtual bool ExtendedDistanceMeasurementEnabled { get; set; }
public static class NIDeviceCapability_Extensions {
// methods
public static bool GetSupportsExtendedDistanceMeasurement (this INIDeviceCapability This);
}
Added methods:
public void AddProxy (NWProxyConfig proxyConfig);
public void ClearProxies ();
public class NWProxyConfig : CoreFoundation.NativeObject {
// constructors
public NWProxyConfig (IntPtr handle, bool owns);
// properties
public bool FailoverAllowed { get; set; }
// methods
public void AddExcludedDomain (string domain);
public void AddMatchDomain (string domain);
public void ClearExcludedDomains ();
public void ClearMatchDomains ();
public static NWProxyConfig CreateHttpConnect (NWEndpoint proxyEndpoint, NWProtocolTlsOptions options);
public static NWProxyConfig CreateObliviousHttp (NWRelayHop hop, string relaysResourcePath, byte[] gatewayKeyConfig);
public static NWProxyConfig CreateRelay (NWRelayHop firstHop, NWRelayHop secondHop);
public static NWProxyConfig CreateSocksV5 (NWEndpoint endpoint);
public void EnumerateExcludedDomains (System.Action<string> handler);
public void EnumerateMatchDomains (System.Action<string> handler);
public void SetUsernameAndPassword (string username, string password);
}
public class NWRelayHop : CoreFoundation.NativeObject {
// constructors
public NWRelayHop (IntPtr handle, bool owns);
// methods
public void AddAdditionalHttpHeaderField (string fieldName, string fieldValue);
public static NWRelayHop Create (NWEndpoint http3RelayEndpoint, NWEndpoint http2RelayEndpoint, NWProtocolOptions relayTlsOptions);
}
Modified fields:
-public const string SdkVersion = "9.4";
+public const string SdkVersion = "10.5";
-public const string Version = "16.4.0";
+public const string Version = "17.5.0";
Added fields:
public static const string CoreMidiLibrary = "/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI";
public static const string CryptoTokenKitLibrary = "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit";
public static const string SafetyKitLibrary = "/System/Library/Frameworks/SafetyKit.framework/SafetyKit";
public static const string SymbolsLibrary = "/System/Library/Frameworks/Symbols.framework/Symbols";
Added method:
public static void SetObject (IntPtr handle, string symbol, Foundation.NSObject value);
Added property:
public bool LinkWithSwiftSystemLibraries { get; set; }
public class BlockCallbackAttribute : System.Attribute {
// constructors
public BlockCallbackAttribute ();
}
public class CCallbackAttribute : System.Attribute {
// constructors
public CCallbackAttribute ();
}
Added methods:
public static Foundation.NSString[] ToArray (this PKContactFields value);
public static PKContactFields ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
Added value:
InstantFundsOut = 128,
Added properties:
public static Foundation.NSString BankAxept { get; }
public static Foundation.NSString Meeza { get; }
public static Foundation.NSString Napas { get; }
public static Foundation.NSString PagoBancomat { get; }
public static Foundation.NSString Tmoney { get; }
Added property:
public virtual PKApplePayLaterAvailability ApplePayLaterAvailability { get; set; }
[Serializable]
public enum PKApplePayLaterAvailability {
Available = 0,
UnavailableItemIneligible = 1,
UnavailableRecurringTransaction = 2,
}
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
Added method:
public static CoreGraphics.CGColorSpace GetWorkingColorSpace (this ISCNSceneRenderer This);
Added values:
EcdsaSignatureDigestRfc4754 = 76,
EcdsaSignatureDigestRfc4754Sha1 = 77,
EcdsaSignatureDigestRfc4754Sha224 = 78,
EcdsaSignatureDigestRfc4754Sha256 = 79,
EcdsaSignatureDigestRfc4754Sha384 = 80,
EcdsaSignatureDigestRfc4754Sha512 = 81,
EcdsaSignatureMessageRfc4754Sha1 = 82,
EcdsaSignatureMessageRfc4754Sha224 = 83,
EcdsaSignatureMessageRfc4754Sha256 = 84,
EcdsaSignatureMessageRfc4754Sha384 = 85,
EcdsaSignatureMessageRfc4754Sha512 = 86,
Added value:
MediaItemFetchFailed = 600,
Added property:
public virtual Foundation.NSDate CreationDate { get; }
Added value:
CreationDate = 16,
Added constructor:
public SKCloudServiceController ();
Added values:
ExtraLargeTitle = 11,
ExtraLargeTitle2 = 12,
Added properties:
public Foundation.NSData HeicRepresentation { get; }
public virtual UIImage ImageRestrictedToStandardDynamicRange { get; }
public virtual bool IsHighDynamicRange { get; }
Added property:
public virtual Foundation.NSLocale Locale { get; }
Added methods:
public static UIImageConfiguration CreateConfiguration (Foundation.NSLocale locale);
public virtual UIImageConfiguration GetConfiguration (Foundation.NSLocale locale);
public class NSAttributedStringDocumentReadingOptions : Foundation.DictionaryContainer {
// constructors
public NSAttributedStringDocumentReadingOptions ();
public NSAttributedStringDocumentReadingOptions (Foundation.NSDictionary dictionary);
// properties
public Foundation.NSStringEncoding? CharacterEncoding { get; set; }
public Foundation.NSDictionary DefaultAttributes { get; set; }
public NSAttributedStringDocumentType? DocumentType { get; set; }
public NSTextScalingType? SourceTextScaling { get; set; }
public NSTextScalingType? TargetTextScaling { get; set; }
}
[Serializable]
public enum NSAttributedStringDocumentType {
DocFormat = 5,
Html = 3,
MacSimple = 4,
OfficeOpenXml = 7,
OpenDocument = 9,
Plain = 0,
Rtf = 1,
Rtfd = 2,
Unknown = -1,
WebArchive = 8,
WordML = 6,
}
public static class NSAttributedStringDocumentTypeExtensions {
// methods
public static Foundation.NSString GetConstant (this NSAttributedStringDocumentType self);
public static NSAttributedStringDocumentType GetValue (Foundation.NSString constant);
}
[Serializable]
[Flags]
public enum UIAccessibilityDirectTouchOptions {
None = 0,
RequiresActivation = 2,
SilentOnTouch = 1,
}
[Serializable]
public enum UIAccessibilityPriority {
Default = 1,
High = 0,
Low = 2,
}
public static class UIAccessibilityPriorityExtensions {
// methods
public static Foundation.NSString GetConstant (this UIAccessibilityPriority self);
public static UIAccessibilityPriority GetValue (Foundation.NSString constant);
}
[Serializable]
public enum UIAccessibilityTraits {
Adjustable = 14,
AllowsDirectInteraction = 15,
Button = 1,
CausesPageTurn = 16,
Header = 3,
Image = 5,
KeyboardKey = 8,
Link = 2,
None = 0,
NotEnabled = 11,
PlaysSound = 7,
SearchField = 4,
Selected = 6,
StartsMediaSession = 13,
StaticText = 9,
SummaryElement = 10,
SupportsZoom = 18,
TabBar = 17,
ToggleButton = 19,
UpdatesFrequently = 12,
}
public static class UIAccessibilityTraitsExtensions {
// methods
public static Foundation.NSString GetConstant (this UIAccessibilityTraits self);
public static UIAccessibilityTraits GetValue (Foundation.NSString constant);
}
public class UIImageReader : Foundation.NSObject {
// constructors
public UIImageReader ();
protected UIImageReader (Foundation.NSObjectFlag t);
protected UIImageReader (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual UIImageReaderConfiguration Configuration { get; }
public static UIImageReader DefaultReader { get; }
// methods
public static UIImageReader CreateReader (UIImageReaderConfiguration configuration);
public virtual UIImage GetImage (Foundation.NSData data);
public virtual UIImage GetImage (Foundation.NSUrl url);
public virtual void GetImage (Foundation.NSData data, System.Action<UIImage> completion);
public virtual void GetImage (Foundation.NSUrl url, System.Action<UIImage> completion);
public virtual System.Threading.Tasks.Task<UIImage> GetImageAsync (Foundation.NSData data);
public virtual System.Threading.Tasks.Task<UIImage> GetImageAsync (Foundation.NSUrl url);
}
public class UIImageReaderConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public UIImageReaderConfiguration ();
protected UIImageReaderConfiguration (Foundation.NSObjectFlag t);
protected UIImageReaderConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nfloat PixelsPerInch { get; set; }
public virtual CoreGraphics.CGSize PreferredThumbnailSize { get; set; }
public virtual bool PrefersHighDynamicRange { get; set; }
public virtual bool PreparesImagesForDisplay { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
Added property:
public static UTType Ahap { get; }
Obsoleted properties:
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitAdjustable { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitAllowsDirectInteraction { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitButton { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitCausesPageTurn { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitHeader { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitImage { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitKeyboardKey { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitLink { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitNone { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitNotEnabled { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitPlaysSound { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitSearchField { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitSelected { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitStartsMediaSession { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitStaticText { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitSummaryElement { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitTabBar { get; }
[Obsolete ("Use 'UIAccessibilityTraits' enum instead.")]
public static long TraitUpdatesFrequently { get; }
Added properties:
public virtual UIKit.UIAccessibilityDirectTouchOptions AccessibilityDirectTouchOptions { get; set; }
public static Foundation.NSString SpeechAttributeAnnouncementPriority { get; }
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
public class MidiBluetoothDriver {
// constructors
public MidiBluetoothDriver ();
// methods
public static int ActivateAllConnections ();
public static int Disconnect (Foundation.NSString uuid);
}
[Serializable]
public enum MidiCVStatus {
AssignableControl = 3,
AssignablePnc = 1,
ChannelPressure = 13,
ControlChange = 11,
NoteOff = 8,
NoteOn = 9,
PerNoteMgmt = 15,
PerNotePitchBend = 6,
PitchBend = 14,
PolyPressure = 10,
ProgramChange = 12,
RegisteredControl = 2,
RegisteredPnc = 0,
RelAssignableControl = 5,
RelRegisteredControl = 4,
}
[Serializable]
public enum MidiMessageType {
ChannelVoice1 = 2,
ChannelVoice2 = 4,
Data128 = 5,
SysEx = 3,
System = 1,
UnknownF = 15,
Utility = 0,
}
[Serializable]
public enum MidiNetworkConnectionPolicy {
Anyone = 2,
HostsInContactsList = 1,
NoOne = 0,
}
[Serializable]
public enum MidiNoteAttribute {
ManufacturerSpecific = 1,
None = 0,
Pitch = 3,
ProfileSpecific = 2,
}
[Serializable]
[Flags]
public enum MidiPerNoteManagementOptions {
Detach = 2,
Reset = 1,
}
[Serializable]
[Flags]
public enum MidiProgramChangeOptions {
BankValid = 1,
}
[Serializable]
public enum MidiProtocolId {
Protocol_1_0 = 1,
Protocol_2_0 = 2,
}
[Serializable]
public enum MidiSysExStatus {
Complete = 0,
Continue = 2,
End = 3,
MixedDataSetHeader = 8,
MixedDataSetPayload = 9,
Start = 1,
}
[Serializable]
public enum MidiSystemStatus {
ActiveSending = 254,
Continue = 251,
EndOfExclusive = 247,
Mtc = 241,
SongPosPointer = 242,
SongSelect = 243,
Start = 250,
StartOfExclusive = 240,
Stop = 252,
SystemReset = 255,
TimingClock = 248,
TuneRequest = 246,
}
[Serializable]
public enum MidiUtilityStatus {
JitterReductionClock = 1,
JitterReductionTimestamp = 2,
Noop = 0,
}
public interface ISACrashDetectionDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
public interface ISAEmergencyResponseDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
[Serializable]
public enum SAAuthorizationStatus {
Authorized = 2,
Denied = 1,
NotDetermined = 0,
}
public class SACrashDetectionDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISACrashDetectionDelegate, System.IDisposable {
// constructors
public SACrashDetectionDelegate ();
protected SACrashDetectionDelegate (Foundation.NSObjectFlag t);
protected SACrashDetectionDelegate (IntPtr handle);
// methods
public virtual void DidDetectEvent (SACrashDetectionManager crashDetectionManager, SACrashDetectionEvent event);
}
public static class SACrashDetectionDelegate_Extensions {
// methods
public static void DidDetectEvent (this ISACrashDetectionDelegate This, SACrashDetectionManager crashDetectionManager, SACrashDetectionEvent event);
}
public class SACrashDetectionEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SACrashDetectionEvent (Foundation.NSCoder coder);
protected SACrashDetectionEvent (Foundation.NSObjectFlag t);
protected SACrashDetectionEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate Date { get; }
public virtual CoreLocation.CLLocation Location { get; }
public virtual SACrashDetectionEventResponse Response { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum SACrashDetectionEventResponse {
Attempted = 0,
Disabled = 1,
}
public class SACrashDetectionManager : Foundation.NSObject {
// constructors
public SACrashDetectionManager ();
protected SACrashDetectionManager (Foundation.NSObjectFlag t);
protected SACrashDetectionManager (IntPtr handle);
// properties
public virtual SAAuthorizationStatus AuthorizationStatus { get; }
public static bool Available { get; }
public override IntPtr ClassHandle { get; }
public ISACrashDetectionDelegate Delegate { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual void RequestAuthorization (SACrashDetectionManagerRequestAuthorizationCompletionHandler handler);
public virtual System.Threading.Tasks.Task<SAAuthorizationStatus> RequestAuthorizationAsync ();
}
public sealed delegate SACrashDetectionManagerRequestAuthorizationCompletionHandler : System.MulticastDelegate {
// constructors
public SACrashDetectionManagerRequestAuthorizationCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (SAAuthorizationStatus status, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (SAAuthorizationStatus status, Foundation.NSError error);
}
public class SAEmergencyResponseDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISAEmergencyResponseDelegate, System.IDisposable {
// constructors
public SAEmergencyResponseDelegate ();
protected SAEmergencyResponseDelegate (Foundation.NSObjectFlag t);
protected SAEmergencyResponseDelegate (IntPtr handle);
// methods
public virtual void DidUpdateVoiceCallStatus (SAEmergencyResponseManager emergencyResponseManager, SAEmergencyResponseManagerVoiceCallStatus voiceCallStatus);
}
public static class SAEmergencyResponseDelegate_Extensions {
// methods
public static void DidUpdateVoiceCallStatus (this ISAEmergencyResponseDelegate This, SAEmergencyResponseManager emergencyResponseManager, SAEmergencyResponseManagerVoiceCallStatus voiceCallStatus);
}
public class SAEmergencyResponseManager : Foundation.NSObject {
// constructors
public SAEmergencyResponseManager ();
protected SAEmergencyResponseManager (Foundation.NSObjectFlag t);
protected SAEmergencyResponseManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public ISAEmergencyResponseDelegate Delegate { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual void DialVoiceCall (string phoneNumber, SAEmergencyResponseManagerDialVoiceCallCompletionHandler handler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DialVoiceCallAsync (string phoneNumber);
protected override void Dispose (bool disposing);
}
public sealed delegate SAEmergencyResponseManagerDialVoiceCallCompletionHandler : System.MulticastDelegate {
// constructors
public SAEmergencyResponseManagerDialVoiceCallCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (bool requestAccepted, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (bool requestAccepted, Foundation.NSError error);
}
[Serializable]
public enum SAEmergencyResponseManagerVoiceCallStatus {
Active = 1,
Dialing = 0,
Disconnected = 2,
Failed = 3,
}
[Serializable]
public enum SAErrorCode {
InvalidArgument = 3,
NotAllowed = 2,
NotAuthorized = 1,
OperationFailed = 4,
}
public static class SAErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this SAErrorCode self);
}
public class NSSymbolAppearEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolAppearEffect (Foundation.NSCoder coder);
protected NSSymbolAppearEffect (Foundation.NSObjectFlag t);
protected NSSymbolAppearEffect (IntPtr handle);
// properties
public virtual NSSymbolAppearEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolAppearEffect WholeSymbol { get; }
// methods
public static NSSymbolAppearEffect Create ();
public static NSSymbolAppearEffect CreateAppearDownEffect ();
public static NSSymbolAppearEffect CreateAppearUpEffect ();
}
public class NSSymbolAutomaticContentTransition : Symbols.NSSymbolContentTransition {
// constructors
public NSSymbolAutomaticContentTransition (Foundation.NSCoder coder);
protected NSSymbolAutomaticContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolAutomaticContentTransition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static NSSymbolAutomaticContentTransition Create ();
}
public class NSSymbolBounceEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolBounceEffect (Foundation.NSCoder coder);
protected NSSymbolBounceEffect (Foundation.NSObjectFlag t);
protected NSSymbolBounceEffect (IntPtr handle);
// properties
public virtual NSSymbolBounceEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolBounceEffect WholeSymbol { get; }
// methods
public static NSSymbolBounceEffect Create ();
public static NSSymbolBounceEffect CreateBounceDownEffect ();
public static NSSymbolBounceEffect CreateBounceUpEffect ();
}
public class NSSymbolContentTransition : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolContentTransition (Foundation.NSCoder coder);
protected NSSymbolContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolContentTransition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NSSymbolDisappearEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolDisappearEffect (Foundation.NSCoder coder);
protected NSSymbolDisappearEffect (Foundation.NSObjectFlag t);
protected NSSymbolDisappearEffect (IntPtr handle);
// properties
public virtual NSSymbolDisappearEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolDisappearEffect WholeSymbol { get; }
// methods
public static NSSymbolDisappearEffect Create ();
public static NSSymbolDisappearEffect CreateDisappearDownEffect ();
public static NSSymbolDisappearEffect CreateDisappearUpEffect ();
}
public class NSSymbolEffect : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolEffect (Foundation.NSCoder coder);
protected NSSymbolEffect (Foundation.NSObjectFlag t);
protected NSSymbolEffect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NSSymbolEffectOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolEffectOptions (Foundation.NSCoder coder);
protected NSSymbolEffectOptions (Foundation.NSObjectFlag t);
protected NSSymbolEffectOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static NSSymbolEffectOptions Create ();
public static NSSymbolEffectOptions Create (double speed);
public static NSSymbolEffectOptions Create (nint repeatCount);
public static NSSymbolEffectOptions CreateNonRepeating ();
public static NSSymbolEffectOptions CreateRepeating ();
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual NSSymbolEffectOptions Get (double speed);
public virtual NSSymbolEffectOptions Get (nint repeatCount);
public virtual NSSymbolEffectOptions GetNonRepeating ();
public virtual NSSymbolEffectOptions GetRepeating ();
}
public class NSSymbolPulseEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolPulseEffect (Foundation.NSCoder coder);
protected NSSymbolPulseEffect (Foundation.NSObjectFlag t);
protected NSSymbolPulseEffect (IntPtr handle);
// properties
public virtual NSSymbolPulseEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolPulseEffect WholeSymbol { get; }
// methods
public static NSSymbolPulseEffect Create ();
}
public class NSSymbolReplaceContentTransition : Symbols.NSSymbolContentTransition {
// constructors
public NSSymbolReplaceContentTransition (Foundation.NSCoder coder);
protected NSSymbolReplaceContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolReplaceContentTransition (IntPtr handle);
// properties
public virtual NSSymbolReplaceContentTransition ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolReplaceContentTransition WholeSymbol { get; }
// methods
public static NSSymbolReplaceContentTransition Create ();
public static NSSymbolReplaceContentTransition CreateReplaceDownUpTransition ();
public static NSSymbolReplaceContentTransition CreateReplaceOffUpTransition ();
public static NSSymbolReplaceContentTransition CreateReplaceUpUpTransition ();
}
public class NSSymbolScaleEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolScaleEffect (Foundation.NSCoder coder);
protected NSSymbolScaleEffect (Foundation.NSObjectFlag t);
protected NSSymbolScaleEffect (IntPtr handle);
// properties
public virtual NSSymbolScaleEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolScaleEffect WholeSymbol { get; }
// methods
public static NSSymbolScaleEffect Create ();
public static NSSymbolScaleEffect CreateScaleDownEffect ();
public static NSSymbolScaleEffect CreateScaleUpEffect ();
}
public class NSSymbolVariableColorEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolVariableColorEffect (Foundation.NSCoder coder);
protected NSSymbolVariableColorEffect (Foundation.NSObjectFlag t);
protected NSSymbolVariableColorEffect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSSymbolVariableColorEffect Cumulative { get; }
public virtual NSSymbolVariableColorEffect DimInactiveLayers { get; }
public virtual NSSymbolVariableColorEffect HideInactiveLayers { get; }
public virtual NSSymbolVariableColorEffect Iterative { get; }
public virtual NSSymbolVariableColorEffect NonReversing { get; }
public virtual NSSymbolVariableColorEffect Reversing { get; }
// methods
public static NSSymbolVariableColorEffect Create ();
}