title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.WatchOS SDK API diff: 16.4.0 vs 17.0.0 |
List of API changes between Xamarin.WatchOS versions 16.4.0 and 17.0.0. |
spouliot |
sepoulio |
10/23/2023 |
article |
993b1417-cd0b-e08a-c65d-b7ccec773c65 |
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);
Added methods:
public static Foundation.NSString[] ToArray (this AVMetadataObjectType value);
public static AVMetadataObjectType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
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 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,
[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,
}
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 virtual void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public virtual CKSyncEngineFetchChangesOptions SyncEngine (CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context);
public virtual 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 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 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 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 virtual void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public virtual CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
}
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,
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 value:
PredictionCancelled = 11,
public interface IMLComputeDeviceProtocol : ObjCRuntime.INativeObject, System.IDisposable {
}
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 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; }
}
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,
}
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 method:
protected T GetStrongDictionary<T> (NSString key, System.Func<NSDictionary,T> createStrongDictionary);
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 methods:
public static NSUrl CreateFileUrl (string path);
public static NSUrl CreateFileUrl (string path, bool isDir);
[Serializable]
public enum NSFileProtectionType {
Complete = 0,
CompleteUnlessOpen = 1,
CompleteUntilFirstUserAuthentication = 2,
None = 3,
}
public static class NSFileProtectionTypeExtensions {
// methods
public static NSString GetConstant (this NSFileProtectionType self);
public static NSFileProtectionType GetValue (NSString constant);
}
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 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 property:
public static Foundation.NSString AvisDictionary { get; }
public class CGImageDecodeOptions {
// constructors
public CGImageDecodeOptions ();
}
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 virtual void HandleEditMessage (INEditMessageIntent intent, System.Action<INEditMessageIntentResponse> completion);
}
public interface IINUnsendMessagesIntentHandling : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual 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);
}
Modified fields:
-public const string SdkVersion = "9.4";
+public const string SdkVersion = "10.0";
-public const string Version = "16.4.0";
+public const string Version = "17.0.0";
Added field:
public static const string SymbolsLibrary = "/System/Library/Frameworks/Symbols.framework/Symbols";
Added methods:
public static Foundation.NSString[] ToArray (this PKContactFields value);
public static PKContactFields ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
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 property:
public static UTType Ahap { get; }
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
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 ();
}