Xamarin.WatchOS SDK API diff: 12.14.0 vs 12.99.3
System.Core.dll
Namespace System.Security.Cryptography.X509Certificates
Type Changed: System.Security.Cryptography.X509Certificates.RSACertificateExtensions
Added method:
public static X509Certificate2 CopyWithPrivateKey (this X509Certificate2 certificate, System.Security.Cryptography.RSA privateKey);
Xamarin.WatchOS.dll
Namespace AudioToolbox
Type Changed: AudioToolbox.AudioFormatType
Added value:
LatmInLoas = 1819238771,
New Type: AudioToolbox.AudioFormat
public struct AudioFormat {
// fields
public AudioChannelLayoutTag AudioChannelLayoutTag;
public AudioStreamBasicDescription AudioStreamBasicDescription;
// methods
public override string ToString ();
}
Namespace ClockKit
Type Changed: ClockKit.CLKDateTextProvider
Added property:
public virtual bool Uppercase { get; set; }
Type Changed: ClockKit.CLKFullColorImageProvider
Added property:
public virtual CLKImageProvider TintedImageProvider { get; set; }
Added method:
public static CLKFullColorImageProvider Create (UIKit.UIImage image, CLKImageProvider tintedImageProvider);
Type Changed: ClockKit.CLKRelativeDateStyle
Added values:
NaturalFull = 5,
OffsetShort = 4,
Type Changed: ClockKit.CLKSimpleTextProvider
Removed property:
public virtual string AccessibilityLabel { get; set; }
Type Changed: ClockKit.CLKTextProvider
Added property:
public virtual string AccessibilityLabel { get; set; }
New Type: ClockKit.CLKComplicationTemplateGraphicCircularStackImage
public class CLKComplicationTemplateGraphicCircularStackImage : ClockKit.CLKComplicationTemplateGraphicCircular, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CLKComplicationTemplateGraphicCircularStackImage ();
protected CLKComplicationTemplateGraphicCircularStackImage (Foundation.NSObjectFlag t);
protected CLKComplicationTemplateGraphicCircularStackImage (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CLKFullColorImageProvider Line1ImageProvider { get; set; }
public virtual CLKTextProvider Line2TextProvider { get; set; }
}
New Type: ClockKit.CLKComplicationTemplateGraphicCircularStackText
public class CLKComplicationTemplateGraphicCircularStackText : ClockKit.CLKComplicationTemplateGraphicCircular, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CLKComplicationTemplateGraphicCircularStackText ();
protected CLKComplicationTemplateGraphicCircularStackText (Foundation.NSObjectFlag t);
protected CLKComplicationTemplateGraphicCircularStackText (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CLKTextProvider Line1TextProvider { get; set; }
public virtual CLKTextProvider Line2TextProvider { get; set; }
}
Namespace CloudKit
Type Changed: CloudKit.CKDatabase
Added methods:
public virtual void DeleteSubscription (string subscriptionID, CKDatabaseDeleteSubscriptionHandler completionHandler);
public virtual System.Threading.Tasks.Task<string> DeleteSubscriptionAsync (string subscriptionID);
public virtual void FetchAllSubscriptions (System.Action<CKSubscription[],Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<CKSubscription[]> FetchAllSubscriptionsAsync ();
public virtual void FetchSubscription (string subscriptionId, System.Action<CKSubscription,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<CKSubscription> FetchSubscriptionAsync (string subscriptionId);
public virtual void SaveSubscription (CKSubscription subscription, System.Action<CKSubscription,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<CKSubscription> SaveSubscriptionAsync (CKSubscription subscription);
New Type: CloudKit.CKDatabaseDeleteSubscriptionHandler
public sealed delegate CKDatabaseDeleteSubscriptionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKDatabaseDeleteSubscriptionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (string subscriptionId, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (string subscriptionId, Foundation.NSError error);
}
New Type: CloudKit.CKDatabaseSubscription
public class CKDatabaseSubscription : CloudKit.CKSubscription, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKDatabaseSubscription ();
public CKDatabaseSubscription (Foundation.NSCoder coder);
protected CKDatabaseSubscription (Foundation.NSObjectFlag t);
protected CKDatabaseSubscription (IntPtr handle);
public CKDatabaseSubscription (string subscriptionID);
// properties
public override IntPtr ClassHandle { get; }
public virtual string RecordType { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CloudKit.CKFetchSubscriptionsCompleteHandler
public sealed delegate CKFetchSubscriptionsCompleteHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKFetchSubscriptionsCompleteHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSDictionary subscriptionsBySubscriptionId, Foundation.NSError operationError, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSDictionary subscriptionsBySubscriptionId, Foundation.NSError operationError);
}
New Type: CloudKit.CKFetchSubscriptionsOperation
public class CKFetchSubscriptionsOperation : CloudKit.CKDatabaseOperation, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKFetchSubscriptionsOperation ();
protected CKFetchSubscriptionsOperation (Foundation.NSObjectFlag t);
protected CKFetchSubscriptionsOperation (IntPtr handle);
public CKFetchSubscriptionsOperation (string[] subscriptionIds);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKFetchSubscriptionsCompleteHandler Completed { get; set; }
public virtual string[] SubscriptionIds { get; set; }
// methods
public static CKFetchSubscriptionsOperation FetchAllSubscriptionsOperation ();
}
New Type: CloudKit.CKModifySubscriptionsHandler
public sealed delegate CKModifySubscriptionsHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CKModifySubscriptionsHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CKSubscription[] savedSubscriptions, string[] deletedSubscriptionIds, Foundation.NSError operationError, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CKSubscription[] savedSubscriptions, string[] deletedSubscriptionIds, Foundation.NSError operationError);
}
New Type: CloudKit.CKModifySubscriptionsOperation
public class CKModifySubscriptionsOperation : CloudKit.CKDatabaseOperation, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKModifySubscriptionsOperation ();
protected CKModifySubscriptionsOperation (Foundation.NSObjectFlag t);
protected CKModifySubscriptionsOperation (IntPtr handle);
public CKModifySubscriptionsOperation (CKSubscription[] subscriptionsToSave, string[] subscriptionIdsToDelete);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKModifySubscriptionsHandler Completed { get; set; }
public virtual string[] SubscriptionIdsToDelete { get; set; }
public virtual CKSubscription[] SubscriptionsToSave { get; set; }
}
New Type: CloudKit.CKNotificationInfo
public class CKNotificationInfo : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKNotificationInfo ();
public CKNotificationInfo (Foundation.NSCoder coder);
protected CKNotificationInfo (Foundation.NSObjectFlag t);
protected CKNotificationInfo (IntPtr handle);
// properties
public virtual string AlertActionLocalizationKey { get; set; }
public virtual string AlertBody { get; set; }
public virtual string AlertLaunchImage { get; set; }
public virtual string[] AlertLocalizationArgs { get; set; }
public virtual string AlertLocalizationKey { get; set; }
public virtual string Category { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string CollapseIdKey { get; set; }
public virtual string[] DesiredKeys { get; set; }
public virtual bool ShouldBadge { get; set; }
public virtual bool ShouldSendContentAvailable { get; set; }
public virtual bool ShouldSendMutableContent { get; set; }
public virtual string SoundName { get; set; }
public virtual string Subtitle { get; set; }
public virtual string[] SubtitleLocalizationArgs { get; set; }
public virtual string SubtitleLocalizationKey { get; set; }
public virtual string Title { get; set; }
public virtual string[] TitleLocalizationArgs { get; set; }
public virtual string TitleLocalizationKey { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CloudKit.CKQuerySubscription
public class CKQuerySubscription : CloudKit.CKSubscription, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKQuerySubscription (Foundation.NSCoder coder);
protected CKQuerySubscription (Foundation.NSObjectFlag t);
protected CKQuerySubscription (IntPtr handle);
public CKQuerySubscription (string recordType, Foundation.NSPredicate predicate, CKQuerySubscriptionOptions querySubscriptionOptions);
public CKQuerySubscription (string recordType, Foundation.NSPredicate predicate, string subscriptionID, CKQuerySubscriptionOptions querySubscriptionOptions);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSPredicate Predicate { get; }
public virtual string RecordType { get; }
public virtual CKQuerySubscriptionOptions SubscriptionOptions { get; }
public virtual CKRecordZoneID ZoneID { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CloudKit.CKQuerySubscriptionOptions
[Serializable]
public enum CKQuerySubscriptionOptions {
FiresOnce = 8,
RecordCreation = 1,
RecordDeletion = 4,
RecordUpdate = 2,
}
New Type: CloudKit.CKRecordZoneSubscription
public class CKRecordZoneSubscription : CloudKit.CKSubscription, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKRecordZoneSubscription (CKRecordZoneID zoneID);
public CKRecordZoneSubscription (Foundation.NSCoder coder);
protected CKRecordZoneSubscription (Foundation.NSObjectFlag t);
protected CKRecordZoneSubscription (IntPtr handle);
public CKRecordZoneSubscription (CKRecordZoneID zoneID, string subscriptionID);
// properties
public override IntPtr ClassHandle { get; }
public virtual string RecordType { get; set; }
public virtual CKRecordZoneID ZoneID { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CloudKit.CKSubscription
public class CKSubscription : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CKSubscription (Foundation.NSCoder coder);
protected CKSubscription (Foundation.NSObjectFlag t);
protected CKSubscription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKNotificationInfo NotificationInfo { get; set; }
public virtual string SubscriptionId { get; }
public virtual CKSubscriptionType SubscriptionType { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CloudKit.CKSubscriptionType
[Serializable]
public enum CKSubscriptionType {
Database = 3,
Query = 1,
RecordZone = 2,
}
Namespace Contacts
Type Changed: Contacts.CNContactFetchRequest
Modified base type:
-Foundation.NSObject
+Contacts.CNFetchRequest
Type Changed: Contacts.CNContactStore
Added property:
public virtual Foundation.NSData CurrentHistoryToken { get; }
Type Changed: Contacts.CNErrorCode
Added values:
FeatureDisabledByUser = 103,
ParentContainerNotWritable = 207,
RecordNotWritable = 206,
UnauthorizedKeys = 102,
Type Changed: Contacts.CNLabelContactRelationKey
Added properties:
public static Foundation.NSString Aunt { get; }
public static Foundation.NSString AuntFathersBrothersWife { get; }
public static Foundation.NSString AuntFathersElderBrothersWife { get; }
public static Foundation.NSString AuntFathersElderSister { get; }
public static Foundation.NSString AuntFathersSister { get; }
public static Foundation.NSString AuntFathersYoungerBrothersWife { get; }
public static Foundation.NSString AuntFathersYoungerSister { get; }
public static Foundation.NSString AuntMothersBrothersWife { get; }
public static Foundation.NSString AuntMothersElderSister { get; }
public static Foundation.NSString AuntMothersSister { get; }
public static Foundation.NSString AuntMothersYoungerSister { get; }
public static Foundation.NSString AuntParentsElderSister { get; }
public static Foundation.NSString AuntParentsSister { get; }
public static Foundation.NSString AuntParentsYoungerSister { get; }
public static Foundation.NSString Boyfriend { get; }
public static Foundation.NSString BrotherInLaw { get; }
public static Foundation.NSString BrotherInLawElderSistersHusband { get; }
public static Foundation.NSString BrotherInLawHusbandsBrother { get; }
public static Foundation.NSString BrotherInLawHusbandsSistersHusband { get; }
public static Foundation.NSString BrotherInLawSistersHusband { get; }
public static Foundation.NSString BrotherInLawSpousesBrother { get; }
public static Foundation.NSString BrotherInLawWifesBrother { get; }
public static Foundation.NSString BrotherInLawWifesSistersHusband { get; }
public static Foundation.NSString BrotherInLawYoungerSistersHusband { get; }
public static Foundation.NSString ChildInLaw { get; }
public static Foundation.NSString CoBrotherInLaw { get; }
public static Foundation.NSString CoFatherInLaw { get; }
public static Foundation.NSString CoMotherInLaw { get; }
public static Foundation.NSString CoParentInLaw { get; }
public static Foundation.NSString CoSiblingInLaw { get; }
public static Foundation.NSString CoSisterInLaw { get; }
public static Foundation.NSString Colleague { get; }
public static Foundation.NSString Cousin { get; }
public static Foundation.NSString CousinFathersBrothersDaughter { get; }
public static Foundation.NSString CousinFathersBrothersSon { get; }
public static Foundation.NSString CousinFathersSistersDaughter { get; }
public static Foundation.NSString CousinFathersSistersSon { get; }
public static Foundation.NSString CousinGrandparentsSiblingsChild { get; }
public static Foundation.NSString CousinGrandparentsSiblingsDaughter { get; }
public static Foundation.NSString CousinGrandparentsSiblingsSon { get; }
public static Foundation.NSString CousinMothersBrothersDaughter { get; }
public static Foundation.NSString CousinMothersBrothersSon { get; }
public static Foundation.NSString CousinMothersSistersDaughter { get; }
public static Foundation.NSString CousinMothersSistersSon { get; }
public static Foundation.NSString CousinOrSiblingsChild { get; }
public static Foundation.NSString CousinParentsSiblingsChild { get; }
public static Foundation.NSString CousinParentsSiblingsDaughter { get; }
public static Foundation.NSString CousinParentsSiblingsSon { get; }
public static Foundation.NSString DaughterInLaw { get; }
public static Foundation.NSString DaughterInLawOrSisterInLaw { get; }
public static Foundation.NSString DaughterInLawOrStepdaughter { get; }
public static Foundation.NSString ElderBrother { get; }
public static Foundation.NSString ElderBrotherInLaw { get; }
public static Foundation.NSString ElderCousin { get; }
public static Foundation.NSString ElderCousinFathersBrothersDaughter { get; }
public static Foundation.NSString ElderCousinFathersBrothersSon { get; }
public static Foundation.NSString ElderCousinFathersSistersDaughter { get; }
public static Foundation.NSString ElderCousinFathersSistersSon { get; }
public static Foundation.NSString ElderCousinMothersBrothersDaughter { get; }
public static Foundation.NSString ElderCousinMothersBrothersSon { get; }
public static Foundation.NSString ElderCousinMothersSiblingsDaughterOrFathersSistersDaughter { get; }
public static Foundation.NSString ElderCousinMothersSiblingsSonOrFathersSistersSon { get; }
public static Foundation.NSString ElderCousinMothersSistersDaughter { get; }
public static Foundation.NSString ElderCousinMothersSistersSon { get; }
public static Foundation.NSString ElderCousinParentsSiblingsDaughter { get; }
public static Foundation.NSString ElderCousinParentsSiblingsSon { get; }
public static Foundation.NSString ElderSibling { get; }
public static Foundation.NSString ElderSiblingInLaw { get; }
public static Foundation.NSString ElderSister { get; }
public static Foundation.NSString ElderSisterInLaw { get; }
public static Foundation.NSString EldestBrother { get; }
public static Foundation.NSString EldestSister { get; }
public static Foundation.NSString FatherInLaw { get; }
public static Foundation.NSString FatherInLawHusbandsFather { get; }
public static Foundation.NSString FatherInLawOrStepfather { get; }
public static Foundation.NSString FatherInLawWifesFather { get; }
public static Foundation.NSString FemaleCousin { get; }
public static Foundation.NSString FemaleFriend { get; }
public static Foundation.NSString FemalePartner { get; }
public static Foundation.NSString Girlfriend { get; }
public static Foundation.NSString GirlfriendOrBoyfriend { get; }
public static Foundation.NSString Grandaunt { get; }
public static Foundation.NSString Grandchild { get; }
public static Foundation.NSString GrandchildOrSiblingsChild { get; }
public static Foundation.NSString Granddaughter { get; }
public static Foundation.NSString GranddaughterDaughtersDaughter { get; }
public static Foundation.NSString GranddaughterSonsDaughter { get; }
public static Foundation.NSString Grandfather { get; }
public static Foundation.NSString GrandfatherFathersFather { get; }
public static Foundation.NSString GrandfatherMothersFather { get; }
public static Foundation.NSString Grandmother { get; }
public static Foundation.NSString GrandmotherFathersMother { get; }
public static Foundation.NSString GrandmotherMothersMother { get; }
public static Foundation.NSString Grandnephew { get; }
public static Foundation.NSString GrandnephewBrothersGrandson { get; }
public static Foundation.NSString GrandnephewSistersGrandson { get; }
public static Foundation.NSString Grandniece { get; }
public static Foundation.NSString GrandnieceBrothersGranddaughter { get; }
public static Foundation.NSString GrandnieceSistersGranddaughter { get; }
public static Foundation.NSString Grandparent { get; }
public static Foundation.NSString Grandson { get; }
public static Foundation.NSString GrandsonDaughtersSon { get; }
public static Foundation.NSString GrandsonSonsSon { get; }
public static Foundation.NSString Granduncle { get; }
public static Foundation.NSString GreatGrandchild { get; }
public static Foundation.NSString GreatGrandchildOrSiblingsGrandchild { get; }
public static Foundation.NSString GreatGranddaughter { get; }
public static Foundation.NSString GreatGrandfather { get; }
public static Foundation.NSString GreatGrandmother { get; }
public static Foundation.NSString GreatGrandparent { get; }
public static Foundation.NSString GreatGrandson { get; }
public static Foundation.NSString Husband { get; }
public static Foundation.NSString MaleCousin { get; }
public static Foundation.NSString MaleFriend { get; }
public static Foundation.NSString MalePartner { get; }
public static Foundation.NSString MotherInLaw { get; }
public static Foundation.NSString MotherInLawHusbandsMother { get; }
public static Foundation.NSString MotherInLawOrStepmother { get; }
public static Foundation.NSString MotherInLawWifesMother { get; }
public static Foundation.NSString Nephew { get; }
public static Foundation.NSString NephewBrothersSon { get; }
public static Foundation.NSString NephewBrothersSonOrHusbandsSiblingsSon { get; }
public static Foundation.NSString NephewOrCousin { get; }
public static Foundation.NSString NephewSistersSon { get; }
public static Foundation.NSString NephewSistersSonOrWifesSiblingsSon { get; }
public static Foundation.NSString Niece { get; }
public static Foundation.NSString NieceBrothersDaughter { get; }
public static Foundation.NSString NieceBrothersDaughterOrHusbandsSiblingsDaughter { get; }
public static Foundation.NSString NieceOrCousin { get; }
public static Foundation.NSString NieceSistersDaughter { get; }
public static Foundation.NSString NieceSistersDaughterOrWifesSiblingsDaughter { get; }
public static Foundation.NSString ParentInLaw { get; }
public static Foundation.NSString ParentsElderSibling { get; }
public static Foundation.NSString ParentsSibling { get; }
public static Foundation.NSString ParentsSiblingFathersElderSibling { get; }
public static Foundation.NSString ParentsSiblingFathersSibling { get; }
public static Foundation.NSString ParentsSiblingFathersYoungerSibling { get; }
public static Foundation.NSString ParentsSiblingMothersElderSibling { get; }
public static Foundation.NSString ParentsSiblingMothersSibling { get; }
public static Foundation.NSString ParentsSiblingMothersYoungerSibling { get; }
public static Foundation.NSString ParentsYoungerSibling { get; }
public static Foundation.NSString Sibling { get; }
public static Foundation.NSString SiblingInLaw { get; }
public static Foundation.NSString SiblingsChild { get; }
public static Foundation.NSString SisterInLaw { get; }
public static Foundation.NSString SisterInLawBrothersWife { get; }
public static Foundation.NSString SisterInLawElderBrothersWife { get; }
public static Foundation.NSString SisterInLawHusbandsBrothersWife { get; }
public static Foundation.NSString SisterInLawHusbandsSister { get; }
public static Foundation.NSString SisterInLawSpousesSister { get; }
public static Foundation.NSString SisterInLawWifesBrothersWife { get; }
public static Foundation.NSString SisterInLawWifesSister { get; }
public static Foundation.NSString SisterInLawYoungerBrothersWife { get; }
public static Foundation.NSString SonInLaw { get; }
public static Foundation.NSString SonInLawOrBrotherInLaw { get; }
public static Foundation.NSString SonInLawOrStepson { get; }
public static Foundation.NSString Stepbrother { get; }
public static Foundation.NSString Stepchild { get; }
public static Foundation.NSString Stepdaughter { get; }
public static Foundation.NSString Stepfather { get; }
public static Foundation.NSString Stepmother { get; }
public static Foundation.NSString Stepparent { get; }
public static Foundation.NSString Stepsister { get; }
public static Foundation.NSString Stepson { get; }
public static Foundation.NSString Teacher { get; }
public static Foundation.NSString Uncle { get; }
public static Foundation.NSString UncleFathersBrother { get; }
public static Foundation.NSString UncleFathersElderBrother { get; }
public static Foundation.NSString UncleFathersElderSistersHusband { get; }
public static Foundation.NSString UncleFathersSistersHusband { get; }
public static Foundation.NSString UncleFathersYoungerBrother { get; }
public static Foundation.NSString UncleFathersYoungerSistersHusband { get; }
public static Foundation.NSString UncleMothersBrother { get; }
public static Foundation.NSString UncleMothersElderBrother { get; }
public static Foundation.NSString UncleMothersSistersHusband { get; }
public static Foundation.NSString UncleMothersYoungerBrother { get; }
public static Foundation.NSString UncleParentsBrother { get; }
public static Foundation.NSString UncleParentsElderBrother { get; }
public static Foundation.NSString UncleParentsYoungerBrother { get; }
public static Foundation.NSString Wife { get; }
public static Foundation.NSString YoungerBrother { get; }
public static Foundation.NSString YoungerBrotherInLaw { get; }
public static Foundation.NSString YoungerCousin { get; }
public static Foundation.NSString YoungerCousinFathersBrothersDaughter { get; }
public static Foundation.NSString YoungerCousinFathersBrothersSon { get; }
public static Foundation.NSString YoungerCousinFathersSistersDaughter { get; }
public static Foundation.NSString YoungerCousinFathersSistersSon { get; }
public static Foundation.NSString YoungerCousinMothersBrothersDaughter { get; }
public static Foundation.NSString YoungerCousinMothersBrothersSon { get; }
public static Foundation.NSString YoungerCousinMothersSiblingsDaughterOrFathersSistersDaughter { get; }
public static Foundation.NSString YoungerCousinMothersSiblingsSonOrFathersSistersSon { get; }
public static Foundation.NSString YoungerCousinMothersSistersDaughter { get; }
public static Foundation.NSString YoungerCousinMothersSistersSon { get; }
public static Foundation.NSString YoungerCousinParentsSiblingsDaughter { get; }
public static Foundation.NSString YoungerCousinParentsSiblingsSon { get; }
public static Foundation.NSString YoungerSibling { get; }
public static Foundation.NSString YoungerSiblingInLaw { get; }
public static Foundation.NSString YoungerSister { get; }
public static Foundation.NSString YoungerSisterInLaw { get; }
public static Foundation.NSString YoungestBrother { get; }
public static Foundation.NSString YoungestSister { get; }
Type Changed: Contacts.CNLabelKey
Added property:
public static Foundation.NSString School { get; }
New Type: Contacts.CNChangeHistoryAddContactEvent
public class CNChangeHistoryAddContactEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryAddContactEvent (Foundation.NSCoder coder);
protected CNChangeHistoryAddContactEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryAddContactEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNContact Contact { get; }
public virtual string ContainerIdentifier { get; }
}
New Type: Contacts.CNChangeHistoryAddGroupEvent
public class CNChangeHistoryAddGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryAddGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryAddGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryAddGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ContainerIdentifier { get; }
public virtual CNGroup Group { get; }
}
New Type: Contacts.CNChangeHistoryAddMemberToGroupEvent
public class CNChangeHistoryAddMemberToGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryAddMemberToGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryAddMemberToGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryAddMemberToGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNGroup Group { get; }
public virtual CNContact Member { get; }
}
New Type: Contacts.CNChangeHistoryAddSubgroupToGroupEvent
public class CNChangeHistoryAddSubgroupToGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryAddSubgroupToGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryAddSubgroupToGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryAddSubgroupToGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNGroup Group { get; }
public virtual CNGroup Subgroup { get; }
}
New Type: Contacts.CNChangeHistoryDeleteContactEvent
public class CNChangeHistoryDeleteContactEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryDeleteContactEvent (Foundation.NSCoder coder);
protected CNChangeHistoryDeleteContactEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryDeleteContactEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ContactIdentifier { get; }
}
New Type: Contacts.CNChangeHistoryDeleteGroupEvent
public class CNChangeHistoryDeleteGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryDeleteGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryDeleteGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryDeleteGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string GroupIdentifier { get; }
}
New Type: Contacts.CNChangeHistoryDropEverythingEvent
public class CNChangeHistoryDropEverythingEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryDropEverythingEvent ();
public CNChangeHistoryDropEverythingEvent (Foundation.NSCoder coder);
protected CNChangeHistoryDropEverythingEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryDropEverythingEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: Contacts.CNChangeHistoryEvent
public class CNChangeHistoryEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryEvent (Foundation.NSCoder coder);
protected CNChangeHistoryEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void AcceptEventVisitor (ICNChangeHistoryEventVisitor visitor);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: Contacts.CNChangeHistoryEventVisitor_Extensions
public static class CNChangeHistoryEventVisitor_Extensions {
// methods
public static void AddGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryAddGroupEvent event);
public static void AddMemberToGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryAddMemberToGroupEvent event);
public static void AddSubgroupToGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryAddSubgroupToGroupEvent event);
public static void DeleteGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryDeleteGroupEvent event);
public static void RemoveMemberFromGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryRemoveMemberFromGroupEvent event);
public static void RemoveSubgroupFromGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryRemoveSubgroupFromGroupEvent event);
public static void UpdateGroup (this ICNChangeHistoryEventVisitor This, CNChangeHistoryUpdateGroupEvent event);
}
New Type: Contacts.CNChangeHistoryFetchRequest
public class CNChangeHistoryFetchRequest : Contacts.CNFetchRequest, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryFetchRequest ();
public CNChangeHistoryFetchRequest (Foundation.NSCoder coder);
protected CNChangeHistoryFetchRequest (Foundation.NSObjectFlag t);
protected CNChangeHistoryFetchRequest (IntPtr handle);
// properties
public virtual ICNKeyDescriptor[] AdditionalContactKeyDescriptors { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string[] ExcludedTransactionAuthors { get; set; }
public virtual bool IncludeGroupChanges { get; set; }
public virtual bool MutableObjects { get; set; }
public virtual bool ShouldUnifyResults { get; set; }
public virtual Foundation.NSData StartingToken { get; set; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: Contacts.CNChangeHistoryRemoveMemberFromGroupEvent
public class CNChangeHistoryRemoveMemberFromGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryRemoveMemberFromGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryRemoveMemberFromGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryRemoveMemberFromGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNGroup Group { get; }
public virtual CNContact Member { get; }
}
New Type: Contacts.CNChangeHistoryRemoveSubgroupFromGroupEvent
public class CNChangeHistoryRemoveSubgroupFromGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryRemoveSubgroupFromGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryRemoveSubgroupFromGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryRemoveSubgroupFromGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNGroup Group { get; }
public virtual CNGroup Subgroup { get; }
}
New Type: Contacts.CNChangeHistoryUpdateContactEvent
public class CNChangeHistoryUpdateContactEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryUpdateContactEvent (Foundation.NSCoder coder);
protected CNChangeHistoryUpdateContactEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryUpdateContactEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNContact Contact { get; }
}
New Type: Contacts.CNChangeHistoryUpdateGroupEvent
public class CNChangeHistoryUpdateGroupEvent : Contacts.CNChangeHistoryEvent, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public CNChangeHistoryUpdateGroupEvent (Foundation.NSCoder coder);
protected CNChangeHistoryUpdateGroupEvent (Foundation.NSObjectFlag t);
protected CNChangeHistoryUpdateGroupEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNGroup Group { get; }
}
New Type: Contacts.CNFetchRequest
public class CNFetchRequest : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected CNFetchRequest (Foundation.NSObjectFlag t);
protected CNFetchRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: Contacts.CNFetchResult
public class CNFetchResult : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected CNFetchResult (Foundation.NSObjectFlag t);
protected CNFetchResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData CurrentHistoryToken { get; }
public virtual Foundation.NSObject Value { get; }
}
New Type: Contacts.ICNChangeHistoryEventVisitor
public interface ICNChangeHistoryEventVisitor : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void AddContact (CNChangeHistoryAddContactEvent event);
public virtual void DeleteContact (CNChangeHistoryDeleteContactEvent event);
public virtual void DropEverything (CNChangeHistoryDropEverythingEvent event);
public virtual void UpdateContact (CNChangeHistoryUpdateContactEvent event);
}
Namespace CoreBluetooth
Type Changed: CoreBluetooth.CBCentralManager
Added events:
public event System.EventHandler<CBPeripheralConnectionEventEventArgs> ConnectionEventDidOccur;
public event System.EventHandler<CBAncsAuthorizationUpdateEventArgs> DidUpdateAncsAuthorization;
Added methods:
public void ConnectPeripheral (CBPeripheral peripheral, CBConnectPeripheralOptions options);
public void RegisterForConnectionEvents (CBConnectionEventMatchingOptions options);
public virtual void RegisterForConnectionEvents (Foundation.NSDictionary options);
public static bool SupportsFeatures (CBCentralManagerFeature features);
Type Changed: CoreBluetooth.CBCentralManagerDelegate
Added methods:
public virtual void ConnectionEventDidOccur (CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral);
public virtual void DidUpdateAncsAuthorization (CBCentralManager central, CBPeripheral peripheral);
Type Changed: CoreBluetooth.CBCentralManagerDelegate_Extensions
Added methods:
public static void ConnectionEventDidOccur (this ICBCentralManagerDelegate This, CBCentralManager central, CBConnectionEvent connectionEvent, CBPeripheral peripheral);
public static void DidUpdateAncsAuthorization (this ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral);
Type Changed: CoreBluetooth.CBManager
Added property:
public virtual CBManagerAuthorization Authorization { get; }
Type Changed: CoreBluetooth.CBPeripheral
Added property:
public virtual bool AncsAuthorized { get; }
New Type: CoreBluetooth.CBAncsAuthorizationUpdateEventArgs
public class CBAncsAuthorizationUpdateEventArgs : System.EventArgs {
// constructors
public CBAncsAuthorizationUpdateEventArgs (CBPeripheral peripheral);
// properties
public CBPeripheral Peripheral { get; set; }
}
New Type: CoreBluetooth.CBCentralManagerFeature
[Serializable]
[Flags]
public enum CBCentralManagerFeature {
ExtendedScanAndConnect = 1,
}
New Type: CoreBluetooth.CBConnectPeripheralOptions
public class CBConnectPeripheralOptions : Foundation.DictionaryContainer {
// constructors
public CBConnectPeripheralOptions ();
public CBConnectPeripheralOptions (Foundation.NSDictionary dictionary);
// properties
public bool? EnableTransportBridging { get; set; }
public bool? NotifyOnConnection { get; set; }
public bool? NotifyOnDisconnection { get; set; }
public bool? NotifyOnNotification { get; set; }
public bool? RequiresAncs { get; set; }
}
New Type: CoreBluetooth.CBConnectionEvent
[Serializable]
public enum CBConnectionEvent {
Connected = 1,
Disconnected = 0,
}
New Type: CoreBluetooth.CBConnectionEventMatchingOptions
public class CBConnectionEventMatchingOptions : Foundation.DictionaryContainer {
// constructors
public CBConnectionEventMatchingOptions ();
public CBConnectionEventMatchingOptions (Foundation.NSDictionary dictionary);
// properties
public Foundation.NSUuid[] PeripheralUuids { get; set; }
public CBUUID[] ServiceUuids { get; set; }
}
New Type: CoreBluetooth.CBManagerAuthorization
[Serializable]
public enum CBManagerAuthorization {
AllowedAlways = 3,
Denied = 2,
NotDetermined = 0,
Restricted = 1,
}
New Type: CoreBluetooth.CBPeripheralConnectionEventEventArgs
public class CBPeripheralConnectionEventEventArgs : System.EventArgs {
// constructors
public CBPeripheralConnectionEventEventArgs (CBConnectionEvent connectionEvent, CBPeripheral peripheral);
// properties
public CBConnectionEvent ConnectionEvent { get; set; }
public CBPeripheral Peripheral { get; set; }
}
Namespace CoreGraphics
Type Changed: CoreGraphics.CGColor
Added methods:
public static CGColor CreateGenericGrayGamma2_2 (nfloat gray, nfloat alpha);
public static CGColor CreateSrgb (nfloat red, nfloat green, nfloat blue, nfloat alpha);
Type Changed: CoreGraphics.CGColorConversionInfo
Modified constructors:
-public CGColorConversionInfo (CGColorSpace src, CGColorSpace dst---destination---)
+public CGColorConversionInfo (CGColorSpace source, CGColorSpace +++dst+++destination)
Added constructors:
public CGColorConversionInfo (CGColorSpace source, CGColorSpace destination, CGColorConversionOptions options);
public CGColorConversionInfo (CGColorSpace source, CGColorSpace destination, Foundation.NSDictionary options);
Type Changed: CoreGraphics.CGColorSpace
Added property:
public bool IsHdr { get; }
Type Changed: CoreGraphics.CGColorSpaceNames
Added properties:
public static Foundation.NSString DisplayP3_Hlg { get; }
public static Foundation.NSString DisplayP3_PQ_Eotf { get; }
public static Foundation.NSString ExtendedLinearDisplayP3 { get; }
public static Foundation.NSString ExtendedLinearItur_2020 { get; }
public static Foundation.NSString Itur_2020_Hlg { get; }
public static Foundation.NSString Itur_2020_PQ_Eotf { get; }
Type Changed: CoreGraphics.CGContextPDF
Added methods:
public void BeginTag (CGPdfTagType tagType, CGPdfTagProperties tagProperties);
public void BeginTag (CGPdfTagType tagType, Foundation.NSDictionary tagProperties);
public void EndTag ();
New Type: CoreGraphics.CGPdfTagProperties
public class CGPdfTagProperties : Foundation.DictionaryContainer {
// constructors
public CGPdfTagProperties ();
public CGPdfTagProperties (Foundation.NSDictionary dictionary);
// properties
public string ActualText { get; set; }
public string AlternativeText { get; set; }
public string LanguageText { get; set; }
public string TitleText { get; set; }
}
New Type: CoreGraphics.CGPdfTagType
[Serializable]
public enum CGPdfTagType {
Annotation = 507,
Art = 102,
Bibliography = 504,
BlockQuote = 105,
Caption = 106,
Code = 505,
Div = 104,
Document = 100,
Figure = 700,
Form = 702,
Formula = 701,
Header = 201,
Header1 = 202,
Header2 = 203,
Header3 = 204,
Header4 = 205,
Header5 = 206,
Header6 = 207,
Index = 109,
Label = 302,
Link = 506,
List = 300,
ListBody = 303,
ListItem = 301,
NonStructure = 110,
Note = 502,
Paragraph = 200,
Part = 101,
Private = 111,
Quote = 501,
Reference = 503,
Ruby = 600,
RubyAnnotationText = 602,
RubyBaseText = 601,
RubyPunctuation = 603,
Section = 103,
Span = 500,
Table = 400,
TableBody = 405,
TableDataCell = 403,
TableFooter = 406,
TableHeader = 404,
TableHeaderCell = 402,
TableRow = 401,
Toc = 107,
Toci = 108,
Warichu = 604,
WarichuPunctiation = 606,
WarichuText = 605,
}
New Type: CoreGraphics.CGPdfTagType_Extensions
public static class CGPdfTagType_Extensions {
// methods
public static string GetName (this CGPdfTagType self);
}
Namespace CoreML
Type Changed: CoreML.MLDictionaryConstraint
Added constructor:
public MLDictionaryConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLFeatureDescription
Added constructor:
public MLFeatureDescription (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLFeatureValue
Added methods:
public static MLFeatureValue Create (CoreGraphics.CGImage image, MLImageConstraint constraint, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, MLImageConstraint constraint, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, MLImageConstraint constraint, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, MLImageConstraint constraint, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, MLImageConstraint constraint, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary options, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, MLFeatureValueImageOption imageOptions, out Foundation.NSError error);
public static MLFeatureValue Create (Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, nint pixelsWide, nint pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary options, out Foundation.NSError error);
Type Changed: CoreML.MLImageConstraint
Added constructor:
public MLImageConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLImageSize
Added constructor:
public MLImageSize (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLImageSizeConstraint
Added constructor:
public MLImageSizeConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLModel
Added methods:
public virtual Foundation.NSObject GetParameterValue (MLParameterKey key, out Foundation.NSError error);
public virtual IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, out Foundation.NSError error);
Type Changed: CoreML.MLModelConfiguration
Added constructor:
public MLModelConfiguration (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added property:
public virtual Foundation.NSDictionary<MLParameterKey,Foundation.NSObject> Parameters { get; set; }
Added methods:
protected override void Dispose (bool disposing);
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLModelDescription
Added constructor:
public MLModelDescription (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added properties:
public virtual bool IsUpdatable { get; }
public virtual Foundation.NSDictionary<MLParameterKey,CoreML.MLParameterDescription> ParameterDescriptionsByKey { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,CoreML.MLFeatureDescription> TrainingInputDescriptionsByName { get; }
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLModelError
Added values:
Parameters = 7,
Update = 6,
Type Changed: CoreML.MLMultiArrayConstraint
Added constructor:
public MLMultiArrayConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLMultiArrayShapeConstraint
Added constructor:
public MLMultiArrayShapeConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
Type Changed: CoreML.MLSequenceConstraint
Added constructor:
public MLSequenceConstraint (Foundation.NSCoder coder);
Added interfaces:
Foundation.INSCoding
Foundation.INSSecureCoding
Added method:
public virtual void EncodeTo (Foundation.NSCoder encoder);
New Type: CoreML.IMLWritable
public interface IMLWritable : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual bool Write (Foundation.NSUrl url, out Foundation.NSError error);
}
New Type: CoreML.MLFeatureValueImageOption
public class MLFeatureValueImageOption : Foundation.DictionaryContainer {
// constructors
public MLFeatureValueImageOption ();
public MLFeatureValueImageOption (Foundation.NSDictionary dictionary);
// properties
public nuint? CropAndScale { get; set; }
public CoreGraphics.CGRect? CropRect { get; set; }
}
New Type: CoreML.MLKey
public class MLKey : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MLKey (Foundation.NSCoder coder);
protected MLKey (Foundation.NSObjectFlag t);
protected MLKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Name { get; }
public virtual string Scope { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CoreML.MLMetricKey
public class MLMetricKey : CoreML.MLKey, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MLMetricKey (Foundation.NSCoder coder);
protected MLMetricKey (Foundation.NSObjectFlag t);
protected MLMetricKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static MLMetricKey EpochIndex { get; }
public static MLMetricKey LossValue { get; }
public static MLMetricKey MiniBatchIndex { get; }
}
New Type: CoreML.MLNumericConstraint
public class MLNumericConstraint : Foundation.NSObject, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MLNumericConstraint (Foundation.NSCoder coder);
protected MLNumericConstraint (Foundation.NSObjectFlag t);
protected MLNumericConstraint (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<Foundation.NSNumber> EnumeratedNumbers { get; }
public virtual Foundation.NSNumber MaxNumber { get; }
public virtual Foundation.NSNumber MinNumber { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CoreML.MLParameterDescription
public class MLParameterDescription : Foundation.NSObject, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MLParameterDescription (Foundation.NSCoder coder);
protected MLParameterDescription (Foundation.NSObjectFlag t);
protected MLParameterDescription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject DefaultValue { get; }
public virtual MLParameterKey Key { get; }
public virtual MLNumericConstraint NumericConstraint { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: CoreML.MLParameterKey
public class MLParameterKey : CoreML.MLKey, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public MLParameterKey (Foundation.NSCoder coder);
protected MLParameterKey (Foundation.NSObjectFlag t);
protected MLParameterKey (IntPtr handle);
// properties
public static MLParameterKey Beta1 { get; }
public static MLParameterKey Beta2 { get; }
public static MLParameterKey Biases { get; }
public override IntPtr ClassHandle { get; }
public static MLParameterKey Epochs { get; }
public static MLParameterKey Eps { get; }
public static MLParameterKey LearningRate { get; }
public static MLParameterKey LinkedModelFileName { get; }
public static MLParameterKey LinkedModelSearchPath { get; }
public static MLParameterKey MiniBatchSize { get; }
public static MLParameterKey Momentum { get; }
public static MLParameterKey NumberOfNeighbors { get; }
public static MLParameterKey Seed { get; }
public static MLParameterKey Shuffle { get; }
public static MLParameterKey Weights { get; }
// methods
public virtual MLParameterKey GetScopedParameter (string scope);
}
New Type: CoreML.MLTask
public class MLTask : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLTask (Foundation.NSObjectFlag t);
protected MLTask (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual MLTaskState State { get; }
public virtual string TaskIdentifier { get; }
// methods
public virtual void Cancel ();
public virtual void Resume ();
}
New Type: CoreML.MLTaskState
[Serializable]
public enum MLTaskState {
Cancelling = 3,
Completed = 4,
Failed = 5,
Running = 2,
Suspended = 1,
}
New Type: CoreML.MLUpdateContext
public class MLUpdateContext : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLUpdateContext (Foundation.NSObjectFlag t);
protected MLUpdateContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLUpdateProgressEvent Event { get; }
public virtual Foundation.NSDictionary<MLMetricKey,Foundation.NSObject> Metrics { get; }
public virtual IMLWritable Model { get; }
public virtual Foundation.NSDictionary<MLParameterKey,Foundation.NSObject> Parameters { get; }
public virtual MLUpdateTask Task { get; }
}
New Type: CoreML.MLUpdateProgressEvent
[Serializable]
[Flags]
public enum MLUpdateProgressEvent {
EpochEnd = 2,
MiniBatchEnd = 4,
TrainingBegin = 1,
}
New Type: CoreML.MLUpdateProgressHandlers
public class MLUpdateProgressHandlers : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLUpdateProgressHandlers (Foundation.NSObjectFlag t);
protected MLUpdateProgressHandlers (IntPtr handle);
public MLUpdateProgressHandlers (MLUpdateProgressEvent interestedEvents, System.Action<MLUpdateContext> progressHandler, System.Action<MLUpdateContext> completionHandler);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: CoreML.MLUpdateTask
public class MLUpdateTask : CoreML.MLTask, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLUpdateTask (Foundation.NSObjectFlag t);
protected MLUpdateTask (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static MLUpdateTask Create (Foundation.NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration configuration, MLUpdateProgressHandlers progressHandlers, out Foundation.NSError error);
public static MLUpdateTask Create (Foundation.NSUrl modelUrl, IMLBatchProvider trainingData, MLModelConfiguration configuration, System.Action<MLUpdateContext> completionHandler, out Foundation.NSError error);
public virtual void Resume (Foundation.NSDictionary<MLParameterKey,Foundation.NSObject> updateParameters);
}
Namespace CoreMotion
New Type: CoreMotion.CMErrorExtensions
public static class CMErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CMError self);
}
Namespace CoreText
Type Changed: CoreText.CTFont
Added method:
public CTFont ForString (string value, Foundation.NSRange range, string language);
Type Changed: CoreText.CTFontFeatureSelectorKey
Added properties:
public static Foundation.NSString SampleText { get; }
public static Foundation.NSString TooltipText { get; }
Type Changed: CoreText.CTFontManager
Obsoleted fields:
[Obsolete ("Use the 'CTFontManagerErrorKeys.FontUrlsKey' property instead.")]
public static Foundation.NSString ErrorFontUrlsKey;
Added methods:
public static CTFontDescriptor CreateFontDescriptor (Foundation.NSData data);
public static CTFontDescriptor[] CreateFontDescriptors (Foundation.NSData data);
public static void RegisterFontDescriptors (CTFontDescriptor[] fontDescriptors, CTFontManagerScope scope, bool enabled, CTFontManager.CTFontRegistrationHandler registrationHandler);
public static void RegisterFonts (Foundation.NSUrl[] fontUrls, CTFontManagerScope scope, bool enabled, CTFontManager.CTFontRegistrationHandler registrationHandler);
public static void UnregisterFontDescriptors (CTFontDescriptor[] fontDescriptors, CTFontManagerScope scope, CTFontManager.CTFontRegistrationHandler registrationHandler);
public static void UnregisterFonts (Foundation.NSUrl[] fontUrls, CTFontManagerScope scope, CTFontManager.CTFontRegistrationHandler registrationHandler);
New Type: CoreText.CTFontManager.CTFontRegistrationHandler
public sealed delegate CTFontRegistrationHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CTFontManager.CTFontRegistrationHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError[] errors, bool done, System.AsyncCallback callback, object object);
public virtual bool EndInvoke (System.IAsyncResult result);
public virtual bool Invoke (Foundation.NSError[] errors, bool done);
}
Type Changed: CoreText.CTFontManagerError
Modified fields:
-SystemRequired = 202
+SystemRequired = 203
Added values:
CancelledByUser = 304,
DuplicatedName = 305,
InsufficientInfo = 303,
InvalidFilePath = 306,
MissingEntitlement = 302,
RegistrationFailed = 301,
Type Changed: CoreText.CTFontManagerScope
Added value:
Persistent = 2,
Type Changed: CoreText.CTGlyphInfo
Added method:
public ushort GetGlyph ();
Type Changed: CoreText.CTRun
Added method:
public void GetBaseAdvancesAndOrigins (Foundation.NSRange range, out CoreGraphics.CGSize[] advancesBuffer, out CoreGraphics.CGPoint[] originsBuffer);
Type Changed: CoreText.CTStringAttributeKey
Added property:
public static Foundation.NSString TrackingAttributeName { get; }
Type Changed: CoreText.CTStringAttributes
Added property:
public float? TrackingAdjustment { get; set; }
New Type: CoreText.CTFontManagerErrorKeys
public static class CTFontManagerErrorKeys {
// properties
public static Foundation.NSString FontUrlsKey { get; }
}
Namespace EventKit
Type Changed: EventKit.EKErrorCode
Added values:
InvalidInviteReplyCalendar = 31,
NotificationCollectionMismatch = 34,
NotificationSavedWithoutCollection = 35,
NotificationsCollectionFlagNotSet = 32,
SourceMismatch = 33,
Type Changed: EventKit.EKEventStore
Added property:
public virtual EKSource[] DelegateSources { get; }
Type Changed: EventKit.EKReminder
Obsoleted constructors:
[Obsolete ("Use 'Create' instead.")]
public EKReminder ();
Namespace Foundation
Type Changed: Foundation.NSAttributedString
Added properties:
public static NSString CocoaVersionDocumentAttribute { get; }
public static NSString SourceTextScalingDocumentAttribute { get; }
public static NSString TextScalingDocumentAttribute { get; }
Type Changed: Foundation.NSByteCountFormatter
Added method:
public virtual string GetString (NSObject obj);
Type Changed: Foundation.NSCocoaError
Added values:
CompressionErrorMaximum = 5503,
CompressionErrorMinimum = 5376,
CompressionFailedError = 5376,
DecompressionFailedError = 5377,
Type Changed: Foundation.NSData
Added methods:
public virtual NSData Compress (NSDataCompressionAlgorithm algorithm, out NSError error);
public virtual NSData Decompress (NSDataCompressionAlgorithm algorithm, out NSError error);
Type Changed: Foundation.NSDirectoryEnumerationOptions
Added values:
IncludesDirectoriesPostOrder = 8,
ProducesRelativePathUrls = 16,
Type Changed: Foundation.NSDirectoryEnumerator
Added property:
public virtual bool IsEnumeratingDirectoryPostOrder { get; }
Type Changed: Foundation.NSException
Added interface:
INSSecureCoding
Type Changed: Foundation.NSFileHandle
Added methods:
public virtual bool Close (out NSError error);
public virtual bool GetOffset (out ulong offsetInFile, out NSError error);
public virtual NSData Read (nuint length, out NSError error);
public virtual NSData ReadToEnd (out NSError error);
public virtual bool Seek (ulong offset, out NSError error);
public virtual bool SeekToEnd (out ulong offsetInFile, out NSError error);
public virtual bool Synchronize (out NSError error);
public virtual bool Truncate (ulong offset, out NSError error);
public virtual bool Write (NSData data, out NSError error);
Type Changed: Foundation.NSHttpCookie
Added properties:
public static NSString KeySameSiteLax { get; }
public static NSString KeySameSitePolicy { get; }
public static NSString KeySameSiteStrict { get; }
public virtual NSString SameSitePolicy { get; }
Type Changed: Foundation.NSHttpUrlResponse
Added method:
public virtual string GetHttpHeaderValue (string headerField);
Type Changed: Foundation.NSJsonReadingOptions
Obsoleted fields:
[Obsolete ("Use 'FragmentsAllowed. instead.")]
AllowFragments = 4,
Added value:
FragmentsAllowed = 4,
Type Changed: Foundation.NSJsonWritingOptions
Added values:
FragmentsAllowed = 4,
WithoutEscapingSlashes = 8,
Type Changed: Foundation.NSMutableData
Added methods:
public virtual bool Compress (NSDataCompressionAlgorithm algorithm, out NSError error);
public virtual bool Decompress (NSDataCompressionAlgorithm algorithm, out NSError error);
Type Changed: Foundation.NSMutableUrlRequest
Added properties:
public virtual bool AllowsConstrainedNetworkAccess { get; set; }
public virtual bool AllowsExpensiveNetworkAccess { get; set; }
Type Changed: Foundation.NSOperationQueue
Added interface:
INSProgressReporting
Added property:
public virtual NSProgress Progress { get; }
Added method:
public virtual void AddBarrier (System.Action barrier);
Type Changed: Foundation.NSProcessInfo
Added property:
public virtual bool IsMacCatalystApplication { get; }
Type Changed: Foundation.NSUnitDuration
Added properties:
public static NSUnitDuration Microseconds { get; }
public static NSUnitDuration Milliseconds { get; }
public static NSUnitDuration Nanoseconds { get; }
public static NSUnitDuration Picoseconds { get; }
Type Changed: Foundation.NSUnitFrequency
Added property:
public static NSUnitFrequency FramesPerSecond { get; }
Type Changed: Foundation.NSUrlCache
Added constructor:
public NSUrlCache (nuint memoryCapacity, nuint diskCapacity, NSUrl directoryUrl);
Type Changed: Foundation.NSUrlRequest
Added properties:
public virtual bool AllowsConstrainedNetworkAccess { get; set; }
public virtual bool AllowsExpensiveNetworkAccess { get; set; }
Type Changed: Foundation.NSUrlRequestNetworkServiceType
Added values:
AVStreaming = 8,
ResponsiveAV = 9,
Type Changed: Foundation.NSUrlSession
Added methods:
public virtual NSUrlSessionStreamTask CreateBidirectionalStream (string hostname, nint port);
public virtual NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrl url);
public virtual NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrlRequest request);
public virtual NSUrlSessionWebSocketTask CreateWebSocketTask (NSUrl url, string[] protocols);
Type Changed: Foundation.NSUrlSessionConfiguration
Added properties:
public virtual bool AllowsConstrainedNetworkAccess { get; set; }
public virtual bool AllowsExpensiveNetworkAccess { get; set; }
public virtual Security.TlsProtocolVersion TlsMaximumSupportedProtocolVersion { get; set; }
public virtual Security.TlsProtocolVersion TlsMinimumSupportedProtocolVersion { get; set; }
Type Changed: Foundation.NSUrlSessionTaskTransactionMetrics
Added properties:
public virtual bool Cellular { get; }
public virtual bool Constrained { get; }
public virtual long CountOfRequestBodyBytesBeforeEncoding { get; }
public virtual long CountOfRequestBodyBytesSent { get; }
public virtual long CountOfRequestHeaderBytesSent { get; }
public virtual long CountOfResponseBodyBytesAfterDecoding { get; }
public virtual long CountOfResponseBodyBytesReceived { get; }
public virtual long CountOfResponseHeaderBytesReceived { get; }
public virtual bool Expensive { get; }
public virtual string LocalAddress { get; }
public virtual ushort? LocalPort { get; }
public virtual bool Multipath { get; }
public virtual Security.SslCipherSuite? NegotiatedTlsCipherSuite { get; }
public virtual Security.SslProtocol? NegotiatedTlsProtocolVersion { get; }
public virtual string RemoteAddress { get; }
public virtual ushort? RemotePort { get; }
New Type: Foundation.INSUrlSessionWebSocketDelegate
public interface INSUrlSessionWebSocketDelegate : INSUrlSessionDelegate, INSUrlSessionTaskDelegate, ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: Foundation.NSCollectionChangeType
[Serializable]
public enum NSCollectionChangeType {
Insert = 0,
Remove = 1,
}
New Type: Foundation.NSDataCompressionAlgorithm
[Serializable]
public enum NSDataCompressionAlgorithm {
Lz4 = 1,
Lzfse = 0,
Lzma = 2,
Zlib = 3,
}
New Type: Foundation.NSListFormatter
public class NSListFormatter : Foundation.NSFormatter, INSCoding, INSCopying, INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
public NSListFormatter ();
public NSListFormatter (NSCoder coder);
protected NSListFormatter (NSObjectFlag t);
protected NSListFormatter (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSFormatter ItemFormatter { get; set; }
public virtual NSLocale Locale { get; set; }
// methods
public static string GetLocalizedString (NSString[] joinedStrings);
public virtual string GetString (NSObject obj);
public virtual string GetString (NSObject[] items);
}
New Type: Foundation.NSOrderedCollectionDifferenceCalculationOptions
[Serializable]
public enum NSOrderedCollectionDifferenceCalculationOptions {
InferMoves = 4,
OmitInsertedObjects = 1,
OmitRemovedObjects = 2,
}
New Type: Foundation.NSRelativeDateTimeFormatter
public class NSRelativeDateTimeFormatter : Foundation.NSFormatter, INSCoding, INSCopying, INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
public NSRelativeDateTimeFormatter ();
public NSRelativeDateTimeFormatter (NSCoder coder);
protected NSRelativeDateTimeFormatter (NSObjectFlag t);
protected NSRelativeDateTimeFormatter (IntPtr handle);
// properties
public virtual NSCalendar Calendar { get; set; }
public override IntPtr ClassHandle { get; }
public virtual NSRelativeDateTimeFormatterStyle DateTimeStyle { get; set; }
public virtual NSFormattingContext FormattingContext { get; set; }
public virtual NSLocale Locale { get; set; }
public virtual NSRelativeDateTimeFormatterUnitsStyle UnitsStyle { get; set; }
// methods
public virtual string GetLocalizedString (NSDateComponents dateComponents);
public virtual string GetLocalizedString (double timeInterval);
public virtual string GetLocalizedString (NSDate date, NSDate referenceDate);
public virtual string GetString (NSObject obj);
}
New Type: Foundation.NSRelativeDateTimeFormatterStyle
[Serializable]
public enum NSRelativeDateTimeFormatterStyle {
Named = 1,
Numeric = 0,
}
New Type: Foundation.NSRelativeDateTimeFormatterUnitsStyle
[Serializable]
public enum NSRelativeDateTimeFormatterUnitsStyle {
Abbreviated = 3,
Full = 0,
Short = 2,
SpellOut = 1,
}
New Type: Foundation.NSUnitInformationStorage
public class NSUnitInformationStorage : Foundation.NSDimension, INSCoding, INSCopying, INSObjectProtocol, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
public NSUnitInformationStorage (NSCoder coder);
protected NSUnitInformationStorage (NSObjectFlag t);
protected NSUnitInformationStorage (IntPtr handle);
public NSUnitInformationStorage (string symbol);
public NSUnitInformationStorage (string symbol, NSUnitConverter converter);
// properties
public static NSUnitInformationStorage Bits { get; }
public static NSUnitInformationStorage Bytes { get; }
public override IntPtr ClassHandle { get; }
public static NSUnitInformationStorage Exabits { get; }
public static NSUnitInformationStorage Exabytes { get; }
public static NSUnitInformationStorage Exbibits { get; }
public static NSUnitInformationStorage Exbibytes { get; }
public static NSUnitInformationStorage Gibibits { get; }
public static NSUnitInformationStorage Gibibytes { get; }
public static NSUnitInformationStorage Gigabits { get; }
public static NSUnitInformationStorage Gigabytes { get; }
public static NSUnitInformationStorage Kibibits { get; }
public static NSUnitInformationStorage Kibibytes { get; }
public static NSUnitInformationStorage Kilobits { get; }
public static NSUnitInformationStorage Kilobytes { get; }
public static NSUnitInformationStorage Mebibits { get; }
public static NSUnitInformationStorage Mebibytes { get; }
public static NSUnitInformationStorage Megabits { get; }
public static NSUnitInformationStorage Megabytes { get; }
public static NSUnitInformationStorage Nibbles { get; }
public static NSUnitInformationStorage Pebibits { get; }
public static NSUnitInformationStorage Pebibytes { get; }
public static NSUnitInformationStorage Petabits { get; }
public static NSUnitInformationStorage Petabytes { get; }
public static NSUnitInformationStorage Tebibits { get; }
public static NSUnitInformationStorage Tebibytes { get; }
public static NSUnitInformationStorage Terabits { get; }
public static NSUnitInformationStorage Terabytes { get; }
public static NSUnitInformationStorage Yobibits { get; }
public static NSUnitInformationStorage Yobibytes { get; }
public static NSUnitInformationStorage Yottabits { get; }
public static NSUnitInformationStorage Yottabytes { get; }
public static NSUnitInformationStorage Zebibits { get; }
public static NSUnitInformationStorage Zebibytes { get; }
public static NSUnitInformationStorage Zettabits { get; }
public static NSUnitInformationStorage Zettabytes { get; }
// methods
public virtual void EncodeTo (NSCoder encoder);
}
New Type: Foundation.NSUrlErrorNetworkUnavailableReason
[Serializable]
public enum NSUrlErrorNetworkUnavailableReason {
Cellular = 0,
Constrained = 2,
Expensive = 1,
}
New Type: Foundation.NSUrlSessionWebSocketCloseCode
[Serializable]
public enum NSUrlSessionWebSocketCloseCode {
AbnormalClosure = 1006,
GoingAway = 1001,
InternalServerError = 1011,
Invalid = 0,
InvalidFramePayloadData = 1007,
MandatoryExtensionMissing = 1010,
MessageTooBig = 1009,
NoStatusReceived = 1005,
NormalClosure = 1000,
PolicyViolation = 1008,
ProtocolError = 1002,
TlsHandshakeFailure = 1015,
UnsupportedData = 1003,
}
New Type: Foundation.NSUrlSessionWebSocketDelegate
public class NSUrlSessionWebSocketDelegate : Foundation.NSUrlSessionTaskDelegate, INSObjectProtocol, INSUrlSessionDelegate, INSUrlSessionTaskDelegate, INSUrlSessionWebSocketDelegate, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
public NSUrlSessionWebSocketDelegate ();
protected NSUrlSessionWebSocketDelegate (NSObjectFlag t);
protected NSUrlSessionWebSocketDelegate (IntPtr handle);
// methods
public virtual void DidClose (NSUrlSession session, NSUrlSessionWebSocketTask webSocketTask, NSUrlSessionWebSocketCloseCode closeCode, NSData reason);
public virtual void DidOpen (NSUrlSession session, NSUrlSessionWebSocketTask webSocketTask, string protocol);
}
New Type: Foundation.NSUrlSessionWebSocketDelegate_Extensions
public static class NSUrlSessionWebSocketDelegate_Extensions {
// methods
public static void DidClose (this INSUrlSessionWebSocketDelegate This, NSUrlSession session, NSUrlSessionWebSocketTask webSocketTask, NSUrlSessionWebSocketCloseCode closeCode, NSData reason);
public static void DidOpen (this INSUrlSessionWebSocketDelegate This, NSUrlSession session, NSUrlSessionWebSocketTask webSocketTask, string protocol);
}
New Type: Foundation.NSUrlSessionWebSocketMessage
public class NSUrlSessionWebSocketMessage : Foundation.NSObject, INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
public NSUrlSessionWebSocketMessage (NSData data);
protected NSUrlSessionWebSocketMessage (NSObjectFlag t);
protected NSUrlSessionWebSocketMessage (IntPtr handle);
public NSUrlSessionWebSocketMessage (string string);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSData Data { get; }
public virtual string String { get; }
public virtual NSUrlSessionWebSocketMessageType Type { get; }
}
New Type: Foundation.NSUrlSessionWebSocketMessageType
[Serializable]
public enum NSUrlSessionWebSocketMessageType {
Data = 0,
String = 1,
}
New Type: Foundation.NSUrlSessionWebSocketTask
public class NSUrlSessionWebSocketTask : Foundation.NSUrlSessionTask, INSCopying, INSObjectProtocol, INSProgressReporting, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<NSObject> {
// constructors
protected NSUrlSessionWebSocketTask (NSObjectFlag t);
protected NSUrlSessionWebSocketTask (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSUrlSessionWebSocketCloseCode CloseCode { get; }
public virtual NSData CloseReason { get; }
public virtual nint MaximumMessageSize { get; set; }
// methods
public virtual void Cancel (NSUrlSessionWebSocketCloseCode closeCode, NSData reason);
public virtual void ReceiveMessage (System.Action<NSUrlSessionWebSocketMessage,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<NSUrlSessionWebSocketMessage> ReceiveMessageAsync ();
public virtual void SendMessage (NSUrlSessionWebSocketMessage message, System.Action<NSError> completionHandler);
public virtual System.Threading.Tasks.Task SendMessageAsync (NSUrlSessionWebSocketMessage message);
public virtual void SendPing (System.Action<NSError> pongReceiveHandler);
public virtual System.Threading.Tasks.Task SendPingAsync ();
}
Namespace GameKit
Type Changed: GameKit.GKError
Added values:
ApiNotAvailable = 31,
RestrictedToAutomatch = 30,
Type Changed: GameKit.GKLocalPlayer
Added methods:
public virtual void LoadChallengableFriends (System.Action<GKPlayer[],Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<GKPlayer[]> LoadChallengableFriendsAsync ();
Namespace HealthKit
Type Changed: HealthKit.HKCategoryTypeIdentifier
Added values:
AudioExposureEvent = 11,
ToothbrushingEvent = 12,
Type Changed: HealthKit.HKCategoryValueOvulationTestResult
Added values:
EstrogenSurge = 4,
LuteinizingHormoneSurge = 2,
Type Changed: HealthKit.HKCumulativeQuantitySeriesSample
Modified base type:
-HealthKit.HKQuantitySample
+HealthKit.HKCumulativeQuantitySample
Type Changed: HealthKit.HKMetadataKey
Added properties:
public static Foundation.NSString AudioExposureLevel { get; }
public static Foundation.NSString AverageMets { get; }
Type Changed: HealthKit.HKMetricPrefix
Added value:
Femto = 13,
Type Changed: HealthKit.HKObjectType
Added property:
public static HKAudiogramSampleType AudiogramSampleType { get; }
Type Changed: HealthKit.HKPredicateKeyPath
Added properties:
public static Foundation.NSString Average { get; }
public static Foundation.NSString Max { get; }
public static Foundation.NSString Min { get; }
public static Foundation.NSString MostRecent { get; }
public static Foundation.NSString MostRecentDuration { get; }
public static Foundation.NSString MostRecentEndDate { get; }
public static Foundation.NSString MostRecentStartDate { get; }
public static Foundation.NSString PathCount { get; }
Type Changed: HealthKit.HKQuantityAggregationStyle
Added values:
DiscreteArithmetic = 1,
DiscreteEquivalentContinuousLevel = 3,
DiscreteTemporallyWeighted = 2,
Type Changed: HealthKit.HKQuantitySeriesSampleBuilder
Added methods:
public virtual void FinishSeries (Foundation.NSDictionary metadata, Foundation.NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
public void FinishSeries (HKMetadata metadata, Foundation.NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
public virtual System.Threading.Tasks.Task<HKQuantitySample[]> FinishSeriesAsync (Foundation.NSDictionary metadata, Foundation.NSDate endDate);
public System.Threading.Tasks.Task<HKQuantitySample[]> FinishSeriesAsync (HKMetadata metadata, Foundation.NSDate endDate);
public virtual bool Insert (HKQuantity quantity, Foundation.NSDateInterval dateInterval, out Foundation.NSError error);
Type Changed: HealthKit.HKQuantitySeriesSampleQuery
Added constructor:
public HKQuantitySeriesSampleQuery (HKQuantityType quantityType, Foundation.NSPredicate predicate, HKQuantitySeriesSampleQueryQuantityHandler quantityHandler);
Added properties:
public virtual bool IncludeSample { get; set; }
public virtual bool OrderByQuantitySampleStartDate { get; set; }
Type Changed: HealthKit.HKQuantityTypeIdentifier
Added values:
AppleStandTime = 80,
EnvironmentalAudioExposure = 81,
HeadphoneAudioExposure = 82,
Type Changed: HealthKit.HKSampleType
Added properties:
public virtual bool IsMaximumDurationRestricted { get; }
public virtual bool IsMinimumDurationRestricted { get; }
public virtual double MaximumAllowedDuration { get; }
public virtual double MinimumAllowedDuration { get; }
Type Changed: HealthKit.HKSeriesType
Added property:
public static HKSeriesType HeartbeatSeriesType { get; }
Type Changed: HealthKit.HKStatistics
Added property:
public virtual HKQuantity Duration { get; }
Added method:
public virtual HKQuantity GetDuration (HKSource source);
Type Changed: HealthKit.HKStatisticsOptions
Added values:
Duration = 64,
MostRecent = 32,
Type Changed: HealthKit.HKUnit
Added properties:
public static HKUnit DecibelAWeightedSoundPressureLevelUnit { get; }
public static HKUnit DecibelHearingLevelUnit { get; }
public static HKUnit HertzUnit { get; }
Added method:
public static HKUnit GetHertzUnit (HKMetricPrefix prefix);
Type Changed: HealthKit.HKWorkoutActivityType
Added values:
DiscSports = 75,
FitnessGaming = 76,
New Type: HealthKit.HKAudiogramSample
public class HKAudiogramSample : HealthKit.HKSample, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKAudiogramSample (Foundation.NSCoder coder);
protected HKAudiogramSample (Foundation.NSObjectFlag t);
protected HKAudiogramSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKAudiogramSensitivityPoint[] SensitivityPoints { get; }
// methods
public static HKAudiogramSample GetAudiogramSample (HKAudiogramSensitivityPoint[] sensitivityPoints, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
New Type: HealthKit.HKAudiogramSampleType
public class HKAudiogramSampleType : HealthKit.HKSampleType, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKAudiogramSampleType (Foundation.NSCoder coder);
protected HKAudiogramSampleType (Foundation.NSObjectFlag t);
protected HKAudiogramSampleType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: HealthKit.HKAudiogramSensitivityPoint
public class HKAudiogramSensitivityPoint : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected HKAudiogramSensitivityPoint (Foundation.NSObjectFlag t);
protected HKAudiogramSensitivityPoint (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Frequency { get; }
public virtual HKQuantity LeftEarSensitivity { get; }
public virtual HKQuantity RightEarSensitivity { get; }
// methods
public static HKAudiogramSensitivityPoint GetSensitivityPoint (HKQuantity frequency, HKQuantity leftEarSensitivity, HKQuantity rightEarSensitivity, out Foundation.NSError error);
}
New Type: HealthKit.HKCategoryValueAudioExposureEvent
[Serializable]
public enum HKCategoryValueAudioExposureEvent {
LoudEnvironment = 1,
}
New Type: HealthKit.HKCumulativeQuantitySample
public class HKCumulativeQuantitySample : HealthKit.HKQuantitySample, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKCumulativeQuantitySample (Foundation.NSCoder coder);
protected HKCumulativeQuantitySample (Foundation.NSObjectFlag t);
protected HKCumulativeQuantitySample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKQuantity SumQuantity { get; }
}
New Type: HealthKit.HKDataTypeIdentifier
[Serializable]
public enum HKDataTypeIdentifier {
HeartbeatSeries = 0,
}
New Type: HealthKit.HKDataTypeIdentifierExtensions
public static class HKDataTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKDataTypeIdentifier self);
public static HKDataTypeIdentifier GetValue (Foundation.NSString constant);
}
New Type: HealthKit.HKDiscreteQuantitySample
public class HKDiscreteQuantitySample : HealthKit.HKQuantitySample, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKDiscreteQuantitySample (Foundation.NSCoder coder);
protected HKDiscreteQuantitySample (Foundation.NSObjectFlag t);
protected HKDiscreteQuantitySample (IntPtr handle);
// properties
public virtual HKQuantity Average { get; }
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Maximum { get; }
public virtual HKQuantity Minimum { get; }
public virtual HKQuantity MostRecent { get; }
public virtual Foundation.NSDateInterval MostRecentDateInterval { get; }
}
New Type: HealthKit.HKHeartbeatSeriesBuilder
public class HKHeartbeatSeriesBuilder : HealthKit.HKSeriesBuilder, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKHeartbeatSeriesBuilder (Foundation.NSCoder coder);
protected HKHeartbeatSeriesBuilder (Foundation.NSObjectFlag t);
protected HKHeartbeatSeriesBuilder (IntPtr handle);
public HKHeartbeatSeriesBuilder (HKHealthStore healthStore, HKDevice device, Foundation.NSDate startDate);
// properties
public override IntPtr ClassHandle { get; }
public static nuint MaximumCount { get; }
// methods
public virtual void AddHeartbeat (double timeInterval, bool precededByGap, HKHeartbeatSeriesBuilderCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddHeartbeatAsync (double timeInterval, bool precededByGap);
public virtual void AddMetadata (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, HKHeartbeatSeriesBuilderCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddMetadataAsync (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
public virtual void FinishSeries (System.Action<HKHeartbeatSeriesSample,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<HKHeartbeatSeriesSample> FinishSeriesAsync ();
}
New Type: HealthKit.HKHeartbeatSeriesBuilderCompletionHandler
public sealed delegate HKHeartbeatSeriesBuilderCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public HKHeartbeatSeriesBuilderCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (bool success, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (bool success, Foundation.NSError error);
}
New Type: HealthKit.HKHeartbeatSeriesQuery
public class HKHeartbeatSeriesQuery : HealthKit.HKQuery, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKHeartbeatSeriesQuery ();
protected HKHeartbeatSeriesQuery (Foundation.NSObjectFlag t);
protected HKHeartbeatSeriesQuery (IntPtr handle);
public HKHeartbeatSeriesQuery (HKHeartbeatSeriesSample heartbeatSeries, HKHeartbeatSeriesQueryDataHandler dataHandler);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: HealthKit.HKHeartbeatSeriesQueryDataHandler
public sealed delegate HKHeartbeatSeriesQueryDataHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public HKHeartbeatSeriesQueryDataHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKHeartbeatSeriesQuery query, double timeSinceSeriesStart, bool precededByGap, bool done, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKHeartbeatSeriesQuery query, double timeSinceSeriesStart, bool precededByGap, bool done, Foundation.NSError error);
}
New Type: HealthKit.HKHeartbeatSeriesSample
public class HKHeartbeatSeriesSample : HealthKit.HKSeriesSample, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HKHeartbeatSeriesSample (Foundation.NSCoder coder);
protected HKHeartbeatSeriesSample (Foundation.NSObjectFlag t);
protected HKHeartbeatSeriesSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: HealthKit.HKQuantitySeriesSampleQueryQuantityHandler
public sealed delegate HKQuantitySeriesSampleQueryQuantityHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public HKQuantitySeriesSampleQueryQuantityHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKQuantitySeriesSampleQuery query, HKQuantity quantity, Foundation.NSDateInterval date, bool done, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKQuantitySeriesSampleQuery query, HKQuantity quantity, Foundation.NSDateInterval date, bool done, Foundation.NSError error);
}
Namespace HomeKit
Type Changed: HomeKit.HMError
Added values:
MaximumAccessoriesOfTypeInHome = 97,
ObjectWithSimilarNameExists = 95,
OwnershipFailure = 96,
WiFiCredentialGenerationFailed = 98,
Type Changed: HomeKit.HMHomeManager
Added property:
public virtual HMHomeManagerAuthorizationStatus AuthorizationStatus { get; }
Added event:
public event System.EventHandler<HMHomeManagerAuthorizationStatusEventArgs> DidUpdateAuthorizationStatus;
Type Changed: HomeKit.HMHomeManagerDelegate
Added method:
public virtual void DidUpdateAuthorizationStatus (HMHomeManager manager, HMHomeManagerAuthorizationStatus status);
Type Changed: HomeKit.HMHomeManagerDelegate_Extensions
Added method:
public static void DidUpdateAuthorizationStatus (this IHMHomeManagerDelegate This, HMHomeManager manager, HMHomeManagerAuthorizationStatus status);
New Type: HomeKit.HMHomeManagerAuthorizationStatus
[Serializable]
[Flags]
public enum HMHomeManagerAuthorizationStatus {
Authorized = 4,
Determined = 1,
Restricted = 2,
}
New Type: HomeKit.HMHomeManagerAuthorizationStatusEventArgs
public class HMHomeManagerAuthorizationStatusEventArgs : System.EventArgs {
// constructors
public HMHomeManagerAuthorizationStatusEventArgs (HMHomeManagerAuthorizationStatus status);
// properties
public HMHomeManagerAuthorizationStatus Status { get; set; }
}
New Type: HomeKit.HMNetworkConfigurationProfile
public class HMNetworkConfigurationProfile : HomeKit.HMAccessoryProfile, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected HMNetworkConfigurationProfile (Foundation.NSObjectFlag t);
protected HMNetworkConfigurationProfile (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public IHMNetworkConfigurationProfileDelegate Delegate { get; set; }
public virtual bool NetworkAccessRestricted { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
}
New Type: HomeKit.HMNetworkConfigurationProfileDelegate
public class HMNetworkConfigurationProfileDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, IHMNetworkConfigurationProfileDelegate, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public HMNetworkConfigurationProfileDelegate ();
protected HMNetworkConfigurationProfileDelegate (Foundation.NSObjectFlag t);
protected HMNetworkConfigurationProfileDelegate (IntPtr handle);
// methods
public virtual void DidUpdateNetworkAccessMode (HMNetworkConfigurationProfile profile);
}
New Type: HomeKit.HMNetworkConfigurationProfileDelegate_Extensions
public static class HMNetworkConfigurationProfileDelegate_Extensions {
// methods
public static void DidUpdateNetworkAccessMode (this IHMNetworkConfigurationProfileDelegate This, HMNetworkConfigurationProfile profile);
}
New Type: HomeKit.IHMNetworkConfigurationProfileDelegate
public interface IHMNetworkConfigurationProfileDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
Namespace MediaPlayer
New Type: MediaPlayer.AVMediaSelectionGroup_MPNowPlayingInfoLanguageOptionAdditions
public static class AVMediaSelectionGroup_MPNowPlayingInfoLanguageOptionAdditions {
// methods
public static MPNowPlayingInfoLanguageOptionGroup CreateNowPlayingInfoLanguageOptionGroup (this Foundation.NSObject This);
}
New Type: MediaPlayer.AVMediaSelectionOption_MPNowPlayingInfoLanguageOptionAdditions
public static class AVMediaSelectionOption_MPNowPlayingInfoLanguageOptionAdditions {
// methods
public static MPNowPlayingInfoLanguageOption CreateNowPlayingInfoLanguageOption (this Foundation.NSObject This);
}
Namespace NaturalLanguage
Type Changed: NaturalLanguage.NLTagScheme
Added value:
SentimentScore = 7,
Type Changed: NaturalLanguage.NLTagger
Added methods:
public virtual NLGazetteer[] GetGazetteers (Foundation.NSString tagScheme);
public NLGazetteer[] GetGazetteers (NLTagScheme tagScheme);
public static void RequestAssets (Foundation.NSString language, Foundation.NSString tagScheme, System.Action<NLTaggerAssetsResult,Foundation.NSError> completionHandler);
public static void RequestAssets (NLLanguage language, NLTagScheme tagScheme, System.Action<NLTaggerAssetsResult,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<NLTaggerAssetsResult> RequestAssetsAsync (Foundation.NSString language, Foundation.NSString tagScheme);
public static System.Threading.Tasks.Task<NLTaggerAssetsResult> RequestAssetsAsync (NLLanguage language, NLTagScheme tagScheme);
public virtual void SetGazetteers (NLGazetteer[] gazetteers, Foundation.NSString tagScheme);
public void SetGazetteers (NLGazetteer[] gazetteers, NLTagScheme tagScheme);
New Type: NaturalLanguage.NLDistanceType
[Serializable]
public enum NLDistanceType {
Cosine = 0,
}
New Type: NaturalLanguage.NLEmbedding
public class NLEmbedding : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected NLEmbedding (Foundation.NSObjectFlag t);
protected NLEmbedding (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
public virtual NLLanguage? Language { get; }
public virtual nuint Revision { get; }
public virtual nuint VocabularySize { get; }
// methods
public virtual bool Contains (string string);
public virtual void EnumerateNeighbors (float[] vector, nuint maxCount, NLDistanceType distanceType, NLEnumerateNeighborsHandler handler);
public virtual void EnumerateNeighbors (string string, nuint maxCount, NLDistanceType distanceType, NLEnumerateNeighborsHandler handler);
public virtual void EnumerateNeighbors (float[] vector, nuint maxCount, double maxDistance, NLDistanceType distanceType, NLEnumerateNeighborsHandler handler);
public virtual void EnumerateNeighbors (string string, nuint maxCount, double maxDistance, NLDistanceType distanceType, NLEnumerateNeighborsHandler handler);
public static nuint GetCurrentRevision (Foundation.NSString language);
public static nuint GetCurrentRevision (NLLanguage language);
public virtual double GetDistance (string firstString, string secondString, NLDistanceType distanceType);
public static NLEmbedding GetEmbedding (Foundation.NSUrl url, out Foundation.NSError error);
public virtual string[] GetNeighbors (float[] vector, nuint maxCount, NLDistanceType distanceType);
public virtual string[] GetNeighbors (string string, nuint maxCount, NLDistanceType distanceType);
public virtual string[] GetNeighbors (float[] vector, nuint maxCount, double maxDistance, NLDistanceType distanceType);
public virtual string[] GetNeighbors (string string, nuint maxCount, double maxDistance, NLDistanceType distanceType);
public static Foundation.NSIndexSet GetSupportedRevisions (Foundation.NSString language);
public static Foundation.NSIndexSet GetSupportedRevisions (NLLanguage language);
public virtual float[] GetVector (string string);
public static NLEmbedding GetWordEmbedding (Foundation.NSString language);
public static NLEmbedding GetWordEmbedding (NLLanguage language);
public static NLEmbedding GetWordEmbedding (Foundation.NSString language, nuint revision);
public static NLEmbedding GetWordEmbedding (NLLanguage language, nuint revision);
public bool TryGetVector (string string, out float[] vector);
public static bool Write (Foundation.NSDictionary dictionary, Foundation.NSString language, nuint revision, Foundation.NSUrl url, out Foundation.NSError error);
public static bool Write (NLVectorDictionary dictionary, NLLanguage? language, nuint revision, Foundation.NSUrl url, out Foundation.NSError error);
}
New Type: NaturalLanguage.NLEnumerateNeighborsHandler
public sealed delegate NLEnumerateNeighborsHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public NLEnumerateNeighborsHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (string neighbor, double distance, ref bool stop, System.AsyncCallback callback, object object);
public virtual void EndInvoke (ref bool stop, System.IAsyncResult result);
public virtual void Invoke (string neighbor, double distance, ref bool stop);
}
New Type: NaturalLanguage.NLGazetteer
public class NLGazetteer : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected NLGazetteer (Foundation.NSObjectFlag t);
protected NLGazetteer (IntPtr handle);
public NLGazetteer (Foundation.NSData data, out Foundation.NSError error);
public NLGazetteer (Foundation.NSUrl url, out Foundation.NSError error);
public NLGazetteer (Foundation.NSDictionary dictionary, Foundation.NSString language, out Foundation.NSError error);
public NLGazetteer (NLStrongDictionary dictionary, NLLanguage? language, out Foundation.NSError error);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Data { get; }
public virtual NLLanguage? Language { get; }
// methods
public static NLGazetteer Create (Foundation.NSUrl url, out Foundation.NSError error);
public virtual string GetLabel (string string);
public static bool Write (Foundation.NSDictionary dictionary, Foundation.NSString language, Foundation.NSUrl url, out Foundation.NSError error);
public static bool Write (NLStrongDictionary dictionary, NLLanguage? language, Foundation.NSUrl url, out Foundation.NSError error);
}
New Type: NaturalLanguage.NLStrongDictionary
public class NLStrongDictionary : Foundation.DictionaryContainer {
// constructors
public NLStrongDictionary ();
public NLStrongDictionary (Foundation.NSDictionary dictionary);
// properties
public string[] Item { get; set; }
public string[] Item { get; set; }
}
New Type: NaturalLanguage.NLTaggerAssetsResult
[Serializable]
public enum NLTaggerAssetsResult {
Available = 0,
Error = 2,
NotAvailable = 1,
}
New Type: NaturalLanguage.NLVectorDictionary
public class NLVectorDictionary : Foundation.DictionaryContainer {
// constructors
public NLVectorDictionary ();
public NLVectorDictionary (Foundation.NSDictionary dictionary);
// properties
public float[] Item { get; set; }
public float[] Item { get; set; }
}
Namespace ObjCRuntime
Type Changed: ObjCRuntime.Constants
Modified fields:
-public const string SdkVersion = "5.2";
+public const string SdkVersion = "6.0";
-public const string Version = "12.14.0";
+public const string Version = "12.99.3";
Added fields:
public static const string AuthenticationServicesLibrary = "/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices";
public static const string CoreMediaLibrary = "/System/Library/Frameworks/CoreMedia.framework/CoreMedia";
public static const string PushKitLibrary = "/System/Library/Frameworks/PushKit.framework/PushKit";
public static const string SoundAnalysisLibrary = "/System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis";
Type Changed: ObjCRuntime.PlatformName
Added values:
MacCatalyst = 5,
UIKitForMac = 5,
Type Changed: ObjCRuntime.TVAttribute
Obsoleted constructors:
[Obsolete ("Use the overload that takes '(major, minor)', since tvOS is always 64-bit.")]
public TVAttribute (byte major, byte minor, bool onlyOn64);
[Obsolete ("Use the overload that takes '(major, minor, subminor)', since tvOS is always 64-bit.")]
public TVAttribute (byte major, byte minor, byte subminor, bool onlyOn64);
Type Changed: ObjCRuntime.WatchAttribute
Obsoleted constructors:
[Obsolete ("Use the overload that takes '(major, minor)', since watchOS is never 64-bit.")]
public WatchAttribute (byte major, byte minor, bool onlyOn64);
[Obsolete ("Use the overload that takes '(major, minor)', since watchOS is never 64-bit.")]
public WatchAttribute (byte major, byte minor, byte subminor, bool onlyOn64);
Namespace PassKit
Type Changed: PassKit.PKPaymentMethod
Added property:
public virtual Contacts.CNContact BillingAddress { get; }
Type Changed: PassKit.PKPaymentRequestPaymentMethodUpdate
Added constructor:
public PKPaymentRequestPaymentMethodUpdate (Foundation.NSError[] errors, PKPaymentSummaryItem[] paymentSummaryItems);
Added property:
public virtual Foundation.NSError[] Errors { get; set; }
New Type: PassKit.PKAddPaymentPassError
[Serializable]
public enum PKAddPaymentPassError {
SystemCancelled = 2,
Unsupported = 0,
UserCancelled = 1,
}
Namespace Security
New Type: Security.TlsProtocolVersion
[Serializable]
public enum TlsProtocolVersion {
Dtls10 = 65279,
Dtls12 = 65277,
Tls10 = 769,
Tls11 = 770,
Tls12 = 771,
Tls13 = 772,
}
Namespace UIKit
Type Changed: UIKit.UIAccessibilityContainerType
Added value:
SemanticGroup = 4,
Type Changed: UIKit.UIFont
Added methods:
public static UIFont GetMonospacedSystemFont (nfloat size, nfloat weight);
public static UIFont GetMonospacedSystemFont (nfloat size, UIFontWeight weight);
Type Changed: UIKit.UIFontDescriptorSystemDesign
Added values:
Monospaced = 3,
Serif = 2,
Type Changed: UIKit.UIImage
Added properties:
public static UIImage ActionsImage { get; }
public static UIImage AddImage { get; }
public virtual nfloat BaselineOffsetFromBottom { get; }
public static UIImage CheckmarkImage { get; }
public virtual UIImageConfiguration Configuration { get; }
public virtual bool HasBaseline { get; }
public static UIImage RemoveImage { get; }
public static UIImage StrokedCheckmarkImage { get; }
public virtual UIImageSymbolConfiguration SymbolConfiguration { get; }
public virtual bool SymbolImage { get; }
Added methods:
public virtual UIImage ApplyConfiguration (UIImageConfiguration configuration);
public virtual UIImage ApplyConfiguration (UIImageSymbolConfiguration configuration);
public virtual UIImage ApplyTintColor (UIColor color);
public virtual UIImage ApplyTintColor (UIColor color, UIImageRenderingMode renderingMode);
public static UIImage FromBundle (string name, Foundation.NSBundle bundle, UIImageConfiguration configuration);
public virtual UIImage GetImageFromBottom (nfloat baselineOffset);
public virtual UIImage GetImageWithoutBaseline ();
public static UIImage GetSystemImage (string name);
public static UIImage GetSystemImage (string name, UIImageConfiguration configuration);
New Type: UIKit.NSDataAsset
public class NSDataAsset : Foundation.NSObject, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected NSDataAsset (Foundation.NSObjectFlag t);
protected NSDataAsset (IntPtr handle);
public NSDataAsset (string name);
public NSDataAsset (string name, Foundation.NSBundle bundle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Data { get; }
public virtual string Name { get; }
public virtual Foundation.NSString TypeIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
New Type: UIKit.NSDirectionalRectEdge
[Serializable]
[Flags]
public enum NSDirectionalRectEdge {
All = 15,
Bottom = 4,
Leading = 2,
None = 0,
Top = 1,
Trailing = 8,
}
New Type: UIKit.NSRectAlignment
[Serializable]
public enum NSRectAlignment {
Bottom = 5,
BottomLeading = 4,
BottomTrailing = 6,
Leading = 3,
None = 0,
Top = 1,
TopLeading = 2,
TopTrailing = 8,
Trailing = 7,
}
New Type: UIKit.NSShadow
public class NSShadow : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public NSShadow ();
public NSShadow (Foundation.NSCoder coder);
protected NSShadow (Foundation.NSObjectFlag t);
protected NSShadow (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nfloat ShadowBlurRadius { get; set; }
public virtual UIColor ShadowColor { get; set; }
public virtual CoreGraphics.CGSize ShadowOffset { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: UIKit.NSTextScalingType
[Serializable]
public enum NSTextScalingType {
Standard = 0,
iOS = 1,
}
New Type: UIKit.UIAccessibilityTextualContext
[Serializable]
public enum UIAccessibilityTextualContext {
Console = 6,
FileSystem = 4,
Messaging = 2,
Narrative = 1,
SourceCode = 5,
Spreadsheet = 3,
WordProcessing = 0,
}
New Type: UIKit.UIAccessibilityTextualContextExtensions
public static class UIAccessibilityTextualContextExtensions {
// methods
public static Foundation.NSString GetConstant (this UIAccessibilityTextualContext self);
public static UIAccessibilityTextualContext GetValue (Foundation.NSString constant);
}
New Type: UIKit.UIImageConfiguration
public class UIImageConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public UIImageConfiguration (Foundation.NSCoder coder);
protected UIImageConfiguration (Foundation.NSObjectFlag t);
protected UIImageConfiguration (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 virtual UIImageConfiguration GetConfiguration (UIImageConfiguration otherConfiguration);
}
New Type: UIKit.UIImageSymbolConfiguration
public class UIImageSymbolConfiguration : UIKit.UIImageConfiguration, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public UIImageSymbolConfiguration ();
public UIImageSymbolConfiguration (Foundation.NSCoder coder);
protected UIImageSymbolConfiguration (Foundation.NSObjectFlag t);
protected UIImageSymbolConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual UIImageSymbolConfiguration ConfigurationWithoutPointSizeAndWeight { get; }
public virtual UIImageSymbolConfiguration ConfigurationWithoutScale { get; }
public virtual UIImageSymbolConfiguration ConfigurationWithoutTextStyle { get; }
public virtual UIImageSymbolConfiguration ConfigurationWithoutWeight { get; }
public static UIImageSymbolConfiguration UnspecifiedConfiguration { get; }
// methods
public static UIImageSymbolConfiguration Create (nfloat pointSize);
public static UIImageSymbolConfiguration Create (UIFont font);
public static UIImageSymbolConfiguration Create (UIFontTextStyle textStyle);
public static UIImageSymbolConfiguration Create (UIImageSymbolScale scale);
public static UIImageSymbolConfiguration Create (UIImageSymbolWeight weight);
public static UIImageSymbolConfiguration Create (nfloat pointSize, UIImageSymbolWeight weight);
public static UIImageSymbolConfiguration Create (UIFont font, UIImageSymbolScale scale);
public static UIImageSymbolConfiguration Create (UIFontTextStyle textStyle, UIImageSymbolScale scale);
public static UIImageSymbolConfiguration Create (nfloat pointSize, UIImageSymbolWeight weight, UIImageSymbolScale scale);
public virtual bool IsEqualTo (UIImageSymbolConfiguration otherConfiguration);
}
New Type: UIKit.UIImageSymbolScale
[Serializable]
public enum UIImageSymbolScale {
Default = -1,
Large = 3,
Medium = 2,
Small = 1,
Unspecified = 0,
}
New Type: UIKit.UIImageSymbolWeight
[Serializable]
public enum UIImageSymbolWeight {
Black = 9,
Bold = 7,
Heavy = 8,
Light = 3,
Medium = 5,
Regular = 4,
Semibold = 6,
Thin = 2,
UltraLight = 1,
Unspecified = 0,
}
Namespace UserNotifications
Type Changed: UserNotifications.UNMutableNotificationContent
Added property:
public virtual string TargetContentIdentifier { get; set; }
Type Changed: UserNotifications.UNNotificationCategoryOptions
Added value:
AllowAnnouncement = 16,
Type Changed: UserNotifications.UNNotificationContent
Added property:
public virtual string TargetContentIdentifier { get; set; }
Type Changed: UserNotifications.UNNotificationSettings
Added property:
public virtual UNNotificationSetting AnnouncementSetting { get; }
New Type: UserNotifications.UNNotificationServiceExtension
public class UNNotificationServiceExtension : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected UNNotificationServiceExtension (Foundation.NSObjectFlag t);
protected UNNotificationServiceExtension (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void DidReceiveNotificationRequest (UNNotificationRequest request, System.Action<UNNotificationContent> contentHandler);
public virtual void TimeWillExpire ();
}
Namespace WatchConnectivity
Type Changed: WatchConnectivity.WCErrorCode
Added values:
CompanionAppNotInstalled = 7018,
WatchOnlyApp = 7019,
Type Changed: WatchConnectivity.WCSession
Added property:
public virtual bool CompanionAppInstalled { get; }
Type Changed: WatchConnectivity.WCSessionDelegate
Added method:
public virtual void CompanionAppInstalledDidChange (WCSession session);
Type Changed: WatchConnectivity.WCSessionDelegate_Extensions
Added method:
public static void CompanionAppInstalledDidChange (this IWCSessionDelegate This, WCSession session);
Namespace WatchKit
Type Changed: WatchKit.WKInterfaceObject
Added properties:
public virtual Foundation.NSAttributedString[] AccessibilityAttributedUserInputLabels { get; set; }
public virtual bool AccessibilityRespondsToUserInteraction { get; set; }
public virtual string AccessibilityTextualContext { get; set; }
public virtual string[] AccessibilityUserInputLabels { get; set; }
public static Foundation.NSString SpeechAttributeSpellOut { get; }
public static Foundation.NSString TextAttributeContext { get; }
New Namespace AuthenticationServices
New Type: AuthenticationServices.ASAuthorization
public class ASAuthorization : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected ASAuthorization (Foundation.NSObjectFlag t);
protected ASAuthorization (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public T GetCredential<T> ();
public T GetProvider<T> ();
}
New Type: AuthenticationServices.ASAuthorizationAppleIdCredential
public class ASAuthorizationAppleIdCredential : Foundation.NSObject, IASAuthorizationCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationAppleIdCredential (Foundation.NSCoder coder);
protected ASAuthorizationAppleIdCredential (Foundation.NSObjectFlag t);
protected ASAuthorizationAppleIdCredential (IntPtr handle);
// properties
public virtual Foundation.NSData AuthorizationCode { get; }
public virtual ASAuthorizationScope[] AuthorizedScopes { get; }
public override IntPtr ClassHandle { get; }
public virtual string Email { get; }
public virtual Foundation.NSPersonNameComponents FullName { get; }
public virtual Foundation.NSData IdentityToken { get; }
public virtual ASUserDetectionStatus RealUserStatus { get; }
public virtual string State { get; }
public virtual string User { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: AuthenticationServices.ASAuthorizationAppleIdProvider
public class ASAuthorizationAppleIdProvider : Foundation.NSObject, IASAuthorizationProvider, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationAppleIdProvider ();
protected ASAuthorizationAppleIdProvider (Foundation.NSObjectFlag t);
protected ASAuthorizationAppleIdProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString CredentialRevokedNotification { get; }
// methods
public virtual ASAuthorizationAppleIdRequest CreateRequest ();
public virtual void GetCredentialState (string userID, System.Action<ASAuthorizationAppleIdProviderCredentialState,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<ASAuthorizationAppleIdProviderCredentialState> GetCredentialStateAsync (string userID);
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveCredentialRevoked (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveCredentialRevoked (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
New Type: AuthenticationServices.ASAuthorizationAppleIdProviderCredentialState
[Serializable]
public enum ASAuthorizationAppleIdProviderCredentialState {
Authorized = 1,
NotFound = 2,
Revoked = 0,
Transferred = 3,
}
New Type: AuthenticationServices.ASAuthorizationAppleIdRequest
public class ASAuthorizationAppleIdRequest : AuthenticationServices.ASAuthorizationOpenIdRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationAppleIdRequest (Foundation.NSCoder coder);
protected ASAuthorizationAppleIdRequest (Foundation.NSObjectFlag t);
protected ASAuthorizationAppleIdRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string User { get; set; }
}
New Type: AuthenticationServices.ASAuthorizationController
public class ASAuthorizationController : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationController (ASAuthorizationRequest[] authorizationRequests);
protected ASAuthorizationController (Foundation.NSObjectFlag t);
protected ASAuthorizationController (IntPtr handle);
// properties
public virtual ASAuthorizationRequest[] AuthorizationRequests { get; }
public override IntPtr ClassHandle { get; }
public IASAuthorizationControllerDelegate Delegate { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual void PerformRequests ();
}
New Type: AuthenticationServices.ASAuthorizationControllerDelegate
public class ASAuthorizationControllerDelegate : Foundation.NSObject, IASAuthorizationControllerDelegate, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationControllerDelegate ();
protected ASAuthorizationControllerDelegate (Foundation.NSObjectFlag t);
protected ASAuthorizationControllerDelegate (IntPtr handle);
// methods
public virtual void DidComplete (ASAuthorizationController controller, ASAuthorization authorization);
public virtual void DidComplete (ASAuthorizationController controller, Foundation.NSError error);
}
New Type: AuthenticationServices.ASAuthorizationControllerDelegate_Extensions
public static class ASAuthorizationControllerDelegate_Extensions {
// methods
public static void DidComplete (this IASAuthorizationControllerDelegate This, ASAuthorizationController controller, ASAuthorization authorization);
public static void DidComplete (this IASAuthorizationControllerDelegate This, ASAuthorizationController controller, Foundation.NSError error);
}
New Type: AuthenticationServices.ASAuthorizationError
[Serializable]
public enum ASAuthorizationError {
Canceled = 1001,
Failed = 1004,
InvalidResponse = 1002,
NotHandled = 1003,
Unknown = 1000,
}
New Type: AuthenticationServices.ASAuthorizationErrorExtensions
public static class ASAuthorizationErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this ASAuthorizationError self);
}
New Type: AuthenticationServices.ASAuthorizationOpenIdRequest
public class ASAuthorizationOpenIdRequest : AuthenticationServices.ASAuthorizationRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationOpenIdRequest (Foundation.NSCoder coder);
protected ASAuthorizationOpenIdRequest (Foundation.NSObjectFlag t);
protected ASAuthorizationOpenIdRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Nonce { get; set; }
public virtual ASAuthorizationOperation RequestedOperation { get; set; }
public virtual ASAuthorizationScope[] RequestedScopes { get; set; }
public virtual string State { get; set; }
}
New Type: AuthenticationServices.ASAuthorizationOperation
[Serializable]
public enum ASAuthorizationOperation {
Implicit = 0,
Login = 1,
Logout = 3,
Refresh = 2,
}
New Type: AuthenticationServices.ASAuthorizationOperationExtensions
public static class ASAuthorizationOperationExtensions {
// methods
public static Foundation.NSString GetConstant (this ASAuthorizationOperation self);
public static ASAuthorizationOperation GetValue (Foundation.NSString constant);
}
New Type: AuthenticationServices.ASAuthorizationPasswordProvider
public class ASAuthorizationPasswordProvider : Foundation.NSObject, IASAuthorizationProvider, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationPasswordProvider ();
protected ASAuthorizationPasswordProvider (Foundation.NSObjectFlag t);
protected ASAuthorizationPasswordProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual ASAuthorizationPasswordRequest CreateRequest ();
}
New Type: AuthenticationServices.ASAuthorizationPasswordRequest
public class ASAuthorizationPasswordRequest : AuthenticationServices.ASAuthorizationRequest, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationPasswordRequest (Foundation.NSCoder coder);
protected ASAuthorizationPasswordRequest (Foundation.NSObjectFlag t);
protected ASAuthorizationPasswordRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
New Type: AuthenticationServices.ASAuthorizationRequest
public class ASAuthorizationRequest : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASAuthorizationRequest (Foundation.NSCoder coder);
protected ASAuthorizationRequest (Foundation.NSObjectFlag t);
protected ASAuthorizationRequest (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 T GetProvider<T> ();
}
New Type: AuthenticationServices.ASAuthorizationScope
[Serializable]
public enum ASAuthorizationScope {
Email = 1,
FullName = 0,
}
New Type: AuthenticationServices.ASAuthorizationScopeExtensions
public static class ASAuthorizationScopeExtensions {
// methods
public static Foundation.NSString GetConstant (this ASAuthorizationScope self);
public static ASAuthorizationScope GetValue (Foundation.NSString constant);
}
New Type: AuthenticationServices.ASPasswordCredential
public class ASPasswordCredential : Foundation.NSObject, IASAuthorizationCredential, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public ASPasswordCredential (Foundation.NSCoder coder);
protected ASPasswordCredential (Foundation.NSObjectFlag t);
protected ASPasswordCredential (IntPtr handle);
public ASPasswordCredential (string user, string password);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Password { get; }
public virtual string User { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static ASPasswordCredential Create (string user, string password);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
New Type: AuthenticationServices.ASUserDetectionStatus
[Serializable]
public enum ASUserDetectionStatus {
LikelyReal = 2,
Unknown = 1,
Unsupported = 0,
}
New Type: AuthenticationServices.IASAuthorizationControllerDelegate
public interface IASAuthorizationControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: AuthenticationServices.IASAuthorizationCredential
public interface IASAuthorizationCredential : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: AuthenticationServices.IASAuthorizationProvider
public interface IASAuthorizationProvider : ObjCRuntime.INativeObject, System.IDisposable {
}
New Namespace CoreMedia
New Type: CoreMedia.CMAttachmentBearer
public static class CMAttachmentBearer {
// methods
public static T GetAttachment<T> (this ICMAttachmentBearer target, string key, out CMAttachmentMode attachmentModeOut);
public static Foundation.NSDictionary<TKey,TValue> GetAttachments<TKey, TValue> (this ICMAttachmentBearer target, CMAttachmentMode attachmentMode);
public static Foundation.NSDictionary GetAttachments (this ICMAttachmentBearer target, CMAttachmentMode attachmentMode);
public static void PropagateAttachments (this ICMAttachmentBearer source, ICMAttachmentBearer destination);
public static void RemoveAllAttachments (this ICMAttachmentBearer target);
public static void RemoveAttachment (this ICMAttachmentBearer target, string key);
public static void SetAttachment (this ICMAttachmentBearer target, string key, ObjCRuntime.INativeObject value, CMAttachmentMode attachmentMode);
public static void SetAttachments (this ICMAttachmentBearer target, Foundation.NSDictionary theAttachments, CMAttachmentMode attachmentMode);
}
New Type: CoreMedia.CMAttachmentMode
[Serializable]
public enum CMAttachmentMode {
ShouldNotPropagate = 0,
ShouldPropagate = 1,
}
New Type: CoreMedia.CMAudioFormatDescription
public class CMAudioFormatDescription : CoreMedia.CMFormatDescription, ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: CoreMedia.CMBlockBuffer
public class CMBlockBuffer : ICMAttachmentBearer, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public nuint DataLength { get; }
public virtual IntPtr Handle { get; }
public bool IsEmpty { get; }
// methods
public CMBlockBufferError AccessDataBytes (nuint offset, nuint length, IntPtr temporaryBlock, ref IntPtr returnedPointer);
public CMBlockBufferError AppendBuffer (CMBlockBuffer targetBuffer, nuint offsetToData, nuint dataLength, CMBlockBufferFlags flags);
public CMBlockBufferError AppendMemoryBlock (byte[] data, nuint offsetToData, CMBlockBufferFlags flags);
public CMBlockBufferError AppendMemoryBlock (IntPtr memoryBlock, nuint blockLength, CMCustomBlockAllocator customBlockSource, nuint offsetToData, nuint dataLength, CMBlockBufferFlags flags);
public CMBlockBufferError AssureBlockMemory ();
public CMBlockBufferError CopyDataBytes (nuint offsetToData, nuint dataLength, IntPtr destination);
public CMBlockBufferError CopyDataBytes (nuint offsetToData, nuint dataLength, out byte[] destination);
public static CMBlockBuffer CreateContiguous (CMBlockBuffer sourceBuffer, CMCustomBlockAllocator customBlockSource, nuint offsetToData, nuint dataLength, CMBlockBufferFlags flags, out CMBlockBufferError error);
public static CMBlockBuffer CreateEmpty (uint subBlockCapacity, CMBlockBufferFlags flags, out CMBlockBufferError error);
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public CMBlockBufferError FillDataBytes (byte fillByte, nuint offsetIntoDestination, nuint dataLength);
public static CMBlockBuffer FromBuffer (CMBlockBuffer targetBuffer, nuint offsetToData, nuint dataLength, CMBlockBufferFlags flags, out CMBlockBufferError error);
public static CMBlockBuffer FromMemoryBlock (byte[] data, nuint offsetToData, CMBlockBufferFlags flags, out CMBlockBufferError error);
public static CMBlockBuffer FromMemoryBlock (IntPtr memoryBlock, nuint blockLength, CMCustomBlockAllocator customBlockSource, nuint offsetToData, nuint dataLength, CMBlockBufferFlags flags, out CMBlockBufferError error);
public CMBlockBufferError GetDataPointer (nuint offset, out nuint lengthAtOffset, out nuint totalLength, ref IntPtr dataPointer);
public bool IsRangeContiguous (nuint offset, nuint length);
public CMBlockBufferError ReplaceDataBytes (byte[] sourceBytes, nuint offsetIntoDestination);
public CMBlockBufferError ReplaceDataBytes (IntPtr sourceBytes, nuint offsetIntoDestination, nuint dataLength);
protected override void ~CMBlockBuffer ();
}
New Type: CoreMedia.CMBlockBufferError
[Serializable]
public enum CMBlockBufferError {
BadCustomBlockSource = -12702,
BadLengthParameter = -12704,
BadOffsetParameter = -12703,
BadPointerParameter = -12705,
BlockAllocationFailed = -12701,
EmptyBlockBuffer = -12706,
InsufficientSpace = -12708,
None = 0,
StructureAllocationFailed = -12700,
UnallocatedBlock = -12707,
}
New Type: CoreMedia.CMBlockBufferFlags
[Serializable]
[Flags]
public enum CMBlockBufferFlags {
AlwaysCopyData = 2,
AssureMemoryNow = 1,
DontOptimizeDepth = 4,
PermitEmptyReference = 8,
}
New Type: CoreMedia.CMBufferCompare
public sealed delegate CMBufferCompare : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CMBufferCompare (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ObjCRuntime.INativeObject first, ObjCRuntime.INativeObject second, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (ObjCRuntime.INativeObject first, ObjCRuntime.INativeObject second);
}
New Type: CoreMedia.CMBufferGetBool
public sealed delegate CMBufferGetBool : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CMBufferGetBool (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ObjCRuntime.INativeObject buffer, System.AsyncCallback callback, object object);
public virtual bool EndInvoke (System.IAsyncResult result);
public virtual bool Invoke (ObjCRuntime.INativeObject buffer);
}
New Type: CoreMedia.CMBufferGetSize
public sealed delegate CMBufferGetSize : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CMBufferGetSize (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ObjCRuntime.INativeObject buffer, System.AsyncCallback callback, object object);
public virtual nint EndInvoke (System.IAsyncResult result);
public virtual nint Invoke (ObjCRuntime.INativeObject buffer);
}
New Type: CoreMedia.CMBufferGetTime
public sealed delegate CMBufferGetTime : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public CMBufferGetTime (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ObjCRuntime.INativeObject buffer, System.AsyncCallback callback, object object);
public virtual CMTime EndInvoke (System.IAsyncResult result);
public virtual CMTime Invoke (ObjCRuntime.INativeObject buffer);
}
New Type: CoreMedia.CMBufferQueue
public class CMBufferQueue : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public nint BufferCount { get; }
public bool ContainsEndOfData { get; }
public CMTime Duration { get; }
public virtual IntPtr Handle { get; }
public bool IsAtEndOfData { get; }
public bool IsEmpty { get; }
// methods
public static CMBufferQueue CreateUnsorted (int count);
public ObjCRuntime.INativeObject Dequeue ();
public ObjCRuntime.INativeObject DequeueIfDataReady ();
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public void Enqueue (ObjCRuntime.INativeObject cftypeBuffer);
public static CMBufferQueue FromCallbacks (int count, CMBufferGetTime getDecodeTimeStamp, CMBufferGetTime getPresentationTimeStamp, CMBufferGetTime getDuration, CMBufferGetBool isDataReady, CMBufferCompare compare, Foundation.NSString dataBecameReadyNotification);
public static CMBufferQueue FromCallbacks (int count, CMBufferGetTime getDecodeTimeStamp, CMBufferGetTime getPresentationTimeStamp, CMBufferGetTime getDuration, CMBufferGetBool isDataReady, CMBufferCompare compare, Foundation.NSString dataBecameReadyNotification, CMBufferGetSize getTotalSize);
public nint GetTotalSize ();
public int MarkEndOfData ();
public int Reset ();
protected override void ~CMBufferQueue ();
// inner types
[Serializable]
public enum TriggerCondition {
WhenBufferCountBecomesGreaterThan = 11,
WhenBufferCountBecomesLessThan = 10,
WhenDataBecomesReady = 7,
WhenDurationBecomesGreaterThan = 3,
WhenDurationBecomesGreaterThanOrEqualTo = 4,
WhenDurationBecomesGreaterThanOrEqualToAndBufferCountBecomesGreaterThan = 12,
WhenDurationBecomesLessThan = 1,
WhenDurationBecomesLessThanOrEqualTo = 2,
WhenEndOfDataReached = 8,
WhenMaxPresentationTimeStampChanges = 6,
WhenMinPresentationTimeStampChanges = 5,
WhenReset = 9,
}
}
New Type: CoreMedia.CMClock
public class CMClock : CoreMedia.CMClockOrTimebase, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMClock (IntPtr handle);
// properties
public CMTime CurrentTime { get; }
public static CMClock HostTimeClock { get; }
// methods
public static ulong ConvertHostTimeToSystemUnits (CMTime hostTime);
public static CMClock CreateAudioClock (out CMClockError clockError);
public static CMTime CreateHostTimeFromSystemUnits (ulong hostTime);
public CMClockError GetAnchorTime (out CMTime clockTime, out CMTime referenceClockTime);
public void Invalidate ();
public bool MightDrift (CMClock otherClock);
}
New Type: CoreMedia.CMClockError
[Serializable]
public enum CMClockError {
AllocationFailed = -12747,
InvalidParameter = -12746,
MissingRequiredParameter = -12745,
None = 0,
UnsupportedOperation = -12756,
}
New Type: CoreMedia.CMClockOrTimebase
public class CMClockOrTimebase : ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMClockOrTimebase (IntPtr handle);
// properties
public virtual IntPtr Handle { get; }
public CMTime Time { get; }
// methods
public static CMTime ConvertTime (CMTime time, CMClockOrTimebase from, CMClockOrTimebase to);
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public static double GetRelativeRate (CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB);
public static CMSyncError GetRelativeRateAndAnchorTime (CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB, out double relativeRate, out CMTime timeA, out CMTime timeB);
public static bool MightDrift (CMClockOrTimebase clockOrTimebaseA, CMClockOrTimebase clockOrTimebaseB);
protected override void ~CMClockOrTimebase ();
}
New Type: CoreMedia.CMClosedCaptionFormatType
[Serializable]
public enum CMClosedCaptionFormatType {
ATSC = 1635017571,
CEA608 = 1664495672,
CEA708 = 1664561208,
}
New Type: CoreMedia.CMCustomBlockAllocator
public class CMCustomBlockAllocator : System.IDisposable {
// constructors
public CMCustomBlockAllocator ();
// methods
public virtual IntPtr Allocate (nuint sizeInBytes);
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public virtual void Free (IntPtr doomedMemoryBlock, nuint sizeInBytes);
protected override void ~CMCustomBlockAllocator ();
}
New Type: CoreMedia.CMFormatDescription
public class CMFormatDescription : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public AudioToolbox.AudioChannelLayout AudioChannelLayout { get; }
public AudioToolbox.AudioFormatType AudioFormatType { get; }
public AudioToolbox.AudioFormat[] AudioFormats { get; }
public byte[] AudioMagicCookie { get; }
public AudioToolbox.AudioFormat AudioMostCompatibleFormat { get; }
public AudioToolbox.AudioFormat AudioRichestDecodableFormat { get; }
public AudioToolbox.AudioStreamBasicDescription? AudioStreamBasicDescription { get; }
public CMClosedCaptionFormatType ClosedCaptionFormatType { get; }
public virtual IntPtr Handle { get; }
public uint MediaSubType { get; }
public CMMediaType MediaType { get; }
public CMMetadataFormatType MetadataFormatType { get; }
public CMMuxedStreamType MuxedStreamType { get; }
public CMSubtitleFormatType SubtitleFormatType { get; }
public CMTimeCodeFormatType TimeCodeFormatType { get; }
public CMVideoCodecType VideoCodecType { get; }
// methods
public static CMFormatDescription Create (IntPtr handle);
public static CMFormatDescription Create (IntPtr handle, bool owns);
public static CMFormatDescription Create (CMMediaType mediaType, uint mediaSubtype, out CMFormatDescriptionError error);
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public Foundation.NSObject GetExtension (string extensionKey);
public Foundation.NSDictionary GetExtensions ();
public static nint GetTypeID ();
protected override void ~CMFormatDescription ();
}
New Type: CoreMedia.CMFormatDescriptionError
[Serializable]
public enum CMFormatDescriptionError {
AllocationFailed = -12711,
InvalidParameter = -12710,
None = 0,
ValueNotAvailable = -12718,
}
New Type: CoreMedia.CMHevcTemporalLevelInfoSettings
public class CMHevcTemporalLevelInfoSettings : Foundation.DictionaryContainer {
// constructors
public CMHevcTemporalLevelInfoSettings ();
public CMHevcTemporalLevelInfoSettings (Foundation.NSDictionary dictionary);
// properties
public Foundation.NSData ConstraintIndicatorFlags { get; set; }
public int? LevelIndex { get; set; }
public Foundation.NSData ProfileCompatibilityFlags { get; set; }
public int? ProfileIndex { get; set; }
public int? ProfileSpace { get; set; }
public int? TemporalLevel { get; set; }
public int? TierFlag { get; set; }
}
New Type: CoreMedia.CMMediaType
[Serializable]
public enum CMMediaType {
Audio = 1936684398,
ClosedCaption = 1668047728,
Metadata = 1835365473,
Muxed = 1836415096,
Subtitle = 1935832172,
Text = 1952807028,
TimeCode = 1953325924,
Video = 1986618469,
}
New Type: CoreMedia.CMMemoryPool
public class CMMemoryPool : ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMMemoryPool ();
public CMMemoryPool (System.TimeSpan ageOutPeriod);
// properties
public virtual IntPtr Handle { get; }
// methods
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public void Flush ();
public CoreFoundation.CFAllocator GetAllocator ();
public void Invalidate ();
protected override void ~CMMemoryPool ();
}
New Type: CoreMedia.CMMetadataFormatType
[Serializable]
public enum CMMetadataFormatType {
Boxed = 1835360888,
Emsg = 1701671783,
ICY = 1768126752,
ID3 = 1768174368,
}
New Type: CoreMedia.CMMuxedStreamType
[Serializable]
public enum CMMuxedStreamType {
DV = 1685463072,
MPEG1System = 1836069235,
MPEG2Program = 1836069488,
MPEG2Transport = 1836069492,
}
New Type: CoreMedia.CMPixelFormat
[Serializable]
public enum CMPixelFormat {
AlphaRedGreenBlue32bits = 32,
BigEndian555_16bits = 16,
BigEndian565_16bits = 1110783541,
BlueGreenRedAlpha32bits = 1111970369,
IndexedGrayWhiteIsZero_8bits = 40,
LittleEndian5551_16bits = 892679473,
LittleEndian555_16bits = 1278555445,
LittleEndian565_16bits = 1278555701,
RedGreenBlue24bits = 24,
YpCbCr422_10bits = 1983000880,
YpCbCr422_16bits = 1983000886,
YpCbCr422_8bits = 846624121,
YpCbCr422yuvs_8bits = 2037741171,
YpCbCr444_10bits = 1983131952,
YpCbCr444_8bits = 1983066168,
YpCbCrA4444_8bits = 1983131704,
}
New Type: CoreMedia.CMSampleBuffer
public class CMSampleBuffer : ICMAttachmentBearer, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public bool DataIsReady { get; }
public CMTime DecodeTimeStamp { get; }
public CMTime Duration { get; }
public virtual IntPtr Handle { get; }
public bool IsValid { get; }
public nint NumSamples { get; }
public CMTime OutputDecodeTimeStamp { get; }
public CMTime OutputDuration { get; }
public CMTime OutputPresentationTimeStamp { get; }
public CMTime PresentationTimeStamp { get; set; }
public nuint TotalSampleSize { get; }
// methods
public CMSampleBufferError CallForEachSample (System.Func<CMSampleBuffer,System.Int32,CoreMedia.CMSampleBufferError> callback);
public CMSampleBufferError CopyPCMDataIntoAudioBufferList (int frameOffset, int numFrames, AudioToolbox.AudioBuffers bufferList);
public static CMSampleBuffer CreateForImageBuffer (CoreVideo.CVImageBuffer imageBuffer, bool dataReady, CMVideoFormatDescription formatDescription, CMSampleTimingInfo sampleTiming, out CMSampleBufferError error);
public static CMSampleBuffer CreateReady (CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, int samplesCount, CMSampleTimingInfo[] sampleTimingArray, nuint[] sampleSizeArray, out CMSampleBufferError error);
public static CMSampleBuffer CreateReadyWithImageBuffer (CoreVideo.CVImageBuffer imageBuffer, CMFormatDescription formatDescription, ref CMSampleTimingInfo sampleTiming, out CMSampleBufferError error);
public static CMSampleBuffer CreateReadyWithPacketDescriptions (CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, int samplesCount, CMTime sampleTimestamp, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, out CMSampleBufferError error);
public static CMSampleBuffer CreateWithNewTiming (CMSampleBuffer original, CMSampleTimingInfo[] timing);
public static CMSampleBuffer CreateWithNewTiming (CMSampleBuffer original, CMSampleTimingInfo[] timing, out nint status);
public static CMSampleBuffer CreateWithPacketDescriptions (CMBlockBuffer dataBuffer, CMFormatDescription formatDescription, int samplesCount, CMTime sampleTimestamp, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions, out CMSampleBufferError error);
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
public CMAudioFormatDescription GetAudioFormatDescription ();
public CMBlockBuffer GetDataBuffer ();
public CoreVideo.CVImageBuffer GetImageBuffer ();
public CMSampleBufferAttachmentSettings[] GetSampleAttachments (bool createIfNecessary);
public nuint GetSampleSize (nint sampleIndex);
public CMSampleTimingInfo[] GetSampleTimingInfo ();
public CMSampleTimingInfo[] GetSampleTimingInfo (out nint status);
public static nint GetTypeID ();
public CMVideoFormatDescription GetVideoFormatDescription ();
public CMSampleBufferError Invalidate ();
public CMSampleBufferError MakeDataReady ();
public CMSampleBufferError SetDataBuffer (CMBlockBuffer dataBuffer);
public CMSampleBufferError SetDataReady ();
public CMSampleBufferError SetInvalidateCallback (System.Action<CMSampleBuffer> invalidateHandler);
public CMSampleBufferError TrackDataReadiness (CMSampleBuffer bufferToTrack);
protected override void ~CMSampleBuffer ();
}
New Type: CoreMedia.CMSampleBufferAttachmentKey
[Serializable]
public enum CMSampleBufferAttachmentKey {
CameraIntrinsicMatrix = 31,
DependsOnOthers = 4,
DisplayEmptyMediaImmediately = 24,
DisplayImmediately = 6,
DoNotDisplay = 7,
DrainAfterDecoding = 13,
DroppedFrameReason = 29,
DroppedFrameReasonInfo = 32,
EarlierDisplayTimesAllowed = 5,
EmptyMedia = 22,
EndsPreviousSampleDuration = 25,
FillDiscontinuitiesWithSilence = 21,
ForceKeyFrame = 33,
GradualDecoderRefresh = 28,
HasRedundantCoding = 2,
HevcStepwiseTemporalSubLayerAccess = 10,
HevcSyncSampleNalUnitType = 11,
HevcTemporalLevelInfo = 8,
HevcTemporalSubLayerAccess = 9,
IsDependedOnByOthers = 3,
NotSync = 0,
PartialSync = 1,
PermanentEmptyMedia = 23,
PostNotificationWhenConsumed = 14,
ResetDecoderBeforeDecoding = 12,
ResumeOutput = 15,
Reverse = 20,
SampleReferenceByteOffset = 27,
SampleReferenceUrl = 26,
SpeedMultiplier = 19,
StillImageLensStabilizationInfo = 30,
TransitionId = 16,
TrimDurationAtEnd = 18,
TrimDurationAtStart = 17,
}
New Type: CoreMedia.CMSampleBufferAttachmentKeyExtensions
public static class CMSampleBufferAttachmentKeyExtensions {
// methods
public static Foundation.NSString GetConstant (this CMSampleBufferAttachmentKey self);
public static CMSampleBufferAttachmentKey GetValue (Foundation.NSString constant);
}
New Type: CoreMedia.CMSampleBufferAttachmentSettings
public class CMSampleBufferAttachmentSettings : Foundation.DictionaryContainer {
// constructors
public CMSampleBufferAttachmentSettings ();
public CMSampleBufferAttachmentSettings (Foundation.NSDictionary dictionary);
// properties
public nint? AudioIndependentSampleDecoderRefreshCount { get; set; }
public Foundation.NSData CameraIntrinsicMatrix { get; set; }
public bool? DependedOnByOthers { get; set; }
public bool? DependsOnOthers { get; set; }
public bool? DisplayEmptyMediaImmediately { get; set; }
public bool? DisplayImmediately { get; set; }
public bool? DoNotDisplay { get; set; }
public bool? DrainAfterDecoding { get; set; }
public string DroppedFrameReason { get; }
public bool? EarlierDisplayTimesAllowed { get; set; }
public bool? EmptyMedia { get; set; }
public bool? EndsPreviousSampleDuration { get; set; }
public bool? FillDiscontinuitiesWithSilence { get; set; }
public bool? ForceKeyFrame { get; set; }
public Foundation.NSNumber GradualDecoderRefresh { get; set; }
public bool? HevcStepwiseTemporalSubLayerAccess { get; set; }
public int? HevcSyncSampleNalUnitType { get; set; }
public CMHevcTemporalLevelInfoSettings HevcTemporalLevelInfo { get; set; }
public bool? HevcTemporalSubLayerAccess { get; set; }
public bool? NotSync { get; set; }
public bool? PartialSync { get; set; }
public bool? PermanentEmptyMedia { get; set; }
public Foundation.NSDictionary PostNotificationWhenConsumed { get; set; }
public bool? RedundantCoding { get; set; }
public bool? ResetDecoderBeforeDecoding { get; set; }
public bool? ResumeOutput { get; set; }
public bool? Reverse { get; set; }
public int? SampleReferenceByteOffset { get; set; }
public Foundation.NSUrl SampleReferenceUrl { get; set; }
public float? SpeedMultiplier { get; set; }
public int? TransitionId { get; set; }
public Foundation.NSDictionary TrimDurationAtEnd { get; set; }
public Foundation.NSDictionary TrimDurationAtStart { get; set; }
}
New Type: CoreMedia.CMSampleBufferError
[Serializable]
public enum CMSampleBufferError {
AllocationFailed = -12730,
AlreadyHasDataBuffer = -12732,
ArrayTooSmall = -12737,
BufferHasNoSampleSizes = -12735,
BufferHasNoSampleTimingInfo = -12736,
BufferNotReady = -12733,
CannotSubdivide = -12739,
InvalidEntryCount = -12738,
InvalidMediaFormat = -12743,
InvalidMediaTypeForOperation = -12741,
InvalidSampleData = -12742,
Invalidated = -12744,
None = 0,
RequiredParameterMissing = -12731,
SampleIndexOutOfRange = -12734,
SampleTimingInfoInvalid = -12740,
}
New Type: CoreMedia.CMSampleTimingInfo
public struct CMSampleTimingInfo {
// fields
public CMTime DecodeTimeStamp;
public CMTime Duration;
public CMTime PresentationTimeStamp;
}
New Type: CoreMedia.CMSubtitleFormatType
[Serializable]
public enum CMSubtitleFormatType {
Text3G = 1954034535,
WebVTT = 2004251764,
}
New Type: CoreMedia.CMSyncError
[Serializable]
public enum CMSyncError {
AllocationFailed = -12754,
InvalidParameter = -12753,
MissingRequiredParameter = -12752,
None = 0,
RateMustBeNonZero = -12755,
}
New Type: CoreMedia.CMTextMarkupAttributes
public class CMTextMarkupAttributes : Foundation.DictionaryContainer {
// constructors
public CMTextMarkupAttributes ();
public CMTextMarkupAttributes (Foundation.NSDictionary dictionary);
// properties
public TextMarkupColor? BackgroundColor { get; set; }
public float? BaseFontSizePercentageRelativeToVideoHeight { get; set; }
public bool? Bold { get; set; }
public string FontFamilyName { get; set; }
public TextMarkupColor? ForegroundColor { get; set; }
public bool? Italic { get; set; }
public int? RelativeFontSize { get; set; }
public bool? Underline { get; set; }
}
New Type: CoreMedia.CMTime
public struct CMTime {
// constructors
public CMTime (long value, int timescale);
public CMTime (long value, int timescale, long epoch);
// fields
public static Foundation.NSString EpochKey;
public static Foundation.NSString FlagsKey;
public static CMTime Indefinite;
public static CMTime Invalid;
public static const int MaxTimeScale;
public static CMTime NegativeInfinity;
public static CMTime PositiveInfinity;
public static Foundation.NSString ScaleKey;
public long TimeEpoch;
public CMTime.Flags TimeFlags;
public int TimeScale;
public long Value;
public static Foundation.NSString ValueKey;
public static CMTime Zero;
// properties
public CMTime AbsoluteValue { get; }
public string Description { get; }
public bool HasBeenRounded { get; }
public bool IsIndefinite { get; }
public bool IsInvalid { get; }
public bool IsNegativeInfinity { get; }
public bool IsNumeric { get; }
public bool IsPositiveInfinity { get; }
public double Seconds { get; }
// methods
public static CMTime Add (CMTime time1, CMTime time2);
public static int Compare (CMTime time1, CMTime time2);
public CMTime ConvertScale (int newScale, CMTimeRoundingMethod method);
public override bool Equals (object obj);
public static CMTime Fold (CMTime time, CMTimeRange foldRange);
public static CMTime FromDictionary (Foundation.NSDictionary dict);
public static CMTime FromSeconds (double seconds, int preferredTimeScale);
public override int GetHashCode ();
public static CMTime GetMaximum (CMTime time1, CMTime time2);
public static CMTime GetMinimum (CMTime time1, CMTime time2);
public static CMTime Multiply (CMTime time, double multiplier);
public static CMTime Multiply (CMTime time, int multiplier);
public static CMTime Multiply (CMTime time, int multiplier, int divisor);
public static CMTime Subtract (CMTime minuend, CMTime subtraend);
public Foundation.NSDictionary ToDictionary ();
public override string ToString ();
public static CMTime op_Addition (CMTime time1, CMTime time2);
public static bool op_Equality (CMTime time1, CMTime time2);
public static bool op_GreaterThan (CMTime time1, CMTime time2);
public static bool op_GreaterThanOrEqual (CMTime time1, CMTime time2);
public static bool op_Inequality (CMTime time1, CMTime time2);
public static bool op_LessThan (CMTime time1, CMTime time2);
public static bool op_LessThanOrEqual (CMTime time1, CMTime time2);
public static CMTime op_Multiply (CMTime time, double multiplier);
public static CMTime op_Multiply (CMTime time, int multiplier);
public static CMTime op_Subtraction (CMTime minuend, CMTime subtraend);
// inner types
[Serializable]
[Flags]
public enum Flags {
HasBeenRounded = 2,
ImpliedValueFlagsMask = 28,
Indefinite = 16,
NegativeInfinity = 8,
PositiveInfinity = 4,
Valid = 1,
}
}
New Type: CoreMedia.CMTimeCodeFormatType
[Serializable]
public enum CMTimeCodeFormatType {
Counter32 = 1668166450,
Counter64 = 1668167220,
TimeCode32 = 1953325924,
TimeCode64 = 1952658996,
}
New Type: CoreMedia.CMTimeMapping
public struct CMTimeMapping {
// fields
public CMTimeRange Source;
public CMTimeRange Target;
// properties
public string Description { get; }
// methods
public Foundation.NSDictionary AsDictionary ();
public static CMTimeMapping Create (CMTimeRange source, CMTimeRange target);
public static CMTimeMapping CreateEmpty (CMTimeRange target);
public static CMTimeMapping CreateFromDictionary (Foundation.NSDictionary dict);
}
New Type: CoreMedia.CMTimeRange
public struct CMTimeRange {
// fields
public CMTime Duration;
public static CMTimeRange InvalidMapping;
public static CMTimeRange InvalidRange;
public CMTime Start;
public static CMTimeRange Zero;
// properties
public static Foundation.NSString TimeMappingSourceKey { get; }
public static Foundation.NSString TimeMappingTargetKey { get; }
}
New Type: CoreMedia.CMTimeRoundingMethod
[Serializable]
public enum CMTimeRoundingMethod {
Default = 1,
QuickTime = 4,
RoundAwayFromZero = 3,
RoundHalfAwayFromZero = 1,
RoundTowardNegativeInfinity = 6,
RoundTowardPositiveInfinity = 5,
RoundTowardZero = 2,
}
New Type: CoreMedia.CMTimeScale
public struct CMTimeScale {
// constructors
public CMTimeScale (int value);
// fields
public static CMTimeScale MaxValue;
public int Value;
}
New Type: CoreMedia.CMTimebase
public class CMTimebase : CoreMedia.CMClockOrTimebase, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMTimebase (CMClock masterClock);
public CMTimebase (CMTimebase masterTimebase);
public CMTimebase (IntPtr handle);
// fields
public static const double VeryLongTimeInterval;
// properties
public double EffectiveRate { get; }
public double Rate { get; set; }
public CMTime Time { get; set; }
// methods
public CMTimebaseError AddTimer (Foundation.NSTimer timer, Foundation.NSRunLoop runloop);
public CMClockOrTimebase CopyMaster ();
public CMClock CopyMasterClock ();
public CMTimebase CopyMasterTimebase ();
public CMClock CopyUltimateMasterClock ();
public CMTime GetTime (CMTimeScale timeScale, CMTimeRoundingMethod roundingMethod);
public CMTimebaseError GetTimeAndRate (out CMTime time, out double rate);
public CMTimebaseError NotificationBarrier ();
public CMTimebaseError RemoveTimer (Foundation.NSTimer timer);
public CMTimebaseError SetAnchorTime (CMTime timebaseTime, CMTime immediateMasterTime);
public CMTimebaseError SetRateAndAnchorTime (double rate, CMTime timebaseTime, CMTime immediateMasterTime);
public CMTimebaseError SetTimerNextFireTime (Foundation.NSTimer timer, CMTime fireTime);
public CMTimebaseError SetTimerToFireImmediately (Foundation.NSTimer timer);
}
New Type: CoreMedia.CMTimebaseError
[Serializable]
public enum CMTimebaseError {
AllocationFailed = -12750,
InvalidParameter = -12749,
MissingRequiredParameter = -12748,
None = 0,
ReadOnly = -12757,
TimerIntervalTooShort = -12751,
}
New Type: CoreMedia.CMVideoCodecType
[Serializable]
public enum CMVideoCodecType {
Animation = 1919706400,
AppleProRes422 = 1634755438,
AppleProRes422HQ = 1634755432,
AppleProRes422LT = 1634755443,
AppleProRes422Proxy = 1634755439,
AppleProRes4444 = 1634743400,
Cinepak = 1668704612,
DvcNtsc = 1685480224,
DvcPal = 1685480304,
DvcPro50NTSC = 1685468526,
DvcPro50PAL = 1685468528,
DvcProHD1080i50 = 1685481525,
DvcProHD1080i60 = 1685481526,
DvcProHD1080p25 = 1685481522,
DvcProHD1080p30 = 1685481523,
DvcProHD720p50 = 1685481585,
DvcProHD720p60 = 1685481584,
DvcProPal = 1685483632,
H263 = 1748121139,
H264 = 1635148593,
Hevc = 1752589105,
JPEG = 1785750887,
JPEG_OpenDML = 1684890161,
Mpeg1Video = 1836069238,
Mpeg2Video = 1836069494,
Mpeg4Video = 1836070006,
SorensonVideo = 1398165809,
SorensonVideo3 = 1398165811,
YUV422YpCbCr8 = 846624121,
}
New Type: CoreMedia.CMVideoDimensions
public struct CMVideoDimensions {
// constructors
public CMVideoDimensions (int width, int height);
// fields
public int Height;
public int Width;
}
New Type: CoreMedia.CMVideoFormatDescription
public class CMVideoFormatDescription : CoreMedia.CMFormatDescription, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CMVideoFormatDescription (CMVideoCodecType codecType, CMVideoDimensions size);
// properties
public CMVideoDimensions Dimensions { get; }
// methods
public static CMVideoFormatDescription CreateForImageBuffer (CoreVideo.CVImageBuffer imageBuffer, out CMFormatDescriptionError error);
public static CMVideoFormatDescription FromH264ParameterSets (System.Collections.Generic.List<System.Byte[]> parameterSets, int nalUnitHeaderLength, out CMFormatDescriptionError error);
public static CMVideoFormatDescription FromHevcParameterSets (System.Collections.Generic.List<System.Byte[]> parameterSets, int nalUnitHeaderLength, Foundation.NSDictionary extensions, out CMFormatDescriptionError error);
public CoreGraphics.CGRect GetCleanAperture (bool originIsAtTopLeft);
public static Foundation.NSObject[] GetExtensionKeysCommonWithImageBuffers ();
public byte[] GetH264ParameterSet (nuint index, out nuint parameterSetCount, out int nalUnitHeaderLength, out CMFormatDescriptionError error);
public byte[] GetHevcParameterSet (nuint index, out nuint parameterSetCount, out int nalUnitHeaderLength, out CMFormatDescriptionError error);
public CoreGraphics.CGSize GetPresentationDimensions (bool usePixelAspectRatio, bool useCleanAperture);
public bool VideoMatchesImageBuffer (CoreVideo.CVImageBuffer imageBuffer);
}
New Type: CoreMedia.ICMAttachmentBearer
public interface ICMAttachmentBearer : ObjCRuntime.INativeObject {
}
New Type: CoreMedia.TextMarkupColor
public struct TextMarkupColor {
// constructors
public TextMarkupColor (float red, float green, float blue, float alpha);
// properties
public float Alpha { get; }
public float Blue { get; }
public float Green { get; }
public float Red { get; }
}
New Namespace PushKit
New Type: PushKit.IPKPushRegistryDelegate
public interface IPKPushRegistryDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidUpdatePushCredentials (PKPushRegistry registry, PKPushCredentials credentials, string type);
}
New Type: PushKit.PKPushCredentials
public class PKPushCredentials : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected PKPushCredentials (Foundation.NSObjectFlag t);
protected PKPushCredentials (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Token { get; }
public virtual string Type { get; }
}
New Type: PushKit.PKPushPayload
public class PKPushPayload : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected PKPushPayload (Foundation.NSObjectFlag t);
protected PKPushPayload (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary DictionaryPayload { get; }
public virtual string Type { get; }
}
New Type: PushKit.PKPushRegistry
public class PKPushRegistry : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public PKPushRegistry (CoreFoundation.DispatchQueue queue);
protected PKPushRegistry (Foundation.NSObjectFlag t);
protected PKPushRegistry (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public IPKPushRegistryDelegate Delegate { get; set; }
public virtual Foundation.NSSet DesiredPushTypes { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual Foundation.NSData PushToken (string type);
}
New Type: PushKit.PKPushRegistryDelegate
public abstract class PKPushRegistryDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, IPKPushRegistryDelegate, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected PKPushRegistryDelegate ();
protected PKPushRegistryDelegate (Foundation.NSObjectFlag t);
protected PKPushRegistryDelegate (IntPtr handle);
// methods
public virtual void DidInvalidatePushToken (PKPushRegistry registry, string type);
public virtual void DidReceiveIncomingPush (PKPushRegistry registry, PKPushPayload payload, string type, System.Action completion);
public virtual void DidUpdatePushCredentials (PKPushRegistry registry, PKPushCredentials credentials, string type);
}
New Type: PushKit.PKPushRegistryDelegate_Extensions
public static class PKPushRegistryDelegate_Extensions {
// methods
public static void DidInvalidatePushToken (this IPKPushRegistryDelegate This, PKPushRegistry registry, string type);
public static void DidReceiveIncomingPush (this IPKPushRegistryDelegate This, PKPushRegistry registry, PKPushPayload payload, string type, System.Action completion);
}
New Type: PushKit.PKPushType
public static class PKPushType {
// properties
public static Foundation.NSString Complication { get; }
}
New Namespace SoundAnalysis
New Type: SoundAnalysis.ISNRequest
public interface ISNRequest : ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: SoundAnalysis.ISNResult
public interface ISNResult : ObjCRuntime.INativeObject, System.IDisposable {
}
New Type: SoundAnalysis.ISNResultsObserving
public interface ISNResultsObserving : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidProduceResult (ISNRequest request, ISNResult result);
}
New Type: SoundAnalysis.SNAudioFileAnalyzer
public class SNAudioFileAnalyzer : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected SNAudioFileAnalyzer (Foundation.NSObjectFlag t);
protected SNAudioFileAnalyzer (IntPtr handle);
public SNAudioFileAnalyzer (Foundation.NSUrl url, out Foundation.NSError error);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out Foundation.NSError error);
public virtual void Analyze ();
public virtual void Analyze (SNAudioFileAnalyzerAnalyzeHandler completionHandler);
public virtual System.Threading.Tasks.Task<bool> AnalyzeAsync ();
public virtual void CancelAnalysis ();
public virtual void RemoveAllRequests ();
public virtual void RemoveRequest (ISNRequest request);
}
New Type: SoundAnalysis.SNAudioFileAnalyzerAnalyzeHandler
public sealed delegate SNAudioFileAnalyzerAnalyzeHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public SNAudioFileAnalyzerAnalyzeHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (bool didReachEndOfFile, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (bool didReachEndOfFile);
}
New Type: SoundAnalysis.SNAudioStreamAnalyzer
public class SNAudioStreamAnalyzer : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public SNAudioStreamAnalyzer (AVFoundation.AVAudioFormat format);
protected SNAudioStreamAnalyzer (Foundation.NSObjectFlag t);
protected SNAudioStreamAnalyzer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool AddRequest (ISNRequest request, ISNResultsObserving observer, out Foundation.NSError error);
public virtual void Analyze (AVFoundation.AVAudioBuffer audioBuffer, long audioFramePosition);
public virtual void CompleteAnalysis ();
public virtual void RemoveAllRequests ();
public virtual void RemoveRequest (ISNRequest request);
}
New Type: SoundAnalysis.SNClassification
public class SNClassification : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected SNClassification (Foundation.NSObjectFlag t);
protected SNClassification (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Confidence { get; }
public virtual string Identifier { get; }
}
New Type: SoundAnalysis.SNClassificationResult
public class SNClassificationResult : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, ISNResult, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected SNClassificationResult (Foundation.NSObjectFlag t);
protected SNClassificationResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual SNClassification[] Classifications { get; }
}
New Type: SoundAnalysis.SNClassifySoundRequest
public class SNClassifySoundRequest : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, ISNRequest, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected SNClassifySoundRequest (Foundation.NSObjectFlag t);
protected SNClassifySoundRequest (IntPtr handle);
public SNClassifySoundRequest (CoreML.MLModel mlModel, out Foundation.NSError error);
// properties
public override IntPtr ClassHandle { get; }
public virtual double OverlapFactor { get; set; }
}
New Type: SoundAnalysis.SNErrorCode
[Serializable]
public enum SNErrorCode {
InvalidFile = 5,
InvalidFormat = 3,
InvalidModel = 4,
OperationFailed = 2,
UnknownError = 1,
}
New Type: SoundAnalysis.SNErrorCodeExtensions
public static class SNErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this SNErrorCode self);
}
New Type: SoundAnalysis.SNResultsObserving_Extensions
public static class SNResultsObserving_Extensions {
// methods
public static void DidComplete (this ISNResultsObserving This, ISNRequest request);
public static void DidFail (this ISNResultsObserving This, ISNRequest request, Foundation.NSError error);
}