title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.WatchOS SDK API diff: 14.16.0 vs 14.99.0 |
List of API changes between Xamarin.WatchOS versions 14.16.0 and 14.99.0. |
spouliot |
sepoulio |
6/25/2021 |
article |
d1b23050-3648-88f7-4a4c-0a140002c6cd |
xamarin |
Obsoleted properties:
[Obsolete ("Use 'TemplateItems' instead.")]
public virtual AVPlayerItem[] InterstitialTemplateItems { get; }
Removed methods:
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
Obsoleted properties:
[Obsolete ("Use 'Events' instead.")]
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; set; }
Obsoleted methods:
[Obsolete ("Use 'GetInterstitialEventController' instead.")]
public static AVPlayerInterstitialEventController GetPlayerInterstitialEventController (AVPlayer primaryPlayer);
Obsoleted properties:
[Obsolete ("Use 'Events' instead.")]
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; }
Removed method:
public static AVPlayerInterstitialEventObserver GetPlayerInterstitialEventObserver (AVPlayer primaryPlayer);
Added values:
Atmos_5_1_4 = 12779530,
Atmos_7_1_2 = 12845066,
Logic_4_0_A = 7536644,
Logic_4_0_B = 7602180,
Logic_4_0_C = 12910596,
Logic_5_0_A = 7667717,
Logic_5_0_B = 7733253,
Logic_5_0_C = 7798789,
Logic_5_0_D = 7864325,
Logic_5_1_A = 7929862,
Logic_5_1_B = 7995398,
Logic_5_1_C = 8060934,
Logic_5_1_D = 8126470,
Logic_6_0_A = 9240582,
Logic_6_0_B = 12976134,
Logic_6_0_C = 9109510,
Logic_6_1_A = 9306119,
Logic_6_1_B = 13041671,
Logic_6_1_C = 8192007,
Logic_6_1_D = 13107207,
Logic_7_1_A = 8388616,
Logic_7_1_B = 13172744,
Logic_7_1_C = 8388616,
Logic_7_1_SDDS_A = 8257544,
Logic_7_1_SDDS_B = 8323080,
Logic_7_1_SDDS_C = 8454152,
Logic_Atmos_5_1_2 = 12713992,
Logic_Atmos_5_1_4 = 12779530,
Logic_Atmos_7_1_2 = 12845066,
Logic_Atmos_7_1_4_A = 12582924,
Logic_Atmos_7_1_4_B = 13238284,
Logic_Atmos_7_1_6 = 13303822,
Logic_Mono = 6553601,
Logic_Quadraphonic = 7077892,
Logic_Stereo = 6619138,
Added value:
TemporarilyUnavailable = 4,
Added value:
TemporarilyUnavailable = 36,
Added property:
public static Foundation.NSString UserDidResetEncryptedDataKey { get; }
Added property:
public virtual System.Action<CKRecordZoneID> RecordZoneWithIdWasDeletedDueToUserEncryptedDataReset { get; set; }
Added property:
public virtual CKFetchRecordZoneChangesRecordWasChangedHandler RecordWasChangedHandler { get; set; }
Added property:
public virtual CKRecordZonePerRecordZoneCompletionHandler PerRecordZoneCompletionHandler { get; set; }
Added property:
public virtual CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler PerShareParticipantCompletionBlock { get; set; }
Added property:
public virtual CKFetchSubscriptionsPerSubscriptionCompletionHandler PerSubscriptionCompletionHandler { get; set; }
Added properties:
public virtual CKModifyRecordZonesPerRecordZoneDeleteHandler PerRecordZoneDeleteHandler { get; set; }
public virtual CKModifyRecordZonesPerRecordZoneSaveHandler PerRecordZoneSaveHandler { get; set; }
Added properties:
public virtual CKModifyRecordsOperationPerRecordDeleteHandler PerRecordDeleteHandler { get; set; }
public virtual CKModifyRecordsOperationPerRecordSaveHandler PerRecordSaveHandler { get; set; }
Added properties:
public virtual CKModifySubscriptionsPerSubscriptionDeleteHandler PerSubscriptionDeleteHandler { get; set; }
public virtual CKModifySubscriptionsPerSubscriptionSaveHandler PerSubscriptionSaveHandler { get; set; }
Added property:
public virtual CKQueryOperationRecordMatchedHandler RecordMatchedHandler { get; set; }
Added property:
public static Foundation.NSString NameZoneWideShare { get; }
Added property:
public virtual CKReference Share { get; }
Added value:
ZoneWideSharing = 8,
Added constructor:
public CKShare (CKRecordZoneID recordZoneId);
Added property:
public virtual CKRecordID HierarchicalRootRecordId { get; }
public sealed delegate CKFetchRecordZoneChangesRecordWasChangedHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKFetchRecordZoneChangesRecordWasChangedHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordID recordId, CKRecord record, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordID recordId, CKRecord record, Foundation.NSError error);
}
public sealed delegate CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKFetchShareParticipantsOperationPerShareParticipantCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKUserIdentityLookupInfo identityLookupInfo, CKShareParticipant participant, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKUserIdentityLookupInfo identityLookupInfo, CKShareParticipant participant, Foundation.NSError error);
}
public sealed delegate CKFetchSubscriptionsPerSubscriptionCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKFetchSubscriptionsPerSubscriptionCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSString subscriptionId, CKSubscription subscription, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSString subscriptionId, CKSubscription subscription, Foundation.NSError error);
}
public sealed delegate CKModifyRecordZonesPerRecordZoneDeleteHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifyRecordZonesPerRecordZoneDeleteHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordZoneID zoneId, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordZoneID zoneId, Foundation.NSError error);
}
public sealed delegate CKModifyRecordZonesPerRecordZoneSaveHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifyRecordZonesPerRecordZoneSaveHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordZoneID zoneId, CKRecordZone zone, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordZoneID zoneId, CKRecordZone zone, Foundation.NSError error);
}
public sealed delegate CKModifyRecordsOperationPerRecordDeleteHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifyRecordsOperationPerRecordDeleteHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordID recordId, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordID recordId, Foundation.NSError error);
}
public sealed delegate CKModifyRecordsOperationPerRecordSaveHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifyRecordsOperationPerRecordSaveHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordID recordId, CKRecord record, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordID recordId, CKRecord record, Foundation.NSError error);
}
public sealed delegate CKModifySubscriptionsPerSubscriptionDeleteHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifySubscriptionsPerSubscriptionDeleteHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSString subscriptionId, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSString subscriptionId, Foundation.NSError error);
}
public sealed delegate CKModifySubscriptionsPerSubscriptionSaveHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifySubscriptionsPerSubscriptionSaveHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSString subscriptionId, CKSubscription subscription, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSString subscriptionId, CKSubscription subscription, Foundation.NSError error);
}
public sealed delegate CKQueryOperationRecordMatchedHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKQueryOperationRecordMatchedHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordID recordId, CKRecord record, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordID recordId, CKRecord record, Foundation.NSError error);
}
public sealed delegate CKRecordZonePerRecordZoneCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKRecordZonePerRecordZoneCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKRecordZoneID recordZoneId, CKRecordZone recordZone, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKRecordZoneID recordZoneId, CKRecordZone recordZone, Foundation.NSError error);
}
Added value:
ChangeHistoryInvalidFetchRequest = 605,
Modified fields:
-ARM = 18
+ARM = 12
-ARM64 = 16777234
+ARM64 = 16777228
-PPC = 24
+PPC = 18
-PPC64 = 16777240
+PPC64 = 16777234
Added methods:
public static IntPtr CreateNative (string value);
public static string FromHandle (IntPtr handle);
public static string FromHandle (IntPtr handle, bool releaseHandle);
public static void ReleaseNative (IntPtr handle);
Added methods:
public virtual void StartMonitoringLocationPushes (System.Action<Foundation.NSData,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSData> StartMonitoringLocationPushesAsync ();
public virtual void StopMonitoringLocationPushes ();
[Serializable]
public enum CLLocationPushServiceError {
MissingEntitlement = 3,
MissingPushExtension = 1,
MissingPushServerEnvironment = 2,
Unknown = 0,
}
public static class CLLocationPushServiceErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CLLocationPushServiceError self);
}
public static class CLLocationPushServiceExtension_Extensions {
// methods
public static void ServiceExtensionWillTerminate (this ICLLocationPushServiceExtension This);
}
public interface ICLLocationPushServiceExtension : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidReceiveLocationPushPayload (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> payload, System.Action completion);
}
Added properties:
public virtual double AbsoluteAltitudeUpdateInterval { get; set; }
public static bool IsAbsoluteAltitudeAvailable { get; }
Added methods:
public virtual void StartAbsoluteAltitudeUpdates (Foundation.NSOperationQueue queue, System.Action<CMAbsoluteAltitudeData,Foundation.NSError> handler);
public virtual void StopAbsoluteAltitudeUpdates ();
public class CMAbsoluteAltitudeData : CoreMotion.CMLogItem, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CMAbsoluteAltitudeData (Foundation.NSCoder coder);
protected CMAbsoluteAltitudeData (Foundation.NSObjectFlag t);
protected CMAbsoluteAltitudeData (IntPtr handle);
// properties
public virtual double Accuracy { get; }
public virtual double Altitude { get; }
public override IntPtr ClassHandle { get; }
public virtual double Precision { get; }
}
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CTRunDelegate ();
Added property:
public IntPtr Handle { get; }
Added properties:
public static Foundation.NSString AmbientViewingEnvironmentKey { get; }
public static Foundation.NSString RegionOfInterestKey { get; }
Added method:
public CVPixelBufferAttributes GetPixelBufferCreationAttributes ();
public static class CVPixelFormatTypeExtensions {
// methods
public static bool IsCompressedPixelFormatAvailable (this CVPixelFormatType type);
}
Obsoleted methods:
[Obsolete ("Use of 'CFString.CreateNative' offers better performance.")]
public static IntPtr CreateNative (string str);
[Obsolete ("Use of 'CFString.FromHandle' offers better performance.")]
public static string FromHandle (IntPtr usrhandle);
[Obsolete ("Use of 'CFString.FromHandle' offers better performance.")]
public static string FromHandle (IntPtr handle, bool owns);
Modified methods:
public bool OpenMaps (MKMapItem[] mapItems--- = NULL---, MKLaunchOptions launchOptions = NULL)
Modified fields:
-public const string SdkVersion = "7.4";
+public const string SdkVersion = "8.0";
-public const string Version = "14.16.0";
+public const string Version = "14.99.0";
Added field:
public static const string ChipLibrary = "/System/Library/Frameworks/CHIP.framework/CHIP";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
Added method:
public static void ThrowException (IntPtr gchandle);
Added property:
public static UTType Makefile { get; }
Added property:
public virtual System.Action ExpirationHandler { get; set; }