title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.Mac SDK API diff: 8.12.0 vs 9.0.0 |
List of API changes between Xamarin.Mac versions 8.12.0 and 9.0.0. |
spouliot |
sepoulio |
12/12/2022 |
article |
809c9cc2-f7a0-d216-2631-450a895bfb26 |
xamarin |
Added method:
public virtual void DidCreateTask (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task);
Added method:
public void GenerateCGImagesAsynchronously (Foundation.NSValue[] cmTimesRequestedTimes, AVAssetImageGeneratorCompletionHandler2 handler);
Obsoleted properties:
[Obsolete ("Use the 'Inputs' property instead.")]
public virtual AVAssetWriterInput[] inputs { get; }
Added property:
public virtual AVAssetWriterInput[] Inputs { get; }
Obsoleted properties:
[Obsolete ("Use the 'CurrentTime' property instead.")]
public virtual double currentTime { get; }
Added property:
public virtual double CurrentTime { get; }
Obsoleted properties:
[Obsolete ("Use 'AVMetadataFormat' enum values.")]
public static Foundation.NSString FormatHlsMetadata { get; }
[Obsolete ("Use 'AVMetadataFormat' enum values.")]
public static Foundation.NSString FormatID3Metadata { get; }
[Obsolete ("Use 'AVMetadataFormat' enum values.")]
public static Foundation.NSString FormatQuickTimeUserData { get; }
[Obsolete ("Use 'AVMetadataFormat' enum values.")]
public static Foundation.NSString FormatiTunesMetadata { get; }
[Obsolete ("Use 'AVMetadataFormat' enum values.")]
public static Foundation.NSString KFormatISOUserData { get; }
Obsoleted properties:
[Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")]
public static Foundation.NSString AVPlayerWaitingForCoordinatedPlaybackReason { get; }
[Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")]
public static Foundation.NSString WaitingDuringInterstitialEventReason { get; }
[Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")]
public static Foundation.NSString WaitingToMinimizeStallsReason { get; }
[Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")]
public static Foundation.NSString WaitingWhileEvaluatingBufferingRateReason { get; }
[Obsolete ("Use 'AVPlayerWaitingReason' enum instead.")]
public static Foundation.NSString WaitingWithNoItemToPlayReason { get; }
public sealed delegate AVAssetImageGeneratorCompletionHandler2 : System.MulticastDelegate {
// constructors
public AVAssetImageGeneratorCompletionHandler2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CoreMedia.CMTime requestedTime, CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, AVAssetImageGeneratorResult result, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CoreMedia.CMTime requestedTime, CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, AVAssetImageGeneratorResult result, Foundation.NSError error);
}
Added properties:
public virtual bool AllowsMagnification { get; set; }
public virtual bool AllowsVideoFrameAnalysis { get; set; }
public virtual nfloat Magnification { get; set; }
public virtual AVPlaybackSpeed SelectedSpeed { get; }
public virtual AVPlaybackSpeed[] Speeds { get; set; }
Added methods:
public virtual void SelectSpeed (AVPlaybackSpeed speed);
public virtual void SetMagnification (nfloat magnification, CoreGraphics.CGPoint centeredAtPoint);
public class AVPlaybackSpeed : Foundation.NSObject {
// constructors
protected AVPlaybackSpeed (Foundation.NSObjectFlag t);
protected AVPlaybackSpeed (IntPtr handle);
public AVPlaybackSpeed (float rate, string localizedName);
// properties
public override IntPtr ClassHandle { get; }
public virtual string LocalizedName { get; }
public virtual string LocalizedNumericName { get; }
public virtual float Rate { get; }
public static AVPlaybackSpeed[] SystemDefaultSpeeds { get; }
}
Obsoleted properties:
[Obsolete ("Use 'TopLevelUIElementAttribute' instead.")]
public static Foundation.NSString ToplevelUIElementAttribute { get; }
Obsoleted properties:
[Obsolete ("Use the 'Notifications.AnnouncementRequestedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString AnnouncementRequestedNotification { get; }
[Obsolete ("Use the 'Notifications.ApplicationActivatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ApplicationActivatedNotification { get; }
[Obsolete ("Use the 'Notifications.ApplicationDeactivatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ApplicationDeactivatedNotification { get; }
[Obsolete ("Use the 'Notifications.ApplicationHiddenNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ApplicationHiddenNotification { get; }
[Obsolete ("Use the 'Notifications.ApplicationShownNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ApplicationShownNotification { get; }
[Obsolete ("Use the 'Notifications.CreatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString CreatedNotification { get; }
[Obsolete ("Use the 'Notifications.DrawerCreatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString DrawerCreatedNotification { get; }
[Obsolete ("Use the 'Notifications.FocusedWindowChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString FocusedWindowChangedNotification { get; }
[Obsolete ("Use the 'Notifications.HelpTagCreatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString HelpTagCreatedNotification { get; }
[Obsolete ("Use the 'Notifications.LayoutChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString LayoutChangedNotification { get; }
[Obsolete ("Use the 'Notifications.MainWindowChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString MainWindowChangedNotification { get; }
[Obsolete ("Use the 'Notifications.MovedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString MovedNotification { get; }
[Obsolete ("Use the 'Notifications.ResizedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ResizedNotification { get; }
[Obsolete ("Use the 'Notifications.RowCollapsedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString RowCollapsedNotification { get; }
[Obsolete ("Use the 'Notifications.RowCountChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString RowCountChangedNotification { get; }
[Obsolete ("Use the 'Notifications.RowExpandedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString RowExpandedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedCellsChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedCellsChangedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedChildrenChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedChildrenChangedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedChildrenMovedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedChildrenMovedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedColumnsChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedColumnsChangedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedRowsChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedRowsChangedNotification { get; }
[Obsolete ("Use the 'Notifications.SelectedTextChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SelectedTextChangedNotification { get; }
[Obsolete ("Use the 'Notifications.SheetCreatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString SheetCreatedNotification { get; }
[Obsolete ("Use the 'Notifications.TitleChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString TitleChangedNotification { get; }
[Obsolete ("Use the 'Notifications.UIElementDestroyedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString UIElementDestroyedNotification { get; }
[Obsolete ("Use the 'Notifications.UIElementFocusedChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString UIElementFocusedChangedNotification { get; }
[Obsolete ("Use the 'Notifications.UnitsChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString UnitsChangedNotification { get; }
[Obsolete ("Use the 'Notifications.ValueChangedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString ValueChangedNotification { get; }
[Obsolete ("Use the 'Notifications.WindowCreatedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString WindowCreatedNotification { get; }
[Obsolete ("Use the 'Notifications.WindowDeminiaturizedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString WindowDeminiaturizedNotification { get; }
[Obsolete ("Use the 'Notifications.WindowMiniaturizedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString WindowMiniaturizedNotification { get; }
[Obsolete ("Use the 'Notifications.WindowMovedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString WindowMovedNotification { get; }
[Obsolete ("Use the 'Notifications.WindowResizedNotification' helper method instead on the accessibility item in question.")]
public static Foundation.NSString WindowResizedNotification { get; }
Added methods:
public static NSCollectionLayoutGroup GetHorizontalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count);
public static NSCollectionLayoutGroup GetVerticalGroup (NSCollectionLayoutSize layoutSize, NSCollectionLayoutItem repeatingSubitem, nint count);
Added properties:
public virtual NSColorWellStyle ColorWellStyle { get; set; }
public virtual NSImage Image { get; set; }
public virtual ObjCRuntime.Selector PulldownAction { get; set; }
public virtual Foundation.NSObject PulldownTarget { get; set; }
Added method:
protected override void Dispose (bool disposing);
Added method:
public static NSFont SystemFontOfSize (nfloat fontSize, nfloat weight, nfloat width);
Added methods:
public static NSImage GetImage (string symbolName, double variableValue);
public static NSImage GetImage (string systemSymbolName, double variableValue, string accessibilityDescription);
Added methods:
public static NSImageSymbolConfiguration CreateConfigurationPreferringHierarchical ();
public static NSImageSymbolConfiguration CreateConfigurationPreferringMonochrome ();
Added property:
public virtual SharedWithYouCore.SWCollaborationMetadata CollaborationMetadata { get; set; }
Obsoleted properties:
[Obsolete ("Use 'NSApplication.LaunchUserNotificationKey' instead.")]
public static Foundation.NSString NSApplicationLaunchUserNotificationKey { get; }
Added property:
public virtual NSMenuItem StandardShareMenuItem { get; }
Added method:
public virtual void Close ();
Added methods:
public virtual bool GetItemCanBeInsertedAt (NSToolbar toolbar, string itemIdentifier, nint index);
public virtual Foundation.NSSet<Foundation.NSString> GetToolbarImmovableItemIdentifiers (NSToolbar toolbar);
Added properties:
public virtual NSTextElement[] ChildElements { get; }
public virtual bool IsRepresentedElement { get; }
public virtual NSTextElement ParentElement { get; }
Added constructor:
public NSTextList (string markerFormat, NSTextListOptions options, nint startingItemNumber);
Added property:
public virtual bool Ordered { get; }
Added constructor:
public NSTextView (bool usingTextLayoutManager);
Added method:
public static NSTextView Create (bool usingTextLayoutManager);
Added properties:
public virtual Foundation.NSSet<Foundation.NSString> CenteredItemIdentifiers { get; set; }
public NSToolbarCanInsert GetItemCanBeInsertedAt { get; set; }
public NSToolbarImmovableItemIdentifiers GetToolbarImmovableItemIdentifiers { get; set; }
public static Foundation.NSString NSToolbarItemKey { get; }
Added methods:
public virtual bool GetItemCanBeInsertedAt (NSToolbar toolbar, string itemIdentifier, nint index);
public virtual Foundation.NSSet<Foundation.NSString> GetToolbarImmovableItemIdentifiers (NSToolbar toolbar);
Added methods:
public static bool GetItemCanBeInsertedAt (this INSToolbarDelegate This, NSToolbar toolbar, string itemIdentifier, nint index);
public static Foundation.NSSet<Foundation.NSString> GetToolbarImmovableItemIdentifiers (this INSToolbarDelegate This, NSToolbar toolbar);
Added property:
public virtual Foundation.NSSet<Foundation.NSString> PossibleLabels { get; set; }
Added values:
Auxiliary = 131072,
CanJoinAllApplications = 262144,
Primary = 65536,
public interface INSPreviewRepresentableActivityItem : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSObject Item { get; }
}
[Serializable]
public enum NSColorWellStyle {
Default = 0,
Expanded = 2,
Minimal = 1,
}
public class NSComboButton : AppKit.NSControl {
// constructors
public NSComboButton ();
public NSComboButton (CoreGraphics.CGRect frameRect);
public NSComboButton (Foundation.NSCoder coder);
protected NSComboButton (Foundation.NSObjectFlag t);
protected NSComboButton (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSImage Image { get; set; }
public virtual NSImageScaling ImageScaling { get; set; }
public virtual NSMenu Menu { get; set; }
public virtual NSComboButtonStyle Style { get; set; }
public virtual string Title { get; set; }
// methods
public static NSComboButton Create (NSImage image, NSMenu menu, Foundation.NSObject target, ObjCRuntime.Selector action);
public static NSComboButton Create (string title, NSMenu menu, Foundation.NSObject target, ObjCRuntime.Selector action);
public static NSComboButton Create (string title, NSImage image, NSMenu menu, Foundation.NSObject target, ObjCRuntime.Selector action);
}
[Serializable]
public enum NSComboButtonStyle {
Split = 0,
Unified = 1,
}
public static class NSFontWidth {
// properties
public static double Compressed { get; }
public static double Condensed { get; }
public static double Expanded { get; }
public static double Standard { get; }
}
public static class NSPreviewRepresentableActivityItem_Extensions {
// methods
public static Foundation.NSItemProvider GetIconProvider (this INSPreviewRepresentableActivityItem This);
public static Foundation.NSItemProvider GetImageProvider (this INSPreviewRepresentableActivityItem This);
public static string GetTitle (this INSPreviewRepresentableActivityItem This);
}
public class NSPreviewRepresentingActivityItem : Foundation.NSObject, INSPreviewRepresentableActivityItem, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected NSPreviewRepresentingActivityItem (Foundation.NSObjectFlag t);
protected NSPreviewRepresentingActivityItem (IntPtr handle);
public NSPreviewRepresentingActivityItem (Foundation.NSObject item, string title, NSImage image, NSImage icon);
public NSPreviewRepresentingActivityItem (Foundation.NSObject item, string title, Foundation.NSItemProvider imageProvider, Foundation.NSItemProvider iconProvider);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSItemProvider IconProvider { get; }
public virtual Foundation.NSItemProvider ImageProvider { get; }
public virtual Foundation.NSObject Item { get; }
public virtual string Title { get; }
}
public class NSTextListElement : AppKit.NSTextParagraph {
// constructors
public NSTextListElement ();
public NSTextListElement (NSTextContentManager textContentManager);
public NSTextListElement (Foundation.NSAttributedString attributedString);
protected NSTextListElement (Foundation.NSObjectFlag t);
protected NSTextListElement (IntPtr handle);
public NSTextListElement (NSTextListElement parent, NSTextList textList, Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextListElement[] children);
// properties
public virtual Foundation.NSAttributedString AttributedString { get; }
public virtual NSTextListElement[] ChildElements { get; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSAttributedString Contents { get; }
public virtual NSTextListElement ParentElement { get; }
public virtual NSTextList TextList { get; }
public virtual Foundation.NSDictionary WeakMarkerAttributes { get; }
// methods
public static NSTextListElement Create (NSTextListElement[] children, NSTextList textList, nint nestingLevel);
public static NSTextListElement Create (Foundation.NSAttributedString contents, Foundation.NSDictionary markerAttributes, NSTextList textList, NSTextListElement[] children);
protected override void Dispose (bool disposing);
}
public sealed delegate NSToolbarCanInsert : System.MulticastDelegate {
// constructors
public NSToolbarCanInsert (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (NSToolbar toolbar, string itemIdentifier, nint index, System.AsyncCallback callback, object object);
public virtual bool EndInvoke (System.IAsyncResult result);
public virtual bool Invoke (NSToolbar toolbar, string itemIdentifier, nint index);
}
public sealed delegate NSToolbarImmovableItemIdentifiers : System.MulticastDelegate {
// constructors
public NSToolbarImmovableItemIdentifiers (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (NSToolbar toolbar, System.AsyncCallback callback, object object);
public virtual Foundation.NSSet<Foundation.NSString> EndInvoke (System.IAsyncResult result);
public virtual Foundation.NSSet<Foundation.NSString> Invoke (NSToolbar toolbar);
}
[Serializable]
public enum AUSpatialMixerPersonalizedHrtfMode {
Auto = 2,
Off = 0,
On = 1,
}
Added methods:
public Foundation.NSDictionary GetConfigurationInfo ();
public Foundation.NSDictionary GetConfigurationInfo (out int resultCode);
public AudioComponentValidationResult Validate (Foundation.NSDictionary validationParameters);
public AudioComponentValidationResult Validate (Foundation.NSDictionary validationParameters, out int resultCode);
public void ValidateAsync (System.Action<AudioComponentValidationResult,Foundation.NSDictionary> onCompletion);
public void ValidateAsync (Foundation.NSDictionary validationParameters, System.Action<AudioComponentValidationResult,Foundation.NSDictionary> onCompletion);
public void ValidateAsync (Foundation.NSDictionary validationParameters, System.Action<AudioComponentValidationResult,Foundation.NSDictionary> onCompletion, out int resultCode);
Added value:
SpeechSynthesize = 1635087216,
[Serializable]
public enum AudioUnitEventType {
BeginParameterChangeGesture = 1,
EndParameterChangeGesture = 2,
ParameterValueChange = 0,
PropertyChange = 3,
}
Added methods:
public virtual void Cancel ();
public virtual void PerformRequests (ASAuthorizationControllerRequestOptions options);
Added value:
DirectRequest = 2,
Added property:
public virtual ASAuthorizationProviderExtensionLoginManager LoginManager { get; }
[Serializable]
[Flags]
public enum ASAuthorizationControllerRequestOptions {
ImmediatelyAvailableCredentials = 1,
}
[Serializable]
public enum ASAuthorizationProviderExtensionAuthenticationMethod {
Password = 1,
UserSecureEnclaveKey = 2,
}
public class ASAuthorizationProviderExtensionKerberosMapping : Foundation.NSObject {
// constructors
public ASAuthorizationProviderExtensionKerberosMapping ();
protected ASAuthorizationProviderExtensionKerberosMapping (Foundation.NSObjectFlag t);
protected ASAuthorizationProviderExtensionKerberosMapping (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ClientNameKeyName { get; set; }
public virtual string EncryptionKeyTypeKeyName { get; set; }
public virtual string MessageBufferKeyName { get; set; }
public virtual string RealmKeyName { get; set; }
public virtual string ServiceNameKeyName { get; set; }
public virtual string SessionKeyKeyName { get; set; }
public virtual string TicketKeyPath { get; set; }
}
[Serializable]
public enum ASAuthorizationProviderExtensionKeyType {
DeviceEncryption = 2,
DeviceSigning = 1,
SecureEnclaveKey = 3,
}
public class ASAuthorizationProviderExtensionLoginConfiguration : Foundation.NSObject {
// constructors
protected ASAuthorizationProviderExtensionLoginConfiguration (Foundation.NSObjectFlag t);
protected ASAuthorizationProviderExtensionLoginConfiguration (IntPtr handle);
public ASAuthorizationProviderExtensionLoginConfiguration (string clientId, string issuer, Foundation.NSUrl tokenEndpointUrl, Foundation.NSUrl jwksEndpointUrl, string audience);
// properties
public virtual string AccountDisplayName { get; set; }
public virtual string AdditionalScopes { get; set; }
public virtual string Audience { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string ClientId { get; }
public virtual Foundation.NSUrlQueryItem[] CustomLoginRequestValues { get; set; }
public virtual Foundation.NSUrlQueryItem[] CustomNonceRequestValues { get; set; }
public virtual bool IncludePreviousRefreshTokenInLoginRequest { get; set; }
public virtual string InvalidCredentialPredicate { get; set; }
public virtual string Issuer { get; }
public virtual Foundation.NSUrl JwksEndpointUrl { get; set; }
public virtual ASAuthorizationProviderExtensionKerberosMapping[] KerberosTicketMappings { get; set; }
public virtual Foundation.NSUrl NonceEndpointUrl { get; set; }
public virtual string NonceResponseKeypath { get; set; }
public virtual string PreviousRefreshTokenClaimName { get; set; }
public virtual string ServerNonceClaimName { get; set; }
public virtual Foundation.NSUrl TokenEndpointUrl { get; set; }
// methods
public static void Create (Foundation.NSUrl openIdConfigurationUrl, string clientId, string issuer, System.Action<ASAuthorizationProviderExtensionLoginConfiguration,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<ASAuthorizationProviderExtensionLoginConfiguration> CreateAsync (Foundation.NSUrl openIdConfigurationUrl, string clientId, string issuer);
public virtual bool SetCustomAssertionRequestBodyClaims (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> claims, out Foundation.NSError error);
public virtual bool SetCustomAssertionRequestHeaderClaims (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> claims, out Foundation.NSError error);
public virtual bool SetCustomLoginRequestBodyClaims (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> claims, out Foundation.NSError error);
public virtual bool SetCustomLoginRequestHeaderClaims (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> claims, out Foundation.NSError error);
}
public class ASAuthorizationProviderExtensionLoginManager : Foundation.NSObject {
// constructors
protected ASAuthorizationProviderExtensionLoginManager (Foundation.NSObjectFlag t);
protected ASAuthorizationProviderExtensionLoginManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool DeviceRegistered { get; }
public virtual ASAuthorizationProviderExtensionLoginConfiguration LoginConfiguration { get; }
public virtual string LoginUserName { get; set; }
public virtual string RegistrationToken { get; }
public virtual Foundation.NSDictionary SsoTokens { get; set; }
public virtual bool UserRegistered { get; }
// methods
public virtual Security.SecIdentity CopyIdentity (ASAuthorizationProviderExtensionKeyType keyType);
public Security.SecKey CopyKey (ASAuthorizationProviderExtensionKeyType keyType);
public virtual void DeviceRegistrationsNeedsRepair ();
public virtual void PresentRegistrationViewController (System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task PresentRegistrationViewControllerAsync ();
public virtual void ResetKeys ();
public virtual bool Save (ASAuthorizationProviderExtensionLoginConfiguration loginConfiguration, out Foundation.NSError error);
public void Save (Security.SecCertificate certificate, ASAuthorizationProviderExtensionKeyType keyType);
public virtual void UserNeedsReauthentication (System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task UserNeedsReauthenticationAsync ();
public virtual void UserRegistrationsNeedsRepair ();
protected virtual IntPtr _CopyKey (ASAuthorizationProviderExtensionKeyType keyType);
protected virtual void _Save (IntPtr certificate, ASAuthorizationProviderExtensionKeyType keyType);
}
public abstract class ASAuthorizationProviderExtensionRegistrationHandler : Foundation.NSObject, IASAuthorizationProviderExtensionRegistrationHandler, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected ASAuthorizationProviderExtensionRegistrationHandler (Foundation.NSObjectFlag t);
protected ASAuthorizationProviderExtensionRegistrationHandler (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void BeginDeviceRegistration (ASAuthorizationProviderExtensionLoginManager loginManager, ASAuthorizationProviderExtensionRequestOptions options, System.Action<ASAuthorizationProviderExtensionRegistrationResult> handler);
public System.Threading.Tasks.Task<ASAuthorizationProviderExtensionRegistrationResult> BeginDeviceRegistrationAsync (ASAuthorizationProviderExtensionLoginManager loginManager, ASAuthorizationProviderExtensionRequestOptions options);
public virtual void BeginUserRegistration (ASAuthorizationProviderExtensionLoginManager loginManager, string userName, ASAuthorizationProviderExtensionAuthenticationMethod authenticationMethod, ASAuthorizationProviderExtensionRequestOptions options, System.Action<ASAuthorizationProviderExtensionRegistrationResult> handler);
public System.Threading.Tasks.Task<ASAuthorizationProviderExtensionRegistrationResult> BeginUserRegistrationAsync (ASAuthorizationProviderExtensionLoginManager loginManager, string userName, ASAuthorizationProviderExtensionAuthenticationMethod authenticationMethod, ASAuthorizationProviderExtensionRequestOptions options);
public virtual void RegistrationDidComplete ();
}
public static class ASAuthorizationProviderExtensionRegistrationHandler_Extensions {
// methods
public static System.Threading.Tasks.Task<ASAuthorizationProviderExtensionRegistrationResult> BeginDeviceRegistrationAsync (this IASAuthorizationProviderExtensionRegistrationHandler This, ASAuthorizationProviderExtensionLoginManager loginManager, ASAuthorizationProviderExtensionRequestOptions options);
public static System.Threading.Tasks.Task<ASAuthorizationProviderExtensionRegistrationResult> BeginUserRegistrationAsync (this IASAuthorizationProviderExtensionRegistrationHandler This, ASAuthorizationProviderExtensionLoginManager loginManager, string userName, ASAuthorizationProviderExtensionAuthenticationMethod authenticationMethod, ASAuthorizationProviderExtensionRequestOptions options);
public static void RegistrationDidComplete (this IASAuthorizationProviderExtensionRegistrationHandler This);
}
[Serializable]
public enum ASAuthorizationProviderExtensionRegistrationResult {
Failed = 1,
FailedNoRetry = 3,
Success = 0,
UserInterfaceRequired = 2,
}
[Serializable]
[Flags]
public enum ASAuthorizationProviderExtensionRequestOptions {
None = 0,
RegistrationRepair = 2,
UserInteractionEnabled = 1,
}
public interface IASAuthorizationProviderExtensionRegistrationHandler : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void BeginDeviceRegistration (ASAuthorizationProviderExtensionLoginManager loginManager, ASAuthorizationProviderExtensionRequestOptions options, System.Action<ASAuthorizationProviderExtensionRegistrationResult> handler);
public virtual void BeginUserRegistration (ASAuthorizationProviderExtensionLoginManager loginManager, string userName, ASAuthorizationProviderExtensionAuthenticationMethod authenticationMethod, ASAuthorizationProviderExtensionRequestOptions options, System.Action<ASAuthorizationProviderExtensionRegistrationResult> handler);
}
Added value:
UnsupportedPlatform = 2,
public class CKAllowedSharingOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKAllowedSharingOptions (Foundation.NSCoder coder);
protected CKAllowedSharingOptions (Foundation.NSObjectFlag t);
protected CKAllowedSharingOptions (IntPtr handle);
public CKAllowedSharingOptions (CKSharingParticipantPermissionOption allowedParticipantPermissionOptions, CKSharingParticipantAccessOption allowedParticipantAccessOptions);
// properties
public virtual CKSharingParticipantAccessOption AllowedParticipantAccessOptions { get; set; }
public virtual CKSharingParticipantPermissionOption AllowedParticipantPermissionOptions { get; set; }
public override IntPtr ClassHandle { get; }
public static CKAllowedSharingOptions StandardOptions { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
[Flags]
public enum CKSharingParticipantAccessOption {
Any = 3,
AnyoneWithLink = 1,
SpecifiedRecipientsOnly = 2,
}
[Serializable]
[Flags]
public enum CKSharingParticipantPermissionOption {
Any = 3,
ReadOnly = 1,
ReadWrite = 2,
}
public class CKSystemSharingUIObserver : Foundation.NSObject {
// constructors
public CKSystemSharingUIObserver (CKContainer container);
protected CKSystemSharingUIObserver (Foundation.NSObjectFlag t);
protected CKSystemSharingUIObserver (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual System.Action<CKRecordID,CloudKit.CKShare,Foundation.NSError> SystemSharingUIDidSaveShareHandler { get; set; }
public virtual System.Action<CKRecordID,Foundation.NSError> SystemSharingUIDidStopSharingHandler { get; set; }
}
Obsoleted properties:
[Obsolete ("The name has been fixed, use 'AnimationDiscrete' instead.")]
public static Foundation.NSString AnimationDescrete { get; }
Obsoleted properties:
[Obsolete ("Use 'CAGradientLayerType.Axial' enum instead.")]
public static Foundation.NSString GradientLayerAxial { get; }
public class AUGenericViewController : AppKit.NSViewController {
// constructors
public AUGenericViewController ();
public AUGenericViewController (Foundation.NSCoder coder);
protected AUGenericViewController (Foundation.NSObjectFlag t);
protected AUGenericViewController (IntPtr handle);
public AUGenericViewController (string nibName, Foundation.NSBundle bundle);
// properties
public virtual AudioUnit.AUAudioUnit AuAudioUnit { get; set; }
public override IntPtr ClassHandle { get; }
}
Obsoleted properties:
[Obsolete ("Use 'CBConnectPeripheralOptions' instead.")]
public static Foundation.NSString OptionNotifyOnConnectionKey { get; }
[Obsolete ("Use 'CBConnectPeripheralOptions' instead.")]
public static Foundation.NSString OptionNotifyOnDisconnectionKey { get; }
[Obsolete ("Use 'CBConnectPeripheralOptions' instead.")]
public static Foundation.NSString OptionNotifyOnNotificationKey { get; }
Added values:
LEGattExceededBackgroundNotificationLimit = 17,
LEGattNearBackgroundNotificationLimit = 18,
Obsoleted properties:
[Obsolete ("Use 'UbiquitousContainerIdentifierKey' instead.")]
public static Foundation.NSString eUbiquitousContainerIdentifierKey { get; }
Added properties:
public System.Net.IPEndPoint Address { get; }
public System.Net.IPEndPoint RemoteAddress { get; }
Added method:
public void Invalidate ();
public struct CGAffineTransformComponents {
// fields
public nfloat HorizontalShear;
public nfloat Rotation;
public CoreGraphics.CGSize Scale;
public CoreGraphics.CGVector Translation;
}
Added methods:
public CoreFoundation.CGAffineTransformComponents Decompose ();
public static CGAffineTransform MakeWithComponents (CoreFoundation.CGAffineTransformComponents components);
Added method:
public CGColorSpace CreateCopyWithStandardRange ();
Obsoleted properties:
[Obsolete ("Now accessible as AdobeRgb1998.")]
public static Foundation.NSString AdobeRGB1998 { get; }
[Obsolete ("Now accessible as GenericCmyk.")]
public static Foundation.NSString GenericCMYK { get; }
[Obsolete ("Now accessible as GenericRgb.")]
public static Foundation.NSString GenericRGB { get; }
[Obsolete ("Now accessible as GenericRgb.")]
public static Foundation.NSString GenericRGBLinear { get; }
[Obsolete ("Now accessible as Srgb.")]
public static Foundation.NSString SRGB { get; }
Added property:
public static Foundation.NSString ItuR_709_Hlg { get; }
Added method:
public void Stop ();
Added methods:
public CGPath CreateByFlattening (nfloat flatteningThreshold);
public CGPath CreateByIntersectingPath (CGPath maskPath, bool evenOddFillRule);
public CGPath CreateByNormalizing (bool evenOddFillRule);
public CGPath CreateBySubtractingPath (CGPath maskPath, bool evenOddFillRule);
public CGPath CreateBySymmetricDifferenceOfPath (CGPath maskPath, bool evenOddFillRule);
public CGPath CreateByUnioningPath (CGPath maskPath, bool evenOddFillRule);
public CGPath CreateLineByIntersectingPath (CGPath maskPath, bool evenOddFillRule);
public CGPath CreateLineBySubtractingPath (CGPath maskPath, bool evenOddFillRule);
public bool DoesIntersect (CGPath maskPath, bool evenOddFillRule);
public CGPath[] GetSeparateComponents (bool evenOddFillRule);
Added property:
public float Padding { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added property:
public bool Extrapolate { get; set; }
Added methods:
public virtual CIImage ConvertLabToWorkingSpace ();
public virtual CIImage ConvertWorkingSpaceToLab ();
Added method:
public static ulong GetDigest (this ICIImageProcessorInput This);
Added method:
public static ulong GetDigest (this ICIImageProcessorOutput This);
Added property:
public float Padding { get; set; }
public class CIAreaLogarithmicHistogram : CoreImage.CIFilter, ICIAreaLogarithmicHistogramProtocol, ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CIAreaLogarithmicHistogram ();
public CIAreaLogarithmicHistogram (Foundation.NSCoder coder);
protected CIAreaLogarithmicHistogram (Foundation.NSObjectFlag t);
public CIAreaLogarithmicHistogram (IntPtr handle);
// properties
public virtual nint Count { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual CIImage InputImage { get; set; }
public virtual float MaximumStop { get; set; }
public virtual float MinimumStop { get; set; }
public virtual CIImage OutputImage { get; }
public virtual float Scale { get; set; }
}
public static class CIAttributedTextImageGeneratorProtocol_Extensions {
// methods
public static float GetPadding (this ICIAttributedTextImageGeneratorProtocol This);
public static void SetPadding (this ICIAttributedTextImageGeneratorProtocol This, float value);
}
public static class CIColorCubeProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubeProtocol This);
public static void SetExtrapolate (this ICIColorCubeProtocol This, bool value);
}
public static class CIColorCubeWithColorSpaceProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This);
public static void SetExtrapolate (this ICIColorCubeWithColorSpaceProtocol This, bool value);
}
public static class CIColorCubesMixedWithMaskProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This);
public static void SetExtrapolate (this ICIColorCubesMixedWithMaskProtocol This, bool value);
}
public static class CITextImageGeneratorProtocol_Extensions {
// methods
public static float GetPadding (this ICITextImageGeneratorProtocol This);
public static void SetPadding (this ICITextImageGeneratorProtocol This, float value);
}
public interface ICIAreaLogarithmicHistogramProtocol : ICIAreaReductionFilterProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual nint Count { get; set; }
public virtual float MaximumStop { get; set; }
public virtual float MinimumStop { get; set; }
public virtual float Scale { get; set; }
}
public interface ICIConvertLabProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual CIImage InputImage { get; set; }
public virtual bool Normalize { get; set; }
}
Added value:
HistoricalLocationError = 19,
Added value:
CPUAndNeuralEngine = 3,
Added methods:
public static void CompileModel (Foundation.NSUrl modelUrl, System.Action<Foundation.NSUrl,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<Foundation.NSUrl> CompileModelAsync (Foundation.NSUrl modelUrl);
public static void Load (MLModelAsset asset, MLModelConfiguration configuration, System.Action<MLModel,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<MLModel> LoadAsync (MLModelAsset asset, MLModelConfiguration configuration);
Added property:
public virtual string ModelDisplayName { get; set; }
Added methods:
public virtual void GetBytes (System.Action<System.IntPtr,System.nint> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayDataPointer> GetBytesAsync ();
public virtual void GetMutableBytes (System.Action<System.IntPtr,System.nint,Foundation.NSArray<Foundation.NSNumber>> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayMutableDataPointer> GetMutableBytesAsync ();
public class MLModelAsset : Foundation.NSObject {
// constructors
protected MLModelAsset (Foundation.NSObjectFlag t);
protected MLModelAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static MLModelAsset Create (Foundation.NSData specificationData, out Foundation.NSError error);
}
public class MLModelCompilationLoadResult {
// constructors
public MLModelCompilationLoadResult (MLModel arg1);
// properties
public MLModel Arg1 { get; set; }
}
public class MLModelCompilationResult {
// constructors
public MLModelCompilationResult (Foundation.NSUrl arg1);
// properties
public Foundation.NSUrl Arg1 { get; set; }
}
public class MLMultiArrayDataPointer {
// constructors
public MLMultiArrayDataPointer (IntPtr arg1, nint arg2);
// properties
public IntPtr Arg1 { get; set; }
public nint Arg2 { get; set; }
}
public class MLMultiArrayMutableDataPointer {
// constructors
public MLMultiArrayMutableDataPointer (IntPtr arg1, nint arg2, Foundation.NSArray<Foundation.NSNumber> arg3);
// properties
public IntPtr Arg1 { get; set; }
public nint Arg2 { get; set; }
public Foundation.NSArray<Foundation.NSNumber> Arg3 { get; set; }
}
Added value:
Hdr10PlusPerFrameData = 34,
Added property:
public Foundation.NSData Hdr10PlusPerFrameData { get; set; }
Added value:
UnknownF = 15,
Added values:
MixedDataSetHeader = 8,
MixedDataSetPayload = 9,
public class MidiBluetoothDriver {
// constructors
public MidiBluetoothDriver ();
// methods
public static int ActivateAllConnections ();
public static int Disconnect (Foundation.NSString uuid);
}
[Serializable]
public enum MidiNoteAttribute {
ManufacturerSpecific = 1,
None = 0,
Pitch = 3,
ProfileSpecific = 2,
}
[Serializable]
[Flags]
public enum MidiPerNoteManagementOptions {
Detach = 2,
Reset = 1,
}
[Serializable]
[Flags]
public enum MidiProgramChangeOptions {
BankValid = 1,
}
[Serializable]
public enum MidiUtilityStatus {
JitterReductionClock = 1,
JitterReductionTimestamp = 2,
Noop = 0,
}
Added value:
MalformedLocErr = -10400,
Added constructor:
public CSSearchQuery (string queryString, CSSearchQueryContext queryContext);
Added methods:
public virtual void FetchData (string bundleIdentifier, string itemIdentifier, UniformTypeIdentifiers.UTType contentType, System.Action<Foundation.NSData,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> FetchDataAsync (string bundleIdentifier, string itemIdentifier, UniformTypeIdentifiers.UTType contentType);
public virtual void ProvideData (string bundle, string identifier, string type, System.Action<Foundation.NSData,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ProvideDataAsync (string bundle, string identifier, string type);
Added method:
public virtual Foundation.NSComparisonResult CompareByRank (CSSearchableItem other);
public class CSSearchQueryContext : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CSSearchQueryContext ();
public CSSearchQueryContext (Foundation.NSCoder coder);
protected CSSearchQueryContext (Foundation.NSObjectFlag t);
protected CSSearchQueryContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] FetchAttributes { get; set; }
public virtual string[] FilterQueries { get; set; }
public virtual string KeyboardLanguage { get; set; }
[Obsolete ("This property was removed. The getter always returns null and the setter throws and InvalidOperationException.")]
public virtual string[] ProtectionClasses { get; set; }
public virtual CSSearchQuerySourceOptions SourceOptions { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum CSSearchQuerySourceOptions {
AllowMail = 1,
Default = 0,
}
public class CSSearchableIndexBundleDataResult {
// constructors
public CSSearchableIndexBundleDataResult (Foundation.NSData arg1);
// properties
public Foundation.NSData Arg1 { get; set; }
}
public class CSSuggestion : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CSSuggestion (Foundation.NSCoder coder);
protected CSSuggestion (Foundation.NSObjectFlag t);
protected CSSuggestion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString HighlightAttributeName { get; }
public virtual Foundation.NSAttributedString LocalizedAttributedSuggestion { get; }
public virtual CSSuggestionKind SuggestionKind { get; }
// methods
public virtual Foundation.NSComparisonResult Compare (CSSuggestion other);
public virtual Foundation.NSComparisonResult CompareByRank (CSSuggestion other);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum CSSuggestionKind {
Custom = 1,
Default = 2,
None = 0,
}
public class CSUserQuery : CoreSpotlight.CSSearchQuery {
// constructors
protected CSUserQuery (Foundation.NSObjectFlag t);
protected CSUserQuery (IntPtr handle);
public CSUserQuery (string userQueryString, CSUserQueryContext userQueryContext);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint FoundSuggestionCount { get; }
public virtual System.Action<Foundation.NSArray<CSSuggestion>> FoundSuggestionsHandler { get; set; }
// methods
public virtual void Cancel ();
public virtual void Start ();
}
public class CSUserQueryContext : CoreSpotlight.CSSearchQueryContext {
// constructors
public CSUserQueryContext (Foundation.NSCoder coder);
protected CSUserQueryContext (Foundation.NSObjectFlag t);
protected CSUserQueryContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool EnableRankedResults { get; set; }
public virtual nint MaxResultCount { get; set; }
public virtual nint MaxSuggestionCount { get; set; }
public static CSUserQueryContext UserQueryContext { get; }
// methods
public static CSUserQueryContext Create (CSSuggestion currentSuggestion);
}
Added value:
PreventAutoDownload = 2,
Added field:
public static Foundation.NSString ContainsSenselArray;
Added values:
Owe = 14,
OweTransition = 15,
Added property:
public virtual bool IsDelegate { get; }
Added properties:
public virtual bool Replicated { get; }
public virtual bool SupportsSyncingTrash { get; set; }
Added values:
DomainDisabled = -2011,
ExcludedFromSync = -2010,
Added method:
public static NSFileProviderContentPolicy GetContentPolicy (this INSFileProviderItem This);
Added methods:
public virtual void GetService (string serviceName, string itemIdentifier, System.Action<Foundation.NSFileProviderService,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSFileProviderService> GetServiceAsync (string serviceName, string itemIdentifier);
public virtual void RequestDownload (string itemIdentifier, Foundation.NSRange rangeToMaterialize, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task RequestDownloadAsync (string itemIdentifier, Foundation.NSRange rangeToMaterialize);
public virtual void RequestModification (NSFileProviderItemFields fields, string itemIdentifier, NSFileProviderModifyItemOptions options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task RequestModificationAsync (NSFileProviderItemFields fields, string itemIdentifier, NSFileProviderModifyItemOptions options);
[Serializable]
public enum NSFileProviderContentPolicy {
DownloadEagerlyAndKeepDownloaded = 3,
DownloadLazily = 1,
DownloadLazilyAndEvictOnRemoteUpdate = 2,
Inherited = 0,
}
public static class NSFileProviderPendingSetEnumerator_Extensions {
// methods
public static bool GetMaximumSizeReached (this INSFileProviderPendingSetEnumerator This);
}
public static class NSFileProviderServiceSource_Extensions {
// methods
public static bool GetRestricted (this INSFileProviderServiceSource This);
}
Added values:
AnimationTrackingEnabled = 35184372088832,
TrackingEnabled = 70368744177664,
UserInteractive = 1095233437695,
Added interfaces:
System.Collections.Generic.IEnumerable<NSObject>
System.Collections.IEnumerable
Added methods:
public TKey[] ToArray<TKey> ();
public NSObject[] ToArray ();
Added method:
public TKey[] ToArray ();
Added constructors:
public NSAttributedString (NSData data, out NSError error);
public NSAttributedString (NSUrl url, out NSError error);
public NSAttributedString (NSData data, NSAttributedStringDocumentAttributes documentAttributes, out NSError error);
public NSAttributedString (NSUrl url, NSAttributedStringDocumentAttributes documentAttributes, out NSError error);
public NSAttributedString (NSData markdown, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
public NSAttributedString (NSUrl markdownFile, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
public NSAttributedString (string markdownString, NSAttributedStringMarkdownParsingOptions options, NSUrl baseUrl, out NSError error);
Added property:
public virtual NSAttributedString AttributedStringByInflectingString { get; }
Obsoleted properties:
[Obsolete ("Use the 'AllBundles' property instead.")]
public static NSBundle[] _AllBundles { get; }
Added property:
public static NSBundle[] AllBundles { get; }
Added method:
public virtual NSAttributedString GetLocalizedAttributedString (string key, string value, string tableName);
Added methods:
public virtual string Create (NSUnitInformationStorage measurement);
public static string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle);
Added value:
XpcConnectionCodeSigningRequirementFailure = 4102,
Added constructor:
public NSItemProvider (NSUrl fileUrl, UniformTypeIdentifiers.UTType contentType, bool openInPlace, bool coordinated, NSItemProviderRepresentationVisibility visibility);
Added properties:
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypes { get; }
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesForOpenInPlace { get; }
Added methods:
public virtual NSProgress LoadDataRepresentation (UniformTypeIdentifiers.UTType contentType, ItemProviderDataCompletionHandler completionHandler);
public virtual NSProgress LoadFileRepresentation (UniformTypeIdentifiers.UTType contentType, bool openInPlace, LoadFileRepresentationHandler completionHandler);
public virtual void RegisterCKShare (CloudKit.CKContainer container, CloudKit.CKAllowedSharingOptions allowedOptions, System.Action preparationHandler);
public virtual void RegisterCKShare (CloudKit.CKShare share, CloudKit.CKContainer container, CloudKit.CKAllowedSharingOptions allowedOptions);
public virtual void RegisterDataRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, NSItemProviderUTTypeLoadDelegate loadHandler);
public virtual void RegisterFileRepresentation (UniformTypeIdentifiers.UTType contentType, NSItemProviderRepresentationVisibility visibility, bool openInPlace, NSItemProviderUTTypeLoadDelegate loadHandler);
public virtual UniformTypeIdentifiers.UTType[] RegisteredContentTypesConforming (UniformTypeIdentifiers.UTType contentType);
Added values:
Json5Allowed = 8,
TopLevelDictionaryAssumed = 16,
Added properties:
public virtual NSURLRequestAttribution Attribution { get; set; }
public virtual bool RequiresDnsSecValidation { get; set; }
Added constructors:
public NSOperatingSystemVersion (nint major);
public NSOperatingSystemVersion (nint major, nint minor);
Added interfaces:
System.IComparable
System.IEquatable<NSOperatingSystemVersion>
Added methods:
public int CompareTo (NSOperatingSystemVersion otherVersion);
public virtual int CompareTo (object obj);
public virtual bool Equals (NSOperatingSystemVersion other);
public override bool Equals (object obj);
public override int GetHashCode ();
public static bool op_Equality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2);
public static bool op_Inequality (NSOperatingSystemVersion os1, NSOperatingSystemVersion os2);
Added property:
public virtual NSLocale Locale { get; set; }
Added properties:
public virtual bool LowPowerModeEnabled { get; }
public static NSString PowerStateDidChangeNotification { get; }
Added methods:
public static NSObject ObservePowerStateDidChange (System.EventHandler<NSNotificationEventArgs> handler);
public static NSObject ObservePowerStateDidChange (NSObject objectToObserve, System.EventHandler<NSNotificationEventArgs> handler);
Added property:
public static NSString FileOperationKindDuplicatingKey { get; }
Obsoleted properties:
[Obsolete ("Use the 'NSRunLoopMode' enum instead.")]
public static NSString NSDefaultRunLoopMode { get; }
[Obsolete ("Use the 'NSRunLoopMode' enum instead.")]
public static NSString NSRunLoopCommonModes { get; }
[Obsolete ("Use the 'NSRunLoopMode' enum instead.")]
public static NSString NSRunLoopConnectionReplyMode { get; }
[Obsolete ("Use the 'NSRunLoopMode' enum instead.")]
public static NSString NSRunLoopEventTracking { get; }
[Obsolete ("Use the 'NSRunLoopMode' enum instead.")]
public static NSString NSRunLoopModalPanelMode { get; }
Added properties:
public virtual NSUrl CurrentDirectoryUrl { get; set; }
public virtual NSUrl ExecutableUrl { get; set; }
public virtual NSQualityOfService QualityOfService { get; set; }
public virtual System.Action<NSTask> TerminationHandler { get; set; }
Added methods:
public virtual bool Launch (out NSError error);
public static NSTask LaunchFromUrl (NSUrl url, string[] arguments, out NSError error, System.Action<NSTask> terminationHandler);
Added value:
CreationWithoutImplicitSecurityScope = 536870912,
Added value:
WithoutImplicitStartAccessing = 32768,
Added property:
public virtual string EncodedHost { get; set; }
Added properties:
public virtual NSURLRequestAttribution Attribution { get; }
public virtual bool RequiresDnsSecValidation { get; }
Added property:
public virtual bool RequiresDnsSecValidation { get; set; }
Added properties:
public INSUrlSessionTaskDelegate Delegate { get; set; }
public virtual NSObject WeakDelegate { get; set; }
Added method:
public virtual void DidCreateTask (NSUrlSession session, NSUrlSessionTask task);
Added method:
public static void DidCreateTask (this INSUrlSessionTaskDelegate This, NSUrlSession session, NSUrlSessionTask task);
Added method:
public virtual NSComparisonResult Compare (NSUuid otherUuid);
Added methods:
public virtual void Activate ();
public virtual void SetCodeSigningRequirement (string requirement);
Added methods:
public virtual void Activate ();
public virtual void SetConnectionCodeSigningRequirement (string requirement);
public sealed delegate LoadFileRepresentationHandler : System.MulticastDelegate {
// constructors
public LoadFileRepresentationHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (NSUrl fileUrl, bool openInPlace, NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (NSUrl fileUrl, bool openInPlace, NSError error);
}
[Serializable]
[Flags]
public enum NSAttributedStringFormattingOptions {
ApplyReplacementIndexAttribute = 2,
InsertArgumentAttributesWithoutMerging = 1,
}
[Serializable]
public enum NSAttributedStringMarkdownInterpretedSyntax {
Full = 0,
InlineOnly = 1,
InlineOnlyPreservingWhitespace = 2,
}
[Serializable]
public enum NSAttributedStringMarkdownParsingFailurePolicy {
Error = 0,
PartiallyParsedIfPossible = 1,
}
public class NSAttributedStringMarkdownParsingOptions : Foundation.NSObject, INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSAttributedStringMarkdownParsingOptions ();
protected NSAttributedStringMarkdownParsingOptions (NSObjectFlag t);
protected NSAttributedStringMarkdownParsingOptions (IntPtr handle);
// properties
public virtual bool AllowsExtendedAttributes { get; set; }
public virtual bool AppliesSourcePositionAttributes { get; set; }
public override IntPtr ClassHandle { get; }
public virtual NSAttributedStringMarkdownParsingFailurePolicy FailurePolicy { get; set; }
public virtual NSAttributedStringMarkdownInterpretedSyntax InterpretedSyntax { get; set; }
public virtual string LanguageCode { get; set; }
// methods
public virtual NSObject Copy (NSZone zone);
}
public class NSAttributedStringMarkdownSourcePosition : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSAttributedStringMarkdownSourcePosition ();
public NSAttributedStringMarkdownSourcePosition (NSCoder coder);
protected NSAttributedStringMarkdownSourcePosition (NSObjectFlag t);
protected NSAttributedStringMarkdownSourcePosition (IntPtr handle);
public NSAttributedStringMarkdownSourcePosition (nint startLine, nint startColumn, nint endLine, nint endColumn);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint EndColumn { get; }
public virtual nint EndLine { get; }
public virtual nint StartColumn { get; }
public virtual nint StartLine { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public virtual NSRange RangeInString (string string);
}
[Serializable]
public enum NSAttributedStringNameKey {
AlternateDescription = 0,
ImageUrl = 1,
InflectionAlternative = 3,
InflectionRule = 2,
InlinePresentationIntent = 4,
LanguageIdentifier = 5,
MarkdownSourcePosition = 6,
Morphology = 7,
PresentationIntentAttributeName = 8,
ReplacementIndex = 9,
}
public static class NSAttributedStringNameKeyExtensions {
// methods
public static NSString GetConstant (this NSAttributedStringNameKey self);
public static NSAttributedStringNameKey GetValue (NSString constant);
}
[Serializable]
public enum NSGrammaticalGender {
Feminine = 1,
Masculine = 2,
Neuter = 3,
NotSet = 0,
}
[Serializable]
public enum NSGrammaticalNumber {
NotSet = 0,
Plural = 3,
PluralFew = 5,
PluralMany = 6,
PluralTwo = 4,
Singular = 1,
Zero = 2,
}
[Serializable]
public enum NSGrammaticalPartOfSpeech {
Abbreviation = 14,
Adjective = 6,
Adposition = 7,
Adverb = 4,
Conjunction = 10,
Determiner = 1,
Interjection = 12,
Letter = 3,
NotSet = 0,
Noun = 9,
Numeral = 11,
Particle = 5,
Preposition = 13,
Pronoun = 2,
Verb = 8,
}
public class NSInflectionRule : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSInflectionRule (NSCoder coder);
protected NSInflectionRule (NSObjectFlag t);
protected NSInflectionRule (IntPtr handle);
// properties
public static NSInflectionRule AutomaticRule { get; }
public static bool CanInflectPreferredLocalization { get; }
public override IntPtr ClassHandle { get; }
// methods
public static bool CanInflectLanguage (string language);
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
}
public class NSInflectionRuleExplicit : Foundation.NSInflectionRule {
// constructors
public NSInflectionRuleExplicit ();
public NSInflectionRuleExplicit (NSCoder coder);
public NSInflectionRuleExplicit (NSMorphology morphology);
protected NSInflectionRuleExplicit (NSObjectFlag t);
protected NSInflectionRuleExplicit (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSMorphology Morphology { get; }
}
[Serializable]
public enum NSInlinePresentationIntent {
BlockHTML = 512,
Code = 4,
Emphasized = 1,
InlineHTML = 256,
LineBreak = 128,
SoftBreak = 64,
Strikethrough = 32,
StronglyEmphasized = 2,
}
public sealed delegate NSItemProviderUTTypeLoadDelegate : System.MulticastDelegate {
// constructors
public NSItemProviderUTTypeLoadDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (ItemProviderDataCompletionHandler completionHandler, System.AsyncCallback callback, object object);
public virtual NSProgress EndInvoke (System.IAsyncResult result);
public virtual NSProgress Invoke (ItemProviderDataCompletionHandler completionHandler);
}
public class NSMorphology : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSMorphology ();
public NSMorphology (NSCoder coder);
protected NSMorphology (NSObjectFlag t);
protected NSMorphology (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSGrammaticalGender GrammaticalGender { get; set; }
public virtual NSGrammaticalNumber Number { get; set; }
public virtual NSGrammaticalPartOfSpeech PartOfSpeech { get; set; }
public virtual bool Unspecified { get; }
public static NSMorphology UserMorphology { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public virtual NSMorphologyCustomPronoun GetCustomPronoun (string language);
public virtual bool SetCustomPronoun (NSMorphologyCustomPronoun features, string language, out NSError error);
}
public class NSMorphologyCustomPronoun : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSMorphologyCustomPronoun ();
public NSMorphologyCustomPronoun (NSCoder coder);
protected NSMorphologyCustomPronoun (NSObjectFlag t);
protected NSMorphologyCustomPronoun (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ObjectForm { get; set; }
public virtual string PossessiveAdjectiveForm { get; set; }
public virtual string PossessiveForm { get; set; }
public virtual string ReflexiveForm { get; set; }
public virtual string SubjectForm { get; set; }
// methods
public virtual NSObject Copy (NSZone zone);
public virtual void EncodeTo (NSCoder encoder);
public static string[] GetRequiredKeysForLanguage (string language);
public static bool IsSupported (string language);
}
public class NSPresentationIntent : Foundation.NSObject, INSCoding, INSCopying, INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSPresentationIntent (NSCoder coder);
protected NSPresentationIntent (NSObjectFlag t);
protected NSPresentationIntent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint Column { get; }
public virtual NSNumber[] ColumnAlignments { get; }
public virtual nint ColumnCount { get; }
public virtual nint HeaderLevel { get; }
public virtual nint Identity { get; }
public virtual nint IndentationLevel { get; }
public virtual NSPresentationIntentKind IntentKind { get; }
public virtual string LanguageHint { get; }
public virtual nint Ordinal { get; }
public virtual NSPresentationIntent ParentIntent { get; }
public virtual nint Row { get; }
// methods
public virtual NSObject Copy (NSZone zone);
public static NSPresentationIntent CreateBlockQuoteIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateCodeBlockIntent (nint identity, string languageHint, NSPresentationIntent parent);
public static NSPresentationIntent CreateHeaderIntent (nint identity, nint level, NSPresentationIntent parent);
public static NSPresentationIntent CreateListItemIntent (nint identity, nint ordinal, NSPresentationIntent parent);
public static NSPresentationIntent CreateOrderedListIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateParagraphIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableCellIntent (nint identity, nint column, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableHeaderRowIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableIntent (nint identity, nint columnCount, NSNumber[] alignments, NSPresentationIntent parent);
public static NSPresentationIntent CreateTableRowIntent (nint identity, nint row, NSPresentationIntent parent);
public static NSPresentationIntent CreateThematicBreakIntent (nint identity, NSPresentationIntent parent);
public static NSPresentationIntent CreateUnorderedListIntent (nint identity, NSPresentationIntent parent);
public virtual void EncodeTo (NSCoder encoder);
public virtual bool IsEquivalent (NSPresentationIntent other);
}
[Serializable]
public enum NSPresentationIntentKind {
BlockQuote = 6,
CodeBlock = 5,
Header = 1,
ListItem = 4,
OrderedList = 2,
Paragraph = 0,
Table = 8,
TableCell = 11,
TableHeaderRow = 9,
TableRow = 10,
ThematicBreak = 7,
UnorderedList = 3,
}
[Serializable]
public enum NSPresentationIntentTableColumnAlignment {
Center = 1,
Left = 0,
Right = 2,
}
[Serializable]
public enum NSURLRequestAttribution {
Developer = 0,
User = 1,
}
Added properties:
public static Foundation.NSString LeftPaddle { get; }
public static Foundation.NSString PedalAccelerator { get; }
public static Foundation.NSString PedalBrake { get; }
public static Foundation.NSString PedalClutch { get; }
public static Foundation.NSString RightPaddle { get; }
public static Foundation.NSString Shifter { get; }
public static Foundation.NSString SteeringWheel { get; }
Added property:
public virtual System.Action<GCPhysicalInputProfile,GameController.GCControllerElement> ValueDidChangeHandler { get; set; }
Added property:
public static Foundation.NSString GCProductCategoryHid { get; }
public sealed delegate ElementValueDidChangeHandler : System.MulticastDelegate {
// constructors
public ElementValueDidChangeHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IGCDevicePhysicalInput physicalInput, IGCPhysicalInputElement element, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (IGCDevicePhysicalInput physicalInput, IGCPhysicalInputElement element);
}
public static class GCControllerUserCustomizations {
// properties
public static Foundation.NSString DidChangeNotification { get; }
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
[Serializable]
public enum GCDevicePhysicalInputElementChange {
Changed = 1,
NoChange = 0,
UnknownChange = -1,
}
public class GCGearShifterElement : Foundation.NSObject, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected GCGearShifterElement (Foundation.NSObjectFlag t);
protected GCGearShifterElement (IntPtr handle);
// properties
public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; }
public override IntPtr ClassHandle { get; }
public virtual string LocalizedName { get; }
public virtual IGCSwitchPositionInput PatternInput { get; }
public virtual IGCRelativeInput SequentialInput { get; }
public virtual string SfSymbolsName { get; }
}
public class GCRacingWheel : Foundation.NSObject, IGCDevice, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected GCRacingWheel (Foundation.NSObjectFlag t);
protected GCRacingWheel (IntPtr handle);
// properties
public virtual bool Acquired { get; }
public virtual GCRacingWheel Capture { get; }
public override IntPtr ClassHandle { get; }
public static Foundation.NSSet<GCRacingWheel> ConnectedRacingWheels { get; }
public static Foundation.NSString DidConnectNotification { get; }
public static Foundation.NSString DidDisconnectNotification { get; }
public virtual CoreFoundation.DispatchQueue HandlerQueue { get; set; }
public virtual GCPhysicalInputProfile PhysicalInputProfile { get; }
public virtual string ProductCategory { get; }
public virtual bool Snapshot { get; }
public virtual string VendorName { get; }
public virtual GCRacingWheelInput WheelInput { get; }
// methods
public virtual bool AcquireDevice (out Foundation.NSError error);
public virtual void RelinquishDevice ();
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveDidConnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveDidConnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveDidDisconnect (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveDidDisconnect (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public class GCRacingWheelInput : GameController.GCRacingWheelInputState, IGCDevicePhysicalInput, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public GCRacingWheelInput ();
protected GCRacingWheelInput (Foundation.NSObjectFlag t);
protected GCRacingWheelInput (IntPtr handle);
// properties
public virtual IGCDevicePhysicalInputState Capture { get; }
public override IntPtr ClassHandle { get; }
public virtual IGCDevice Device { get; }
public virtual ElementValueDidChangeHandler ElementValueDidChangeHandler { get; set; }
public virtual InputStateAvailableHandler InputStateAvailableHandler { get; set; }
public virtual nint InputStateQueueDepth { get; set; }
public virtual double LastEventLatency { get; }
public virtual double LastEventTimestamp { get; }
public virtual Foundation.NSObject NextInputState { get; }
public GCRacingWheelInputState WheelInputCapture { get; }
public IGCDevicePhysicalInputStateDiff WheelInputNextInputState { get; }
// methods
protected override void Dispose (bool disposing);
public virtual IGCPhysicalInputElement GetObject (string key);
}
public class GCRacingWheelInputState : Foundation.NSObject, IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public GCRacingWheelInputState ();
protected GCRacingWheelInputState (Foundation.NSObjectFlag t);
protected GCRacingWheelInputState (IntPtr handle);
// properties
public virtual IGCButtonElement AcceleratorPedal { get; }
public virtual IGCButtonElement BrakePedal { get; }
public override IntPtr ClassHandle { get; }
public virtual IGCButtonElement ClutchPedal { get; }
public virtual IGCDevice Device { get; }
public virtual double LastEventLatency { get; }
public virtual double LastEventTimestamp { get; }
public virtual GCGearShifterElement Shifter { get; }
public virtual GCSteeringWheelElement Wheel { get; }
// methods
protected override void Dispose (bool disposing);
public virtual IGCPhysicalInputElement GetObject (string key);
}
public class GCSteeringWheelElement : Foundation.NSObject, IGCAxisElement, IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected GCSteeringWheelElement (Foundation.NSObjectFlag t);
protected GCSteeringWheelElement (IntPtr handle);
// properties
public virtual IGCAxisInput AbsoluteInput { get; }
public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; }
public override IntPtr ClassHandle { get; }
public virtual string LocalizedName { get; }
public virtual float MaximumDegreesOfRotation { get; }
public virtual IGCRelativeInput RelativeInput { get; }
public virtual string SfSymbolsName { get; }
}
public interface IGCAxisElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual IGCAxisInput AbsoluteInput { get; }
public virtual IGCRelativeInput RelativeInput { get; }
}
public interface IGCAxisInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual bool Analog { get; }
public virtual bool CanWrap { get; }
public virtual double LastValueLatency { get; }
public virtual double LastValueTimestamp { get; }
public virtual float Value { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCAxisInput,System.Single> ValueDidChangeHandler { get; set; }
}
public interface IGCButtonElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSObject PressedInput { get; }
public virtual IGCTouchedStateInput TouchedInput { get; }
}
public interface IGCDevicePhysicalInput : IGCDevicePhysicalInputState, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual IGCDevicePhysicalInputState Capture { get; }
public virtual IGCDevice Device { get; }
public virtual ElementValueDidChangeHandler ElementValueDidChangeHandler { get; set; }
public virtual InputStateAvailableHandler InputStateAvailableHandler { get; set; }
public virtual nint InputStateQueueDepth { get; set; }
public virtual Foundation.NSObject NextInputState { get; }
}
public interface IGCDevicePhysicalInputState : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual IGCDevice Device { get; }
public virtual double LastEventLatency { get; }
public virtual double LastEventTimestamp { get; }
// methods
public virtual IGCPhysicalInputElement GetObject (string key);
}
public interface IGCDevicePhysicalInputStateDiff : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSEnumerator<IGCPhysicalInputElement> ChangedElements { get; }
// methods
public virtual GCDevicePhysicalInputElementChange GetChange (IGCPhysicalInputElement element);
}
public interface IGCDirectionPadElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSObject Down { get; }
public virtual Foundation.NSObject Left { get; }
public virtual Foundation.NSObject Right { get; }
public virtual Foundation.NSObject Up { get; }
public virtual IGCAxisInput XAxis { get; }
public virtual IGCAxisInput YAxis { get; }
}
public interface IGCLinearInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual bool Analog { get; }
public virtual bool CanWrap { get; }
public virtual double LastValueLatency { get; }
public virtual double LastValueTimestamp { get; }
public virtual float Value { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCLinearInput,System.Single> ValueDidChangeHandler { get; set; }
}
public interface IGCPhysicalInputElement : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSSet<Foundation.NSString> Aliases { get; }
public virtual string LocalizedName { get; }
public virtual string SfSymbolsName { get; }
}
public interface IGCPressedStateInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual double LastPressedStateLatency { get; }
public virtual double LastPressedStateTimestamp { get; }
public virtual bool Pressed { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean> PressedDidChangeHandler { get; set; }
}
public interface IGCRelativeInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual bool Analog { get; }
public virtual float Delta { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single> DeltaDidChangeHandler { get; set; }
public virtual double LastDeltaLatency { get; }
public virtual double LastDeltaTimestamp { get; }
}
public interface IGCSwitchElement : IGCPhysicalInputElement, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual IGCSwitchPositionInput PositionInput { get; }
}
public interface IGCSwitchPositionInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual bool CanWrap { get; }
public virtual double LastPositionLatency { get; }
public virtual double LastPositionTimestamp { get; }
public virtual nint Position { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.nint> PositionDidChangeHandler { get; set; }
public virtual Foundation.NSRange PositionRange { get; }
public virtual bool Sequential { get; }
}
public interface IGCTouchedStateInput : ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual double LastTouchedStateLatency { get; }
public virtual double LastTouchedStateTimestamp { get; }
public virtual bool Touched { get; }
public virtual System.Action<IGCPhysicalInputElement,GameController.IGCTouchedStateInput,System.Boolean> TouchedDidChangeHandler { get; set; }
}
public sealed delegate InputStateAvailableHandler : System.MulticastDelegate {
// constructors
public InputStateAvailableHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IGCDevicePhysicalInput physicalInput, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (IGCDevicePhysicalInput physicalInput);
}
Added property:
public string Name { get; set; }
Added properties:
public static Foundation.NSString GroupImageBaseline { get; }
public static Foundation.NSString GroupImageDisparityAdjustment { get; }
public static Foundation.NSString HeifDictionary { get; }
public static class IOCameraExtrinsics {
// properties
public static Foundation.NSString CoordinateSystemId { get; }
public static Foundation.NSString Position { get; }
public static Foundation.NSString Rotation { get; }
}
public static class IOCameraModel {
// properties
public static Foundation.NSString Intrinsics { get; }
public static Foundation.NSString ModelType { get; }
}
public static class IOCameraModelType {
// properties
public static Foundation.NSString GenericPinhole { get; }
public static Foundation.NSString SimplifiedPinhole { get; }
}
public static class IOMetadata {
// properties
public static Foundation.NSString CameraExtrinsicsKey { get; }
public static Foundation.NSString CameraModelKey { get; }
}
Obsoleted properties:
[Obsolete ("Use the 'FilterArray' property instead.")]
public virtual Foundation.NSArray filterArray { get; }
Added property:
public virtual Foundation.NSArray FilterArray { get; }
Obsoleted properties:
[Obsolete ("Use the 'AutoPlayDelay' property instead.")]
public virtual double autoPlayDelay { get; set; }
Added property:
public virtual double AutoPlayDelay { get; set; }
Added method:
public static INImage FromImage (AppKit.NSImage image);
Obsoleted fields:
[Obsolete ("Use DeviceOwnerAuthenticationWithBiometricsOrWatch enum value instead.")]
OwnerAuthenticationWithBiometricsOrWatch = 4,
Added values:
DeviceOwnerAuthenticationWithBiometricsOrWatch = 4,
DeviceOwnerAuthenticationWithWristDetection = 5,
public class LAAuthenticationRequirement : Foundation.NSObject {
// constructors
public LAAuthenticationRequirement ();
protected LAAuthenticationRequirement (Foundation.NSObjectFlag t);
protected LAAuthenticationRequirement (IntPtr handle);
// properties
public static LAAuthenticationRequirement BiometryCurrentSetRequirement { get; }
public static LAAuthenticationRequirement BiometryRequirement { get; }
public override IntPtr ClassHandle { get; }
public static LAAuthenticationRequirement DefaultRequirement { get; }
// methods
public static LAAuthenticationRequirement GetBiometryRequirement (LABiometryFallbackRequirement fallback);
}
public class LABiometryFallbackRequirement : Foundation.NSObject {
// constructors
public LABiometryFallbackRequirement ();
protected LABiometryFallbackRequirement (Foundation.NSObjectFlag t);
protected LABiometryFallbackRequirement (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static LABiometryFallbackRequirement DefaultRequirement { get; }
public static LABiometryFallbackRequirement DevicePasscodeRequirement { get; }
}
public class LAPersistedRight : LocalAuthentication.LARight {
// constructors
protected LAPersistedRight (Foundation.NSObjectFlag t);
protected LAPersistedRight (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual LAPrivateKey Key { get; }
public virtual LASecret Secret { get; }
}
public class LAPrivateKey : Foundation.NSObject {
// constructors
protected LAPrivateKey (Foundation.NSObjectFlag t);
protected LAPrivateKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual LAPublicKey PublicKey { get; }
// methods
public virtual bool CanDecrypt (Security.SecKeyAlgorithm algorithm);
public virtual bool CanExchangeKeys (Security.SecKeyAlgorithm algorithm);
public virtual bool CanSign (Security.SecKeyAlgorithm algorithm);
public virtual void Decrypt (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> DecryptAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
public virtual void ExchangeKeys (Foundation.NSData publicKey, Security.SecKeyAlgorithm algorithm, Foundation.NSDictionary parameters, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ExchangeKeysAsync (Foundation.NSData publicKey, Security.SecKeyAlgorithm algorithm, Foundation.NSDictionary parameters);
public virtual void Sign (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> SignAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
}
public sealed delegate LAPrivateKeyCompletionHandler : System.MulticastDelegate {
// constructors
public LAPrivateKeyCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}
public class LAPublicKey : Foundation.NSObject {
// constructors
protected LAPublicKey (Foundation.NSObjectFlag t);
protected LAPublicKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool CanEncrypt (Security.SecKeyAlgorithm algorithm);
public virtual bool CanVerify (Security.SecKeyAlgorithm algorithm);
public virtual void Encrypt (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPublicKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> EncryptAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
public virtual void ExportBytes (LAPublicKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ExportBytesAsync ();
public virtual void Verify (Foundation.NSData signedData, Foundation.NSData signature, Security.SecKeyAlgorithm algorithm, LAPublicKeyVerifyDataCompletionHandler handler);
public virtual System.Threading.Tasks.Task VerifyAsync (Foundation.NSData signedData, Foundation.NSData signature, Security.SecKeyAlgorithm algorithm);
}
public sealed delegate LAPublicKeyCompletionHandler : System.MulticastDelegate {
// constructors
public LAPublicKeyCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}
public sealed delegate LAPublicKeyVerifyDataCompletionHandler : System.MulticastDelegate {
// constructors
public LAPublicKeyVerifyDataCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
public class LARight : Foundation.NSObject {
// constructors
public LARight ();
protected LARight (Foundation.NSObjectFlag t);
public LARight (LAAuthenticationRequirement requirement);
protected LARight (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual LARightState State { get; }
public virtual nint Tag { get; set; }
// methods
public virtual void Authorize (string localizedReason, LARightAuthorizeCompletionHandler handler);
public virtual System.Threading.Tasks.Task AuthorizeAsync (string localizedReason);
public virtual void CheckCanAuthorize (LARightAuthorizeCompletionHandler handler);
public virtual System.Threading.Tasks.Task CheckCanAuthorizeAsync ();
public virtual void Deauthorize (System.Action handler);
public virtual System.Threading.Tasks.Task DeauthorizeAsync ();
}
public sealed delegate LARightAuthorizeCompletionHandler : System.MulticastDelegate {
// constructors
public LARightAuthorizeCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
[Serializable]
public enum LARightState {
Authorized = 2,
Authorizing = 1,
NotAuthorized = 3,
Unknown = 0,
}
public class LARightStore : Foundation.NSObject {
// constructors
protected LARightStore (Foundation.NSObjectFlag t);
protected LARightStore (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static LARightStore SharedStore { get; }
// methods
public virtual void Get (string identifier, LARightStoreCompletionHandler handler);
public virtual System.Threading.Tasks.Task<LAPersistedRight> GetAsync (string identifier);
public virtual void Remove (LAPersistedRight right, LARightStoreRemoveRightCompletionHandler handler);
public virtual void Remove (string identifier, LARightStoreRemoveRightCompletionHandler handler);
public virtual void RemoveAll (LARightStoreRemoveRightCompletionHandler handler);
public virtual System.Threading.Tasks.Task RemoveAllAsync ();
public virtual System.Threading.Tasks.Task RemoveAsync (LAPersistedRight right);
public virtual System.Threading.Tasks.Task RemoveAsync (string identifier);
public virtual void Save (LARight right, string identifier, LARightStoreCompletionHandler handler);
public virtual void Save (LARight right, string identifier, Foundation.NSData secret, LARightStoreCompletionHandler handler);
public virtual System.Threading.Tasks.Task<LAPersistedRight> SaveAsync (LARight right, string identifier);
public virtual System.Threading.Tasks.Task<LAPersistedRight> SaveAsync (LARight right, string identifier, Foundation.NSData secret);
}
public sealed delegate LARightStoreCompletionHandler : System.MulticastDelegate {
// constructors
public LARightStoreCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (LAPersistedRight right, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (LAPersistedRight right, Foundation.NSError error);
}
public sealed delegate LARightStoreRemoveRightCompletionHandler : System.MulticastDelegate {
// constructors
public LARightStoreRemoveRightCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
public class LASecret : Foundation.NSObject {
// constructors
protected LASecret (Foundation.NSObjectFlag t);
protected LASecret (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void LoadData (LASecretCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync ();
}
public sealed delegate LASecretCompletionHandler : System.MulticastDelegate {
// constructors
public LASecretCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}
Added properties:
public virtual MKDirectionsRoutePreference HighwayPreference { get; set; }
public virtual MKDirectionsRoutePreference TollPreference { get; set; }
Added method:
public static MKMapCamera CameraLookingAt (MKMapItem mapItem, CoreGraphics.CGSize viewSize, bool allowPitch);
Added property:
public virtual MKMapConfiguration PreferredConfiguration { get; set; }
Added properties:
public virtual bool HasHighways { get; }
public virtual bool HasTolls { get; }
Obsoleted fields:
[Obsolete ("This is only available on iOS and MacCatalyst.")]
FollowWithHeading = 2,
public interface IMKLookAroundViewControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
[Serializable]
public enum MKDirectionsRoutePreference {
Any = 0,
Avoid = 1,
}
public class MKHybridMapConfiguration : MapKit.MKMapConfiguration {
// constructors
public MKHybridMapConfiguration ();
public MKHybridMapConfiguration (Foundation.NSCoder coder);
protected MKHybridMapConfiguration (Foundation.NSObjectFlag t);
public MKHybridMapConfiguration (MKMapElevationStyle elevationStyle);
protected MKHybridMapConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MKPointOfInterestFilter PointOfInterestFilter { get; set; }
public virtual bool ShowsTraffic { get; set; }
}
public class MKImageryMapConfiguration : MapKit.MKMapConfiguration {
// constructors
public MKImageryMapConfiguration ();
public MKImageryMapConfiguration (Foundation.NSCoder coder);
protected MKImageryMapConfiguration (Foundation.NSObjectFlag t);
public MKImageryMapConfiguration (MKMapElevationStyle elevationStyle);
protected MKImageryMapConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum MKLookAroundBadgePosition {
BottomTrailing = 2,
TopLeading = 0,
TopTrailing = 1,
}
public class MKLookAroundScene : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MKLookAroundScene (Foundation.NSObjectFlag t);
protected MKLookAroundScene (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class MKLookAroundSceneRequest : Foundation.NSObject {
// constructors
public MKLookAroundSceneRequest (CoreLocation.CLLocationCoordinate2D coordinate);
protected MKLookAroundSceneRequest (Foundation.NSObjectFlag t);
public MKLookAroundSceneRequest (MKMapItem mapItem);
protected MKLookAroundSceneRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CoreLocation.CLLocationCoordinate2D Coordinate { get; }
public virtual bool IsCancelled { get; }
public virtual bool IsLoading { get; }
public virtual MKMapItem MapItem { get; }
// methods
public virtual void Cancel ();
public virtual void GetScene (System.Action<MKLookAroundScene,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<MKLookAroundScene> GetSceneAsync ();
}
public class MKLookAroundSnapshot : Foundation.NSObject {
// constructors
protected MKLookAroundSnapshot (Foundation.NSObjectFlag t);
protected MKLookAroundSnapshot (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AppKit.NSImage Image { get; }
}
public class MKLookAroundSnapshotOptions : Foundation.NSObject {
// constructors
public MKLookAroundSnapshotOptions ();
protected MKLookAroundSnapshotOptions (Foundation.NSObjectFlag t);
protected MKLookAroundSnapshotOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MKPointOfInterestFilter PointOfInterestFilter { get; set; }
public virtual CoreGraphics.CGSize Size { get; set; }
}
public class MKLookAroundSnapshotter : Foundation.NSObject {
// constructors
protected MKLookAroundSnapshotter (Foundation.NSObjectFlag t);
protected MKLookAroundSnapshotter (IntPtr handle);
public MKLookAroundSnapshotter (MKLookAroundScene scene, MKLookAroundSnapshotOptions options);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool IsLoading { get; }
// methods
public virtual void Cancel ();
public virtual void GetSnapshot (System.Action<MKLookAroundSnapshot,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<MKLookAroundSnapshot> GetSnapshotAsync ();
}
public class MKLookAroundViewController : AppKit.NSViewController, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MKLookAroundViewController ();
public MKLookAroundViewController (Foundation.NSCoder coder);
protected MKLookAroundViewController (Foundation.NSObjectFlag t);
public MKLookAroundViewController (MKLookAroundScene scene);
protected MKLookAroundViewController (IntPtr handle);
public MKLookAroundViewController (string nibName, Foundation.NSBundle nibBundle);
// properties
public virtual MKLookAroundBadgePosition BadgePosition { get; set; }
public override IntPtr ClassHandle { get; }
public IMKLookAroundViewControllerDelegate Delegate { get; set; }
public virtual bool NavigationEnabled { get; set; }
public virtual MKPointOfInterestFilter PointOfInterestFilter { get; set; }
public virtual MKLookAroundScene Scene { get; set; }
public virtual bool ShowsRoadLabels { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class MKLookAroundViewControllerDelegate : Foundation.NSObject, IMKLookAroundViewControllerDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MKLookAroundViewControllerDelegate ();
protected MKLookAroundViewControllerDelegate (Foundation.NSObjectFlag t);
protected MKLookAroundViewControllerDelegate (IntPtr handle);
// methods
public virtual void DidDismissFullScreen (MKLookAroundViewController viewController);
public virtual void DidPresentFullScreen (MKLookAroundViewController viewController);
public virtual void DidUpdateScene (MKLookAroundViewController viewController);
public virtual void WillDismissFullScreen (MKLookAroundViewController viewController);
public virtual void WillPresentFullScreen (MKLookAroundViewController viewController);
public virtual void WillUpdateScene (MKLookAroundViewController viewController);
}
public static class MKLookAroundViewControllerDelegate_Extensions {
// methods
public static void DidDismissFullScreen (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
public static void DidPresentFullScreen (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
public static void DidUpdateScene (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
public static void WillDismissFullScreen (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
public static void WillPresentFullScreen (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
public static void WillUpdateScene (this IMKLookAroundViewControllerDelegate This, MKLookAroundViewController viewController);
}
public class MKMapConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public MKMapConfiguration (Foundation.NSCoder coder);
protected MKMapConfiguration (Foundation.NSObjectFlag t);
protected MKMapConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MKMapElevationStyle ElevationStyle { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum MKMapElevationStyle {
Flat = 0,
Realistic = 1,
}
public class MKStandardMapConfiguration : MapKit.MKMapConfiguration {
// constructors
public MKStandardMapConfiguration ();
public MKStandardMapConfiguration (Foundation.NSCoder coder);
protected MKStandardMapConfiguration (Foundation.NSObjectFlag t);
public MKStandardMapConfiguration (MKMapElevationStyle elevationStyle);
public MKStandardMapConfiguration (MKStandardMapEmphasisStyle emphasisStyle);
protected MKStandardMapConfiguration (IntPtr handle);
public MKStandardMapConfiguration (MKMapElevationStyle elevationStyle, MKStandardMapEmphasisStyle emphasisStyle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MKStandardMapEmphasisStyle EmphasisStyle { get; set; }
public virtual MKPointOfInterestFilter PointOfInterestFilter { get; set; }
public virtual bool ShowsTraffic { get; set; }
}
[Serializable]
public enum MKStandardMapEmphasisStyle {
Default = 0,
Muted = 1,
}
Added properties:
public static Foundation.NSString PropertyAdTimeRanges { get; }
public static Foundation.NSString PropertyCreditsStartTime { get; }
Added interfaces:
Foundation.INSCopying
ObjCRuntime.INativeObject
System.IDisposable
Added method:
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
Added value:
Kazakh = 58,
Added constructor:
public NWAdvertiseDescriptor (string applicationServiceName);
Added property:
public string ApplicationServiceName { get; }
Added property:
public string ApplicationServiceName { get; }
Added method:
public static NWBrowserDescriptor CreateApplicationServiceName (string applicationServiceName);
Obsoleted methods:
[Obsolete ("Use the 'GetPathRadioType' property instead.")]
public NWInterfaceRadioType get_path_radio_type (uint pathIndex);
Added method:
public NWInterfaceRadioType GetPathRadioType (uint pathIndex);
Added properties:
public System.ReadOnlySpan<byte> Signature { get; }
public NWTxtRecord TxtRecord { get; }
Added value:
Url = 4,
Added constructor:
public NWEthernetChannel (ushort ethernetType, NWInterface networkInterface, NWParameters parameters);
Added property:
public uint MaximumPayloadSize { get; }
Added property:
public NSProtocolFramerOptions ProtocolOptions { get; }
Added property:
public bool RequiresDnssecValidation { get; set; }
Added method:
public static NWParameters CreateApplicationService ();
Obsoleted methods:
[Obsolete ("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")]
public void EnumerateGateways (System.Action<NWEndpoint> callback);
[Obsolete ("Use the overload that takes a 'Func<NWInterface, bool>' instead.")]
public void EnumerateInterfaces (System.Action<NWInterface> callback);
Added methods:
public void EnumerateGateways (System.Func<NWEndpoint,System.Boolean> callback);
public void EnumerateInterfaces (System.Func<NWInterface,System.Boolean> callback);
Added method:
public static NWPathMonitor CreateForEthernetChannel ();
Added properties:
public ushort DatagramFrameSize { get; set; }
public bool StreamIsDatagram { get; set; }
public NWQuicStreamType StreamType { get; }
public ushort StreamUsableDatagramFrameSize { get; }
public class NSProtocolFramerOptions : Network.NWProtocolOptions {
// methods
public T GetValue<T> (string key);
public void SetValue<T> (string key, T value);
}
[Serializable]
public enum NWQuicStreamType {
Bidirectional = 1,
Unidirectional = 2,
Unknown = 0,
}
Added property:
public virtual Foundation.NSData IdentityReference { get; set; }
Added property:
public virtual Foundation.NSData IdentityReference { get; set; }
Added property:
public virtual Foundation.NSData SourceProcessAuditToken { get; }
Added property:
public virtual string Router { get; set; }
Added methods:
public virtual void FetchLastDisconnectError (System.Action<Foundation.NSError> handler);
public virtual System.Threading.Tasks.Task FetchLastDisconnectErrorAsync ();
public class NEEthernetTunnelNetworkSettings : NetworkExtension.NEPacketTunnelNetworkSettings {
// constructors
public NEEthernetTunnelNetworkSettings ();
public NEEthernetTunnelNetworkSettings (Foundation.NSCoder coder);
protected NEEthernetTunnelNetworkSettings (Foundation.NSObjectFlag t);
protected NEEthernetTunnelNetworkSettings (IntPtr handle);
public NEEthernetTunnelNetworkSettings (string address, string ethernetAddress, nint mtu);
// properties
public override IntPtr ClassHandle { get; }
public virtual string EthernetAddress { get; }
}
public class NEEthernetTunnelProvider : NetworkExtension.NEPacketTunnelProvider {
// constructors
protected NEEthernetTunnelProvider (Foundation.NSObjectFlag t);
protected NEEthernetTunnelProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum NEVpnConnectionError {
AuthenticationFailed = 8,
ClientCertificateExpired = 11,
ClientCertificateInvalid = 9,
ClientCertificateNotYetValid = 10,
ConfigurationFailed = 4,
ConfigurationNotFound = 13,
NegotiationFailed = 15,
NoNetworkAvailable = 2,
Overslept = 1,
PluginDisabled = 14,
PluginFailed = 12,
ServerAddressResolutionFailed = 5,
ServerCertificateExpired = 19,
ServerCertificateInvalid = 17,
ServerCertificateNotYetValid = 18,
ServerDead = 7,
ServerDisconnected = 16,
ServerNotResponding = 6,
UnrecoverableNetworkChange = 3,
}
public static class NEVpnConnectionErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this NEVpnConnectionError self);
}
Modified fields:
-public const string SdkVersion = "12.3";
+public const string SdkVersion = "13.0";
-public const string Version = "8.12.0";
+public const string Version = "9.0.0";
Added fields:
public static const string AVRoutingLibrary = "/System/Library/Frameworks/AVRouting.framework/AVRouting";
public static const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
public static const string ExtensionKitLibrary = "/System/Library/Frameworks/ExtensionKit.framework/ExtensionKit";
public static const string HealthKitLibrary = "/System/Library/Frameworks/HealthKit.framework/HealthKit";
public static const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
public static const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
public static const string ThreadNetworkLibrary = "/System/Library/Frameworks/ThreadNetwork.framework/ThreadNetwork";
Added properties:
public virtual string ManufacturerIdentifier { get; set; }
public virtual string ProvisioningTemplateIdentifier { get; set; }
Added value:
OSVersionNotSupportedError = 6,
Added methods:
public static void GetConfiguration (PKShareablePassMetadata[] passMetadata, PKAddShareablePassConfigurationPrimaryAction action, System.Action<PKAddShareablePassConfiguration,Foundation.NSError> completion);
public static System.Threading.Tasks.Task<PKAddShareablePassConfiguration> GetConfigurationAsync (PKShareablePassMetadata[] passMetadata, PKAddShareablePassConfigurationPrimaryAction action);
Added methods:
public virtual void GetEncryptedServiceProviderData (PKSecureElementPass secureElementPass, System.Action<Foundation.NSDictionary,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSDictionary> GetEncryptedServiceProviderDataAsync (PKSecureElementPass secureElementPass);
Added property:
public virtual PKPaymentOrderDetails OrderDetails { get; set; }
Added properties:
public static Foundation.NSString Bancomat { get; }
public static Foundation.NSString Bancontact { get; }
Added properties:
public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; }
public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; }
public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; }
Added properties:
public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; }
public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; }
public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; }
Added properties:
public virtual PKAutomaticReloadPaymentRequest AutomaticReloadPaymentRequest { get; set; }
public virtual PKPaymentTokenContext[] MultiTokenContexts { get; set; }
public virtual PKRecurringPaymentRequest RecurringPaymentRequest { get; set; }
Added constructors:
public PKShareablePassMetadata (string credentialIdentifier, string sharingInstanceIdentifier, string templateIdentifier, PKShareablePassMetadataPreview preview);
public PKShareablePassMetadata (string credentialIdentifier, string sharingInstanceIdentifier, string templateIdentifier, PKShareablePassMetadataPreview preview, PKShareablePassMetadata.CardType cardType);
Modified properties:
-public virtual string AccountHash { get; set; }
+public virtual string AccountHash { get; }
-public virtual string RelyingPartyIdentifier { get; set; }
+public virtual string RelyingPartyIdentifier { get; }
-public virtual bool RequiresUnifiedAccessCapableDevice { get; set; }
+public virtual bool RequiresUnifiedAccessCapableDevice { get; }
Added properties:
public virtual string CardTemplateIdentifier { get; }
public virtual PKShareablePassMetadataPreview Preview { get; }
public virtual string ServerEnvironmentIdentifier { get; set; }
public interface IPKVehicleConnectionDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void SessionDidChangeConnectionState (PKVehicleConnectionSessionConnectionState newState);
public virtual void SessionDidReceiveData (Foundation.NSData data);
}
public class PKAutomaticReloadPaymentRequest : Foundation.NSObject {
// constructors
protected PKAutomaticReloadPaymentRequest (Foundation.NSObjectFlag t);
protected PKAutomaticReloadPaymentRequest (IntPtr handle);
public PKAutomaticReloadPaymentRequest (string paymentDescription, PKAutomaticReloadPaymentSummaryItem automaticReloadBilling, Foundation.NSUrl managementUrl);
// properties
public virtual PKAutomaticReloadPaymentSummaryItem AutomaticReloadBilling { get; set; }
public virtual string BillingAgreement { get; set; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl ManagementUrl { get; set; }
public virtual string PaymentDescription { get; set; }
public virtual Foundation.NSUrl TokenNotificationUrl { get; set; }
}
public class PKAutomaticReloadPaymentSummaryItem : PassKit.PKPaymentSummaryItem {
// constructors
public PKAutomaticReloadPaymentSummaryItem ();
protected PKAutomaticReloadPaymentSummaryItem (Foundation.NSObjectFlag t);
protected PKAutomaticReloadPaymentSummaryItem (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDecimalNumber ThresholdAmount { get; set; }
}
public class PKPaymentOrderDetails : Foundation.NSObject {
// constructors
protected PKPaymentOrderDetails (Foundation.NSObjectFlag t);
protected PKPaymentOrderDetails (IntPtr handle);
public PKPaymentOrderDetails (string orderTypeIdentifier, string orderIdentifier, Foundation.NSUrl webServiceUrl, string authenticationToken);
// properties
public virtual string AuthenticationToken { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string OrderIdentifier { get; set; }
public virtual string OrderTypeIdentifier { get; set; }
public virtual Foundation.NSUrl WebServiceUrl { get; set; }
}
public class PKPaymentTokenContext : Foundation.NSObject {
// constructors
protected PKPaymentTokenContext (Foundation.NSObjectFlag t);
protected PKPaymentTokenContext (IntPtr handle);
public PKPaymentTokenContext (string merchantIdentifier, string externalIdentifier, string merchantName, string merchantDomain, Foundation.NSDecimalNumber amount);
// properties
public virtual Foundation.NSDecimalNumber Amount { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string ExternalIdentifier { get; set; }
public virtual string MerchantDomain { get; set; }
public virtual string MerchantIdentifier { get; set; }
public virtual string MerchantName { get; set; }
}
public class PKRecurringPaymentRequest : Foundation.NSObject {
// constructors
protected PKRecurringPaymentRequest (Foundation.NSObjectFlag t);
protected PKRecurringPaymentRequest (IntPtr handle);
public PKRecurringPaymentRequest (string paymentDescription, PKRecurringPaymentSummaryItem regularBilling, Foundation.NSUrl managementUrl);
// properties
public virtual string BillingAgreement { get; set; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl ManagementUrl { get; set; }
public virtual string PaymentDescription { get; set; }
public virtual PKRecurringPaymentSummaryItem RegularBilling { get; set; }
public virtual Foundation.NSUrl TokenNotificationUrl { get; set; }
public virtual PKRecurringPaymentSummaryItem TrialBilling { get; set; }
}
[Serializable]
public enum PKShareSecureElementPassErrorCode {
SetupError = 1,
UnknownError = 0,
}
public static class PKShareSecureElementPassErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this PKShareSecureElementPassErrorCode self);
}
public class PKShareablePassMetadataPreview : Foundation.NSObject {
// constructors
protected PKShareablePassMetadataPreview (Foundation.NSObjectFlag t);
protected PKShareablePassMetadataPreview (IntPtr handle);
public PKShareablePassMetadataPreview (string templateIdentifier);
public PKShareablePassMetadataPreview (CoreGraphics.CGImage passThumbnail, string description);
// properties
public override IntPtr ClassHandle { get; }
public virtual string LocalizedDescription { get; }
public virtual string OwnerDisplayName { get; set; }
public virtual CoreGraphics.CGImage PassThumbnailImage { get; }
public virtual string ProvisioningTemplateIdentifier { get; }
// methods
public static PKShareablePassMetadataPreview PreviewWithPassThumbnail (CoreGraphics.CGImage passThumbnail, string description);
public static PKShareablePassMetadataPreview PreviewWithTemplateIdentifier (string templateIdentifier);
}
public abstract class PKVehicleConnectionDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, IPKVehicleConnectionDelegate, System.IDisposable {
// constructors
protected PKVehicleConnectionDelegate ();
protected PKVehicleConnectionDelegate (Foundation.NSObjectFlag t);
protected PKVehicleConnectionDelegate (IntPtr handle);
// methods
public virtual void SessionDidChangeConnectionState (PKVehicleConnectionSessionConnectionState newState);
public virtual void SessionDidReceiveData (Foundation.NSData data);
}
[Serializable]
public enum PKVehicleConnectionErrorCode {
SessionNotActive = 2,
SessionUnableToStart = 1,
Unknown = 0,
}
public class PKVehicleConnectionSession : Foundation.NSObject {
// constructors
protected PKVehicleConnectionSession (Foundation.NSObjectFlag t);
protected PKVehicleConnectionSession (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PKVehicleConnectionSessionConnectionState ConnectionStatus { get; }
public IPKVehicleConnectionDelegate Delegate { get; }
public virtual Foundation.NSObject WeakDelegate { get; }
// methods
protected override void Dispose (bool disposing);
public static void GetSession (PKSecureElementPass pass, IPKVehicleConnectionDelegate delegate, System.Action<PKVehicleConnectionSession,Foundation.NSError> completion);
public static System.Threading.Tasks.Task<PKVehicleConnectionSession> GetSessionAsync (PKSecureElementPass pass, IPKVehicleConnectionDelegate delegate);
public virtual void Invalidate ();
public virtual bool SendData (Foundation.NSData message, out Foundation.NSError error);
}
[Serializable]
public enum PKVehicleConnectionSessionConnectionState {
Connected = 1,
Connecting = 2,
Disconnected = 0,
FailedToConnect = 3,
}
Added constructors:
public PdfPage (AppKit.NSImage image, Foundation.NSDictionary options);
public PdfPage (AppKit.NSImage image, PdfPageImageInitializationOption options);
Added properties:
public virtual bool InMarkupMode { get; set; }
public virtual IPdfPageOverlayViewProvider PageOverlayViewProvider { get; set; }
public interface IPdfPageOverlayViewProvider : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual AppKit.NSView GetOverlayView (PdfView view, PdfPage page);
}
public class PdfPageImageInitializationOption : Foundation.DictionaryContainer {
// constructors
public PdfPageImageInitializationOption ();
public PdfPageImageInitializationOption (Foundation.NSDictionary dictionary);
// properties
public double? CompressionQuality { get; set; }
public CoreGraphics.CGRect? MediaBox { get; set; }
public int? Rotation { get; set; }
public bool? UpscaleIfSmaller { get; set; }
}
public static class PdfPageImageInitializationOptionKeys {
// properties
public static Foundation.NSString CompressionQualityKey { get; }
public static Foundation.NSString MediaBoxKey { get; }
public static Foundation.NSString RotationKey { get; }
public static Foundation.NSString UpscaleIfSmallerKey { get; }
}
public static class PdfPageOverlayViewProvider_Extensions {
// methods
public static void WillDisplayOverlayView (this IPdfPageOverlayViewProvider This, PdfView pdfView, AppKit.NSView overlayView, PdfPage page);
public static void WillEndDisplayingOverlayView (this IPdfPageOverlayViewProvider This, PdfView pdfView, AppKit.NSView overlayView, PdfPage page);
}
Added constructor:
public PKStroke (PKInk ink, PKStrokePath strokePath, CoreGraphics.CGAffineTransform transform, AppKit.NSBezierPath mask, uint randomSeed);
Added property:
public virtual uint RandomSeed { get; }
Added values:
HoldStartValue = 1668434003,
JumpToEndValue = 1668434501,
Added value:
InvalidObject = 1346913634,
Added property:
public virtual bool HasAdjustments { get; }
Added value:
SmartAlbumCinematic = 218,
Added value:
VideoCinematic = 2097152,
Added properties:
public virtual nint PixelHeight { get; }
public virtual nint PixelWidth { get; }
Obsoleted properties:
[Obsolete ("Use the 'FirstObject' property instead.")]
public virtual Foundation.NSObject firstObject { get; }
Added property:
public virtual Foundation.NSObject FirstObject { get; }
Added property:
public virtual PHPersistentChangeToken CurrentChangeToken { get; }
Added method:
public virtual PHPersistentChangeFetchResult FetchPersistentChanges (PHPersistentChangeToken since, out Foundation.NSError error);
Added values:
NetworkError = 3169,
PersistentChangeDetailsUnavailable = 3210,
PersistentChangeTokenExpired = 3105,
[Serializable]
public enum PHObjectType {
Asset = 1,
AssetCollection = 2,
CollectionList = 3,
}
public class PHPersistentChange : Foundation.NSObject {
// constructors
protected PHPersistentChange (Foundation.NSObjectFlag t);
protected PHPersistentChange (IntPtr handle);
// properties
public virtual PHPersistentChangeToken ChangeToken { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual PHPersistentObjectChangeDetails GetChangeDetails (PHObjectType objectType, out Foundation.NSError error);
}
public class PHPersistentChangeFetchResult : Foundation.NSObject {
// constructors
protected PHPersistentChangeFetchResult (Foundation.NSObjectFlag t);
protected PHPersistentChangeFetchResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void EnumerateChanges (PHPersistentChangeFetchResultEnumerator block);
}
public sealed delegate PHPersistentChangeFetchResultEnumerator : System.MulticastDelegate {
// constructors
public PHPersistentChangeFetchResultEnumerator (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (PHPersistentChange change, ref bool stop, System.AsyncCallback callback, object object);
public virtual void EndInvoke (ref bool stop, System.IAsyncResult result);
public virtual void Invoke (PHPersistentChange change, ref bool stop);
}
public class PHPersistentChangeToken : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public PHPersistentChangeToken (Foundation.NSCoder coder);
protected PHPersistentChangeToken (Foundation.NSObjectFlag t);
protected PHPersistentChangeToken (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class PHPersistentObjectChangeDetails : Foundation.NSObject {
// constructors
protected PHPersistentObjectChangeDetails (Foundation.NSObjectFlag t);
protected PHPersistentObjectChangeDetails (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<Foundation.NSString> DeletedLocalIdentifiers { get; }
public virtual Foundation.NSSet<Foundation.NSString> InsertedLocalIdentifiers { get; }
public virtual PHObjectType ObjectType { get; }
public virtual Foundation.NSSet<Foundation.NSString> UpdatedLocalIdentifiers { get; }
}
public interface IPHPickerViewControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidFinishPicking (PHPickerViewController picker, PHPickerResult[] results);
}
public class PHPickerConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public PHPickerConfiguration ();
protected PHPickerConfiguration (Foundation.NSObjectFlag t);
public PHPickerConfiguration (Photos.PHPhotoLibrary photoLibrary);
protected PHPickerConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PHPickerFilter Filter { get; set; }
public virtual PHPickerConfigurationAssetRepresentationMode PreferredAssetRepresentationMode { get; set; }
public virtual string[] PreselectedAssetIdentifiers { get; set; }
public virtual PHPickerConfigurationSelection Selection { get; set; }
public virtual nint SelectionLimit { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
[Serializable]
public enum PHPickerConfigurationAssetRepresentationMode {
Automatic = 0,
Compatible = 2,
Current = 1,
}
[Serializable]
public enum PHPickerConfigurationSelection {
Default = 0,
Ordered = 1,
}
public class PHPickerFilter : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected PHPickerFilter (Foundation.NSObjectFlag t);
protected PHPickerFilter (IntPtr handle);
// properties
public static PHPickerFilter BurstsFilter { get; }
public static PHPickerFilter CinematicVideosFilter { get; }
public override IntPtr ClassHandle { get; }
public static PHPickerFilter DepthEffectPhotosFilter { get; }
public static PHPickerFilter ImagesFilter { get; }
public static PHPickerFilter LivePhotosFilter { get; }
public static PHPickerFilter PanoramasFilter { get; }
public static PHPickerFilter ScreenRecordingsFilter { get; }
public static PHPickerFilter ScreenshotsFilter { get; }
public static PHPickerFilter SlomoVideosFilter { get; }
public static PHPickerFilter TimelapseVideosFilter { get; }
public static PHPickerFilter VideosFilter { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static PHPickerFilter GetAllFilterMatchingSubfilters (PHPickerFilter[] subfilters);
public static PHPickerFilter GetAnyFilterMatchingSubfilters (PHPickerFilter[] subfilters);
public static PHPickerFilter GetNotFilterOfSubfilter (PHPickerFilter subfilter);
public static PHPickerFilter GetPlaybackStyleFilter (Photos.PHAssetPlaybackStyle playbackStyle);
}
public class PHPickerResult : Foundation.NSObject {
// constructors
protected PHPickerResult (Foundation.NSObjectFlag t);
protected PHPickerResult (IntPtr handle);
// properties
public virtual string AssetIdentifier { get; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSItemProvider ItemProvider { get; }
}
public class PHPickerViewController : AppKit.NSViewController {
// constructors
public PHPickerViewController (Foundation.NSCoder coder);
protected PHPickerViewController (Foundation.NSObjectFlag t);
public PHPickerViewController (PHPickerConfiguration configuration);
protected PHPickerViewController (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PHPickerConfiguration Configuration { get; }
public IPHPickerViewControllerDelegate Delegate { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual void DeselectAssets (string[] identifiers);
protected override void Dispose (bool disposing);
public virtual void MoveAsset (string identifier, string afterIdentifier);
}
public abstract class PHPickerViewControllerDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, IPHPickerViewControllerDelegate, System.IDisposable {
// constructors
protected PHPickerViewControllerDelegate ();
protected PHPickerViewControllerDelegate (Foundation.NSObjectFlag t);
protected PHPickerViewControllerDelegate (IntPtr handle);
// methods
public virtual void DidFinishPicking (PHPickerViewController picker, PHPickerResult[] results);
}
Obsoleted properties:
[Obsolete ("Use 'SearchModeKey' instead.")]
public static Foundation.NSString OptionSearchModeKey { get; }
Added property:
public virtual CoreMedia.CMClock SynchronizationClock { get; }
Added properties:
public virtual bool CapturesAudio { get; set; }
public virtual nint ChannelCount { get; set; }
public virtual bool ExcludesCurrentProcessAudio { get; set; }
public virtual nint SampleRate { get; set; }
Added values:
FailedToStartAudioCapture = -3818,
FailedToStopAudioCapture = -3819,
UserStopped = -3817,
Added value:
Audio = 1,
Added value:
InternalError = 500,
Added properties:
public virtual SHRange[] FrequencySkewRanges { get; }
public virtual SHRange[] TimeRanges { get; }
Added values:
FrequencySkewRanges = 15,
TimeRanges = 14,
Added methods:
public static void GenerateSignature (AVFoundation.AVAsset asset, System.Action<SHSignature,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<SHSignature> GenerateSignatureAsync (AVFoundation.AVAsset asset);
public class SHRange : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SHRange (Foundation.NSCoder coder);
protected SHRange (Foundation.NSObjectFlag t);
protected SHRange (IntPtr handle);
public SHRange (double lowerBound, double upperBound);
// properties
public override IntPtr ClassHandle { get; }
public virtual double LowerBound { get; }
public virtual double UpperBound { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static SHRange CreateRange (double lowerBound, double upperBound);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
Added property:
public virtual bool AddsPunctuation { get; set; }
Added properties:
public static UTType SHCustomCatalogContentType { get; }
public static UTType SHSignatureContentType { get; }
Added value:
BadgeInputInvalid = 1600,
Added property:
public virtual string FilterCriteria { get; set; }
Added property:
public virtual string FilterCriteria { get; }
Obsoleted fields:
[Obsolete ("Use 'Active2'.")]
Active = 0,
[Obsolete ("Use 'Critical2'.")]
Critical = 1,
[Obsolete ("Use 'Passive2'.")]
Passive = 2,
[Obsolete ("Use 'TimeSensitive2'.")]
TimeSensitive = 3,
Added values:
Active2 = 1,
Critical2 = 3,
Passive2 = 0,
TimeSensitive2 = 2,
Added methods:
public virtual void SetBadgeCount (nint newBadgeCount, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SetBadgeCountAsync (nint newBadgeCount);
[Serializable]
public enum VSOriginatingDeviceCategory {
Mobile = 0,
Other = 1,
}
public class VSUserAccount : Foundation.NSObject {
// constructors
protected VSUserAccount (Foundation.NSObjectFlag t);
protected VSUserAccount (IntPtr handle);
public VSUserAccount (VSUserAccountType accountType, Foundation.NSUrl url);
// properties
public virtual string AccountProviderIdentifier { get; set; }
public virtual VSUserAccountType AccountType { get; set; }
public virtual string AuthenticationData { get; set; }
public virtual string BillingIdentifier { get; set; }
public override IntPtr ClassHandle { get; }
public virtual bool Deleted { get; set; }
public virtual VSOriginatingDeviceCategory DeviceCategory { get; }
public virtual bool FromCurrentDevice { get; }
public virtual string Identifier { get; set; }
public virtual bool RequiresSystemTrust { get; set; }
public virtual Foundation.NSDate SubscriptionBillingCycleEndDate { get; set; }
public virtual string[] TierIdentifiers { get; set; }
public virtual Foundation.NSUrl UpdateUrl { get; set; }
}
public class VSUserAccountManager : Foundation.NSObject {
// constructors
protected VSUserAccountManager (Foundation.NSObjectFlag t);
protected VSUserAccountManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static VSUserAccountManager SharedUserAccountManager { get; }
// methods
public virtual void QueryUserAccounts (VSUserAccountQueryOptions options, System.Action<Foundation.NSArray<VSUserAccount>> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSArray<VSUserAccount>> QueryUserAccountsAsync (VSUserAccountQueryOptions options);
public virtual void UpdateUserAccount (VSUserAccount account, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task UpdateUserAccountAsync (VSUserAccount account);
}
[Serializable]
public enum VSUserAccountQueryOption {
AllDevices = 1,
None = 0,
}
[Serializable]
[Flags]
public enum VSUserAccountQueryOptions {
AllDevices = 1,
None = 0,
}
[Serializable]
public enum VSUserAccountType {
Free = 0,
Paid = 1,
}
Added properties:
public float? BaseLayerBitRateFraction { get; set; }
public long? ConstantBitRate { get; set; }
public bool? EnableLowLatencyRateControl { get; set; }
public bool? EnableLtr { get; set; }
public long? EstimatedAverageBytesPerFrame { get; }
public uint? MaxAllowedFrameQP { get; set; }
public uint? MinAllowedFrameQP { get; }
public bool? OutputBitDepth { get; set; }
public bool? PreserveAlphaChannel { get; set; }
public long? ReferenceBufferCount { get; }
public bool? SupportsBaseFrameQP { get; }
Added properties:
public static Foundation.NSString ConstantBitRate { get; }
public static Foundation.NSString EstimatedAverageBytesPerFrame { get; }
public static Foundation.NSString MinAllowedFrameQP { get; }
public static Foundation.NSString PreserveAlphaChannel { get; }
public static Foundation.NSString ReferenceBufferCount { get; }
Obsoleted fields:
[Obsolete ("Use PixelRotationNotSupported enum value instead.")]
ImageRotationNotSupported = -12914,
Added values:
PixelRotationNotSupported = -12914,
VideoDecoderCallbackMessaging = -17695,
VideoDecoderReferenceMissing = -17694,
VideoDecoderUnknownErr = -17696,
public class VTPixelRotationProperties : Foundation.DictionaryContainer {
// constructors
public VTPixelRotationProperties ();
public VTPixelRotationProperties (Foundation.NSDictionary dictionary);
// properties
public bool? FlipHorizontalOrientation { get; set; }
public bool? FlipVerticalOrientation { get; set; }
public VTRotation Rotation { get; set; }
}
public static class VTPixelRotationPropertyKeys {
// properties
public static Foundation.NSString FlipHorizontalOrientation { get; }
public static Foundation.NSString FlipVerticalOrientation { get; }
public static Foundation.NSString Rotation { get; }
}
public class VTPixelRotationSession : VideoToolbox.VTSession {
// constructors
protected VTPixelRotationSession (IntPtr handle);
// methods
public static VTPixelRotationSession Create ();
public static VTPixelRotationSession Create (CoreFoundation.CFAllocator allocator);
protected override void Dispose (bool disposing);
public static nint GetTypeID ();
public VTStatus RotateImage (CoreVideo.CVPixelBuffer sourceBuffer, CoreVideo.CVPixelBuffer destinationBuffer);
public VTStatus SetRotationProperties (VTPixelRotationProperties options);
}
public class VTPixelTransferSession : VideoToolbox.VTSession {
// constructors
protected VTPixelTransferSession (IntPtr handle);
// methods
public static VTPixelTransferSession Create ();
public static VTPixelTransferSession Create (CoreFoundation.CFAllocator allocator);
protected override void Dispose (bool disposing);
public static nint GetTypeID ();
public VTStatus SetTransferProperties (VTPixelTransferProperties options);
public VTStatus TransferImage (CoreVideo.CVPixelBuffer sourceBuffer, CoreVideo.CVPixelBuffer destinationBuffer);
}
public static class VTProfessionalVideoWorkflow {
// methods
public static void RegisterVideoDecoders ();
public static void RegisterVideoEncoders ();
}
[Serializable]
public enum VTRotation {
ClockwiseNinety = 1,
CounterclockwiseNinety = 3,
OneHundredAndEighty = 2,
Zero = 0,
}
public static class VTRotationExtensions {
// methods
public static Foundation.NSString GetConstant (this VTRotation self);
public static VTRotation GetValue (Foundation.NSString constant);
}
Added values:
Timeout = 20,
TuriCore = -1,
Added property:
public virtual VNPointsClassification PointsClassification { get; }
Added property:
public virtual bool KeepNetworkOutput { get; set; }
Added method:
public virtual CoreGraphics.CGAffineTransform CreateTransform (nuint width, nuint height);
Added values:
ScaleFillRotate90Ccw = 258,
ScaleFitRotate90Ccw = 257,
Added property:
public virtual bool AutomaticallyDetectsLanguage { get; set; }
[Serializable]
public enum VNPointsClassification {
ClosedPath = 2,
Disconnected = 0,
OpenPath = 1,
}
Obsoleted properties:
[Obsolete ("Use the 'Anchors' property instead.")]
public virtual DomHtmlCollection anchors { get; }
[Obsolete ("Use the 'Applets' property instead.")]
public virtual DomHtmlCollection applets { get; }
[Obsolete ("Use the 'Body' property instead.")]
public virtual DomHtmlElement body { get; set; }
[Obsolete ("Use the 'Forms' property instead.")]
public virtual DomHtmlCollection forms { get; }
[Obsolete ("Use the 'Images' property instead.")]
public virtual DomHtmlCollection images { get; }
[Obsolete ("Use the 'Links' property instead.")]
public virtual DomHtmlCollection links { get; }
Added properties:
public virtual DomHtmlCollection Anchors { get; }
public virtual DomHtmlCollection Applets { get; }
public virtual DomHtmlElement Body { get; set; }
public virtual DomHtmlCollection Forms { get; }
public virtual DomHtmlCollection Images { get; }
public virtual DomHtmlCollection Links { get; }
Obsoleted properties:
[Obsolete ("Use the 'DefaultChecked' property instead.")]
public virtual bool defaultChecked { get; set; }
Added property:
public virtual bool DefaultChecked { get; set; }
Added values:
CredentialNotFound = 17,
DuplicateCredential = 15,
MalformedCredential = 16,
Added properties:
public virtual AppKit.NSEdgeInsets MaximumViewportInset { get; }
public virtual AppKit.NSEdgeInsets MinimumViewportInset { get; }
Added method:
public virtual void SetViewportInsets (AppKit.NSEdgeInsets minimumViewportInset, AppKit.NSEdgeInsets maximumViewportInset);
Added property:
public virtual bool LockdownModeEnabled { get; set; }
Added property:
public static Foundation.NSString FileSystem { get; }
[Serializable]
public enum WKDialogResult {
AskAgain = 2,
Handled = 3,
ShowDefault = 1,
}
public static class ITLibraryNotifications {
// properties
public static Foundation.NSString DidChangeNotification { get; }
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
[Serializable]
public enum AVCustomRoutingEventReason {
Activate = 0,
Deactivate = 1,
Reactivate = 2,
}
public class BAAppExtensionInfo : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BAAppExtensionInfo (Foundation.NSCoder coder);
protected BAAppExtensionInfo (Foundation.NSObjectFlag t);
protected BAAppExtensionInfo (IntPtr handle);
// properties
[Obsolete ("This property has been removed. It will always return string.Empty.")]
public virtual string ApplicationIdentifier { get; }
public override IntPtr ClassHandle { get; }
[Obsolete ("This property has been removed. It will always return NSDate.Now.")]
public virtual Foundation.NSDate LastApplicationLaunchTime { get; }
[Obsolete ("This property has been removed. It will always return NSDate.Now.")]
public virtual Foundation.NSDate LastPeriodicCheckTime { get; }
public virtual Foundation.NSNumber RestrictedDownloadSizeRemaining { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum BAContentRequest {
Install = 1,
Periodic = 3,
Update = 2,
}
public class BADownload : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BADownload (Foundation.NSCoder coder);
protected BADownload (Foundation.NSObjectFlag t);
protected BADownload (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
[Obsolete ("This property has been removed. It will always return null.")]
public virtual Foundation.NSError Error { get; }
public virtual string Identifier { get; }
public virtual nint Priority { get; }
public virtual BADownloadState State { get; }
public virtual string UniqueIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class BADownloadManager : Foundation.NSObject {
// constructors
protected BADownloadManager (Foundation.NSObjectFlag t);
protected BADownloadManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public IBADownloadManagerDelegate Delegate { get; set; }
public static BADownloadManager SharedManager { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual bool CancelDownload (BADownload download, out Foundation.NSError error);
protected override void Dispose (bool disposing);
public virtual void FetchCurrentDownloads (System.Action<Foundation.NSArray<BADownload>> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSArray<BADownload>> FetchCurrentDownloadsAsync ();
public virtual void PerformWithExclusiveControl (System.Action<Foundation.NSError> performHandler);
[Obsolete ("This method has been removed. It will always execution the handler with false. Use PerformWithExclusiveControl (Action<bool, NSError>) instead.")]
public virtual void PerformWithExclusiveControl (Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> performHandler);
public virtual void PerformWithExclusiveControlBeforeDate (Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> performHandler);
public virtual bool ScheduleDownload (BADownload download, out Foundation.NSError outError);
public virtual bool StartForegroundDownload (BADownload download, out Foundation.NSError outError);
}
public class BADownloadManagerDelegate : Foundation.NSObject, IBADownloadManagerDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public BADownloadManagerDelegate ();
protected BADownloadManagerDelegate (Foundation.NSObjectFlag t);
protected BADownloadManagerDelegate (IntPtr handle);
// methods
public virtual void DidBegin (BADownload download);
public virtual void DidPause (BADownload download);
public virtual void DidReceiveChallenge (BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public virtual void DidWriteBytes (BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes);
public virtual void Failed (BADownload download, Foundation.NSError error);
public virtual void Finished (BADownload download, Foundation.NSUrl fileUrl);
}
public static class BADownloadManagerDelegate_Extensions {
// methods
public static void DidBegin (this IBADownloadManagerDelegate This, BADownload download);
public static void DidPause (this IBADownloadManagerDelegate This, BADownload download);
public static void DidReceiveChallenge (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public static void DidWriteBytes (this IBADownloadManagerDelegate This, BADownload download, long bytesWritten, long totalBytesWritten, long totalExpectedBytes);
public static void Failed (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSError error);
public static void Finished (this IBADownloadManagerDelegate This, BADownload download, Foundation.NSUrl fileUrl);
}
[Serializable]
public enum BADownloadState {
Created = 0,
Downloading = 2,
Failed = -1,
Finished = 3,
Waiting = 1,
}
public static class BADownloaderExtension_Extensions {
// methods
public static void DidReceiveChallenge (this IBADownloaderExtension This, BADownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public static void Failed (this IBADownloaderExtension This, BADownload download, Foundation.NSError error);
public static void Finished (this IBADownloaderExtension This, BADownload download, Foundation.NSUrl fileUrl);
public static Foundation.NSSet<BADownload> GetDownloads (this IBADownloaderExtension This, BAContentRequest contentRequest, Foundation.NSUrl manifestUrl, BAAppExtensionInfo extensionInfo);
public static void WillTerminate (this IBADownloaderExtension This);
}
public class BAUrlDownload : BackgroundAssets.BADownload {
// constructors
public BAUrlDownload (Foundation.NSCoder coder);
protected BAUrlDownload (Foundation.NSObjectFlag t);
protected BAUrlDownload (IntPtr handle);
public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier);
public BAUrlDownload (string identifier, Foundation.NSUrlRequest request, string applicationGroupIdentifier, nint priority);
// properties
public override IntPtr ClassHandle { get; }
public static nint DefaultPriority { get; }
public static nint MaxPriority { get; }
public static nint MinPriority { get; }
}
public interface IBADownloadManagerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
public interface IBADownloaderExtension : ObjCRuntime.INativeObject, System.IDisposable {
}
public class EXAppExtensionBrowserViewController : AppKit.NSViewController {
// constructors
public EXAppExtensionBrowserViewController ();
public EXAppExtensionBrowserViewController (Foundation.NSCoder coder);
protected EXAppExtensionBrowserViewController (Foundation.NSObjectFlag t);
protected EXAppExtensionBrowserViewController (IntPtr handle);
public EXAppExtensionBrowserViewController (string nibNameOrNull, Foundation.NSBundle nibBundleOrNull);
// properties
public override IntPtr ClassHandle { get; }
}
public class EXHostViewController : AppKit.NSViewController {
// constructors
public EXHostViewController ();
public EXHostViewController (Foundation.NSCoder coder);
protected EXHostViewController (Foundation.NSObjectFlag t);
protected EXHostViewController (IntPtr handle);
public EXHostViewController (string nibNameOrNull, Foundation.NSBundle nibBundleOrNull);
// properties
public override IntPtr ClassHandle { get; }
public IEXHostViewControllerDelegate Delegate { get; set; }
public virtual AppKit.NSView PlaceholderView { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual Foundation.NSXpcConnection MakeXpcConnection (out Foundation.NSError error);
}
public class EXHostViewControllerDelegate : Foundation.NSObject, IEXHostViewControllerDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public EXHostViewControllerDelegate ();
protected EXHostViewControllerDelegate (Foundation.NSObjectFlag t);
protected EXHostViewControllerDelegate (IntPtr handle);
// methods
public virtual void DidActivate (EXHostViewController viewController);
public virtual bool ShouldAcceptXpcConnection (Foundation.NSXpcConnection connection);
public virtual void WillDeactivate (EXHostViewController viewController, Foundation.NSError error);
}
public static class EXHostViewControllerDelegate_Extensions {
// methods
public static void DidActivate (this IEXHostViewControllerDelegate This, EXHostViewController viewController);
public static bool ShouldAcceptXpcConnection (this IEXHostViewControllerDelegate This, Foundation.NSXpcConnection connection);
public static void WillDeactivate (this IEXHostViewControllerDelegate This, EXHostViewController viewController, Foundation.NSError error);
}
public interface IEXHostViewControllerDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
[Serializable]
public enum HKActivityMoveMode {
ActiveEnergy = 1,
AppleMoveTime = 2,
}
public class HKActivityMoveModeObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKActivityMoveModeObject (Foundation.NSCoder coder);
protected HKActivityMoveModeObject (Foundation.NSObjectFlag t);
protected HKActivityMoveModeObject (IntPtr handle);
// properties
public virtual HKActivityMoveMode ActivityMoveMode { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKActivitySummary : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKActivitySummary ();
public HKActivitySummary (Foundation.NSCoder coder);
protected HKActivitySummary (Foundation.NSObjectFlag t);
protected HKActivitySummary (IntPtr handle);
// properties
public virtual HKQuantity ActiveEnergyBurned { get; set; }
public virtual HKQuantity ActiveEnergyBurnedGoal { get; set; }
public virtual HKActivityMoveMode ActivityMoveMode { get; set; }
public virtual HKQuantity AppleExerciseTime { get; set; }
public virtual HKQuantity AppleExerciseTimeGoal { get; set; }
public virtual HKQuantity AppleMoveTime { get; set; }
public virtual HKQuantity AppleMoveTimeGoal { get; set; }
public virtual HKQuantity AppleStandHours { get; set; }
public virtual HKQuantity AppleStandHoursGoal { get; set; }
public override IntPtr ClassHandle { get; }
public virtual HKQuantity ExerciseTimeGoal { get; set; }
public virtual HKQuantity StandHoursGoal { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual Foundation.NSDateComponents DateComponentsForCalendar (Foundation.NSCalendar calendar);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKActivitySummaryQuery : HealthKit.HKQuery {
// constructors
protected HKActivitySummaryQuery (Foundation.NSObjectFlag t);
protected HKActivitySummaryQuery (IntPtr handle);
public HKActivitySummaryQuery (Foundation.NSPredicate predicate, System.Action<HKActivitySummaryQuery,HealthKit.HKActivitySummary[],Foundation.NSError> handler);
// properties
public override IntPtr ClassHandle { get; }
public virtual System.Action<HKActivitySummaryQuery,HealthKit.HKActivitySummary[],Foundation.NSError> UpdateHandler { get; set; }
}
public class HKActivitySummaryType : HealthKit.HKObjectType {
// constructors
public HKActivitySummaryType (Foundation.NSCoder coder);
protected HKActivitySummaryType (Foundation.NSObjectFlag t);
protected HKActivitySummaryType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class HKAnchoredObjectQuery : HealthKit.HKQuery {
// constructors
protected HKAnchoredObjectQuery (Foundation.NSObjectFlag t);
protected HKAnchoredObjectQuery (IntPtr handle);
public HKAnchoredObjectQuery (HKQueryDescriptor[] queryDescriptors, HKQueryAnchor anchor, nint limit, HKAnchoredObjectUpdateHandler resultsHandler);
public HKAnchoredObjectQuery (HKSampleType type, Foundation.NSPredicate predicate, HKQueryAnchor anchor, nuint limit, HKAnchoredObjectUpdateHandler handler);
[Obsolete ("Use the overload that takes HKAnchoredObjectResultHandler2 instead")]
public HKAnchoredObjectQuery (HKSampleType type, Foundation.NSPredicate predicate, nuint anchor, nuint limit, HKAnchoredObjectResultHandler completion);
public HKAnchoredObjectQuery (HKSampleType type, Foundation.NSPredicate predicate, nuint anchor, nuint limit, HKAnchoredObjectResultHandler2 completion);
// fields
public static const uint NoAnchor;
// properties
public override IntPtr ClassHandle { get; }
public virtual HKAnchoredObjectUpdateHandler UpdateHandler { get; set; }
}
public sealed delegate HKAnchoredObjectResultHandler : System.MulticastDelegate {
// constructors
public HKAnchoredObjectResultHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKAnchoredObjectQuery query, HKSampleType[] results, nuint newAnchor, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKAnchoredObjectQuery query, HKSampleType[] results, nuint newAnchor, Foundation.NSError error);
}
public sealed delegate HKAnchoredObjectResultHandler2 : System.MulticastDelegate {
// constructors
public HKAnchoredObjectResultHandler2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKAnchoredObjectQuery query, HKSample[] results, nuint newAnchor, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKAnchoredObjectQuery query, HKSample[] results, nuint newAnchor, Foundation.NSError error);
}
public sealed delegate HKAnchoredObjectUpdateHandler : System.MulticastDelegate {
// constructors
public HKAnchoredObjectUpdateHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKAnchoredObjectQuery query, HKSample[] addedObjects, HKDeletedObject[] deletedObjects, HKQueryAnchor newAnchor, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKAnchoredObjectQuery query, HKSample[] addedObjects, HKDeletedObject[] deletedObjects, HKQueryAnchor newAnchor, Foundation.NSError error);
}
[Serializable]
public enum HKAppleEcgAlgorithmVersion {
Version1 = 1,
Version2 = 2,
}
public static class HKAppleWalkingSteadiness {
// methods
public static HKQuantity GetMaximumQuantity (HKAppleWalkingSteadinessClassification classification);
public static HKQuantity GetMinimumQuantity (HKAppleWalkingSteadinessClassification classification);
public static bool TryGetClassification (HKQuantity value, out HKAppleWalkingSteadinessClassification? classification, out Foundation.NSError error);
}
[Serializable]
public enum HKAppleWalkingSteadinessClassification {
Low = 2,
Ok = 1,
VeryLow = 3,
}
public class HKAttachment : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKAttachment (Foundation.NSCoder coder);
protected HKAttachment (Foundation.NSObjectFlag t);
protected HKAttachment (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual UniformTypeIdentifiers.UTType ContentType { get; }
public virtual Foundation.NSDate CreationDate { get; }
public virtual Foundation.NSUuid Identifier { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Metadata { get; }
public virtual string Name { get; }
public virtual nint Size { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKAttachmentStore : Foundation.NSObject {
// constructors
public HKAttachmentStore ();
protected HKAttachmentStore (Foundation.NSObjectFlag t);
public HKAttachmentStore (HKHealthStore healthStore);
protected HKAttachmentStore (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void AddAttachment (HKObject object, string name, UniformTypeIdentifiers.UTType contentType, Foundation.NSUrl URL, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, System.Action<HKAttachment,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<HKAttachment> AddAttachmentAsync (HKObject object, string name, UniformTypeIdentifiers.UTType contentType, Foundation.NSUrl URL, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
public virtual void GetAttachments (HKObject object, HKAttachmentStoreGetAttachmentCompletionHandler completion);
public virtual System.Threading.Tasks.Task<HKAttachment[]> GetAttachmentsAsync (HKObject object);
public virtual Foundation.NSProgress GetData (HKAttachment attachment, System.Action<Foundation.NSData,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSData> GetDataAsync (HKAttachment attachment);
public virtual System.Threading.Tasks.Task<Foundation.NSData> GetDataAsync (HKAttachment attachment, out Foundation.NSProgress result);
public virtual void RemoveAttachment (HKAttachment attachment, HKObject object, HKAttachmentStoreCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RemoveAttachmentAsync (HKAttachment attachment, HKObject object);
public virtual Foundation.NSProgress StreamData (HKAttachment attachment, HKAttachmentStoreDataHandler dataHandler);
}
public sealed delegate HKAttachmentStoreCompletionHandler : System.MulticastDelegate {
// constructors
public HKAttachmentStoreCompletionHandler (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);
}
public sealed delegate HKAttachmentStoreDataHandler : System.MulticastDelegate {
// constructors
public HKAttachmentStoreDataHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData dataChunk, Foundation.NSError error, bool done, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData dataChunk, Foundation.NSError error, bool done);
}
public sealed delegate HKAttachmentStoreGetAttachmentCompletionHandler : System.MulticastDelegate {
// constructors
public HKAttachmentStoreGetAttachmentCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKAttachment[] attachments, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKAttachment[] attachments, Foundation.NSError error);
}
public class HKAudiogramSample : HealthKit.HKSample {
// 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);
}
public class HKAudiogramSampleType : HealthKit.HKSampleType {
// constructors
public HKAudiogramSampleType (Foundation.NSCoder coder);
protected HKAudiogramSampleType (Foundation.NSObjectFlag t);
protected HKAudiogramSampleType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class HKAudiogramSensitivityPoint : 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);
}
[Serializable]
public enum HKAuthorizationRequestStatus {
ShouldRequest = 1,
Unknown = 0,
Unnecessary = 2,
}
[Serializable]
public enum HKAuthorizationStatus {
NotDetermined = 0,
SharingAuthorized = 2,
SharingDenied = 1,
}
[Serializable]
public enum HKBiologicalSex {
Female = 1,
Male = 2,
NotSet = 0,
Other = 3,
}
public class HKBiologicalSexObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKBiologicalSexObject ();
public HKBiologicalSexObject (Foundation.NSCoder coder);
protected HKBiologicalSexObject (Foundation.NSObjectFlag t);
protected HKBiologicalSexObject (IntPtr handle);
// properties
public virtual HKBiologicalSex BiologicalSex { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKBloodGlucoseMealTime {
[Obsolete ("Use 'Postprandial' instead.")]
Ostprandial = 2,
Postprandial = 2,
Preprandial = 1,
[Obsolete ("Use 'Preprandial' instead.")]
Reprandial = 1,
}
[Serializable]
public enum HKBloodType {
ABNegative = 6,
ABPositive = 5,
ANegative = 2,
APositive = 1,
BNegative = 4,
BPositive = 3,
NotSet = 0,
ONegative = 8,
OPositive = 7,
}
public class HKBloodTypeObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKBloodTypeObject ();
public HKBloodTypeObject (Foundation.NSCoder coder);
protected HKBloodTypeObject (Foundation.NSObjectFlag t);
protected HKBloodTypeObject (IntPtr handle);
// properties
public virtual HKBloodType BloodType { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKBodyTemperatureSensorLocation {
Armpit = 1,
Body = 2,
Ear = 3,
EarDrum = 9,
Finger = 4,
Forehead = 11,
GastroIntestinal = 5,
Mouth = 6,
Other = 0,
Rectum = 7,
TemporalArtery = 10,
Toe = 8,
}
public class HKCategorySample : HealthKit.HKSample {
// constructors
public HKCategorySample (Foundation.NSCoder coder);
protected HKCategorySample (Foundation.NSObjectFlag t);
protected HKCategorySample (IntPtr handle);
// properties
public virtual HKCategoryType CategoryType { get; }
public override IntPtr ClassHandle { get; }
public virtual nint Value { get; }
// methods
public static HKCategorySample FromType (HKCategoryType type, nint value, Foundation.NSDate startDate, Foundation.NSDate endDate);
public static HKCategorySample FromType (HKCategoryType type, nint value, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary metadata);
public static HKCategorySample FromType (HKCategoryType type, nint value, Foundation.NSDate startDate, Foundation.NSDate endDate, HKMetadata metadata);
public static HKCategorySample FromType (HKCategoryType type, nint value, Foundation.NSDate startDate, Foundation.NSDate endDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
public class HKCategoryType : HealthKit.HKSampleType {
// constructors
public HKCategoryType (Foundation.NSCoder coder);
protected HKCategoryType (Foundation.NSObjectFlag t);
protected HKCategoryType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static HKCategoryType Create (HKCategoryTypeIdentifier kind);
}
[Serializable]
public enum HKCategoryTypeIdentifier {
AbdominalCramps = 13,
Acne = 14,
AppetiteChanges = 15,
AppleStandHour = 1,
AppleWalkingSteadinessEvent = 59,
AudioExposureEvent = 11,
BladderIncontinence = 46,
Bloating = 17,
BreastPain = 18,
CervicalMucusQuality = 2,
ChestTightnessOrPain = 19,
Chills = 20,
Constipation = 21,
Contraceptive = 57,
Coughing = 22,
Diarrhea = 23,
Dizziness = 24,
DrySkin = 47,
EnvironmentalAudioExposureEvent = 52,
Fainting = 25,
Fatigue = 26,
Fever = 27,
GeneralizedBodyAche = 16,
HairLoss = 48,
HandwashingEvent = 53,
Headache = 28,
HeadphoneAudioExposureEvent = 54,
Heartburn = 29,
HighHeartRateEvent = 8,
HotFlashes = 30,
InfrequentMenstrualCycles = 62,
IntermenstrualBleeding = 5,
IrregularHeartRhythmEvent = 10,
IrregularMenstrualCycles = 63,
Lactation = 56,
LossOfSmell = 32,
LossOfTaste = 33,
LowCardioFitnessEvent = 58,
LowHeartRateEvent = 9,
LowerBackPain = 31,
MemoryLapse = 50,
MenstrualFlow = 4,
MindfulSession = 7,
MoodChanges = 34,
Nausea = 35,
NightSweats = 51,
OvulationTestResult = 3,
PelvicPain = 36,
PersistentIntermenstrualBleeding = 64,
Pregnancy = 55,
PregnancyTestResult = 60,
ProgesteroneTestResult = 61,
ProlongedMenstrualPeriods = 65,
RapidPoundingOrFlutteringHeartbeat = 37,
RunnyNose = 38,
SexualActivity = 6,
ShortnessOfBreath = 39,
SinusCongestion = 40,
SkippedHeartbeat = 41,
SleepAnalysis = 0,
SleepChanges = 42,
SoreThroat = 43,
ToothbrushingEvent = 12,
VaginalDryness = 49,
Vomiting = 44,
Wheezing = 45,
}
public static class HKCategoryTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKCategoryTypeIdentifier self);
public static HKCategoryTypeIdentifier GetValue (Foundation.NSString constant);
}
[Serializable]
public enum HKCategoryValue {
NotApplicable = 0,
}
[Serializable]
public enum HKCategoryValueAppetiteChanges {
Decreased = 2,
Increased = 3,
NoChange = 1,
Unspecified = 0,
}
[Serializable]
public enum HKCategoryValueAppleStandHour {
Idle = 1,
Stood = 0,
}
[Serializable]
public enum HKCategoryValueAppleWalkingSteadinessEvent {
InitialLow = 1,
InitialVeryLow = 2,
RepeatLow = 3,
RepeatVeryLow = 4,
}
[Serializable]
public enum HKCategoryValueAudioExposureEvent {
LoudEnvironment = 1,
}
[Serializable]
public enum HKCategoryValueCervicalMucusQuality {
Creamy = 3,
Dry = 1,
EggWhite = 5,
NotApplicable = 0,
Sticky = 2,
Watery = 4,
}
[Serializable]
public enum HKCategoryValueContraceptive {
Implant = 2,
Injection = 3,
IntrauterineDevice = 4,
IntravaginalRing = 5,
Oral = 6,
Patch = 7,
Unspecified = 1,
}
[Serializable]
public enum HKCategoryValueEnvironmentalAudioExposureEvent {
MomentaryLimit = 1,
}
[Serializable]
public enum HKCategoryValueHeadphoneAudioExposureEvent {
SevenDayLimit = 1,
}
[Serializable]
public enum HKCategoryValueLowCardioFitnessEvent {
LowFitness = 1,
}
[Serializable]
public enum HKCategoryValueMenstrualFlow {
Heavy = 4,
Light = 2,
Medium = 3,
None = 5,
NotApplicable = 0,
Unspecified = 1,
}
[Serializable]
public enum HKCategoryValueOvulationTestResult {
EstrogenSurge = 4,
Indeterminate = 3,
LuteinizingHormoneSurge = 2,
Negative = 1,
NotApplicable = 0,
Positive = 2,
}
[Serializable]
public enum HKCategoryValuePregnancyTestResult {
Indeterminate = 3,
Negative = 1,
Positive = 2,
}
[Serializable]
public enum HKCategoryValuePresence {
NotPresent = 1,
Present = 0,
}
[Serializable]
public enum HKCategoryValueProgesteroneTestResult {
Indeterminate = 3,
Negative = 1,
Positive = 2,
}
[Serializable]
public enum HKCategoryValueSeverity {
Mild = 2,
Moderate = 3,
NotPresent = 1,
Severe = 4,
Unspecified = 0,
}
[Serializable]
public enum HKCategoryValueSleepAnalysis {
Asleep = 1,
AsleepCore = 3,
AsleepDeep = 4,
AsleepREM = 5,
Awake = 2,
InBed = 0,
}
public class HKCategoryValueSleepAnalysisAsleep {
// constructors
public HKCategoryValueSleepAnalysisAsleep ();
// methods
public static System.Collections.Generic.HashSet<HKCategoryValueSleepAnalysis> GetAsleepValues ();
}
public class HKCdaDocument : Foundation.NSObject {
// constructors
protected HKCdaDocument (Foundation.NSObjectFlag t);
protected HKCdaDocument (IntPtr handle);
// properties
public virtual string AuthorName { get; }
public override IntPtr ClassHandle { get; }
public virtual string CustodianName { get; }
public virtual Foundation.NSData DocumentData { get; }
public virtual string PatientName { get; }
public virtual string Title { get; }
}
public class HKCdaDocumentSample : HealthKit.HKDocumentSample {
// constructors
public HKCdaDocumentSample (Foundation.NSCoder coder);
protected HKCdaDocumentSample (Foundation.NSObjectFlag t);
protected HKCdaDocumentSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKCdaDocument Document { get; }
// methods
public static HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary metadata, out Foundation.NSError validationError);
public static HKCdaDocumentSample Create (Foundation.NSData documentData, Foundation.NSDate startDate, Foundation.NSDate endDate, HKMetadata metadata, out Foundation.NSError validationError);
}
public class HKCharacteristicType : HealthKit.HKObjectType {
// constructors
public HKCharacteristicType (Foundation.NSCoder coder);
protected HKCharacteristicType (Foundation.NSObjectFlag t);
protected HKCharacteristicType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static HKCharacteristicType Create (HKCharacteristicTypeIdentifier kind);
}
[Serializable]
public enum HKCharacteristicTypeIdentifier {
ActivityMoveMode = 5,
BiologicalSex = 0,
BloodType = 1,
DateOfBirth = 2,
FitzpatrickSkinType = 3,
WheelchairUse = 4,
}
public static class HKCharacteristicTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKCharacteristicTypeIdentifier self);
public static HKCharacteristicTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKClinicalRecord : HealthKit.HKSample, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKClinicalRecord (Foundation.NSCoder coder);
protected HKClinicalRecord (Foundation.NSObjectFlag t);
protected HKClinicalRecord (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKClinicalType ClinicalType { get; }
public virtual string DisplayName { get; }
public virtual HKFhirResource FhirResource { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKClinicalType : HealthKit.HKSampleType {
// constructors
public HKClinicalType (Foundation.NSCoder coder);
protected HKClinicalType (Foundation.NSObjectFlag t);
protected HKClinicalType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum HKClinicalTypeIdentifier {
AllergyRecord = 0,
ConditionRecord = 1,
CoverageRecord = 7,
ImmunizationRecord = 2,
LabResultRecord = 3,
MedicationRecord = 4,
ProcedureRecord = 5,
VitalSignRecord = 6,
}
public static class HKClinicalTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKClinicalTypeIdentifier self);
public static HKClinicalTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKContactsLensSpecification : HealthKit.HKLensSpecification, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKContactsLensSpecification (Foundation.NSCoder coder);
protected HKContactsLensSpecification (Foundation.NSObjectFlag t);
protected HKContactsLensSpecification (IntPtr handle);
public HKContactsLensSpecification (HKQuantity sphere, HKQuantity cylinder, HKQuantity axis, HKQuantity addPower, HKQuantity baseCurve, HKQuantity diameter);
// properties
public virtual HKQuantity BaseCurve { get; }
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Diameter { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKContactsPrescription : HealthKit.HKVisionPrescription {
// constructors
public HKContactsPrescription (Foundation.NSCoder coder);
protected HKContactsPrescription (Foundation.NSObjectFlag t);
protected HKContactsPrescription (IntPtr handle);
// properties
public virtual string Brand { get; }
public override IntPtr ClassHandle { get; }
public virtual HKContactsLensSpecification LeftEye { get; }
public virtual HKContactsLensSpecification RightEye { get; }
// methods
public static HKContactsPrescription GetPrescription (HKContactsLensSpecification rightEyeSpecification, HKContactsLensSpecification leftEyeSpecification, string brand, Foundation.NSDate dateIssued, Foundation.NSDate expirationDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
public class HKCorrelation : HealthKit.HKSample, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKCorrelation (Foundation.NSCoder coder);
protected HKCorrelation (Foundation.NSObjectFlag t);
protected HKCorrelation (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKCorrelationType CorrelationType { get; }
public virtual Foundation.NSSet Objects { get; }
// methods
public static HKCorrelation Create (HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects);
public static HKCorrelation Create (HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, Foundation.NSDictionary metadata);
public static HKCorrelation Create (HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet objects, HKMetadata metadata);
public static HKCorrelation Create (HKCorrelationType correlationType, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSSet<HKSample> objects, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual Foundation.NSSet GetObjects (HKObjectType objectType);
}
public class HKCorrelationQuery : HealthKit.HKQuery {
// constructors
protected HKCorrelationQuery (Foundation.NSObjectFlag t);
protected HKCorrelationQuery (IntPtr handle);
public HKCorrelationQuery (HKCorrelationType correlationType, Foundation.NSPredicate predicate, Foundation.NSDictionary samplePredicates, HKCorrelationQueryResultHandler completion);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKCorrelationType CorrelationType { get; }
public virtual Foundation.NSDictionary SamplePredicates { get; }
}
public sealed delegate HKCorrelationQueryResultHandler : System.MulticastDelegate {
// constructors
public HKCorrelationQueryResultHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKCorrelationQuery query, HKCorrelation[] correlations, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKCorrelationQuery query, HKCorrelation[] correlations, Foundation.NSError error);
}
public class HKCorrelationType : HealthKit.HKSampleType {
// constructors
public HKCorrelationType (Foundation.NSCoder coder);
protected HKCorrelationType (Foundation.NSObjectFlag t);
protected HKCorrelationType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static HKCorrelationType Create (HKCorrelationTypeIdentifier kind);
}
[Serializable]
public enum HKCorrelationTypeIdentifier {
BloodPressure = 0,
Food = 1,
}
public static class HKCorrelationTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKCorrelationTypeIdentifier self);
public static HKCorrelationTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKCumulativeQuantitySample : HealthKit.HKQuantitySample {
// 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; }
}
public class HKCumulativeQuantitySeriesSample : HealthKit.HKCumulativeQuantitySample {
// constructors
public HKCumulativeQuantitySeriesSample (Foundation.NSCoder coder);
protected HKCumulativeQuantitySeriesSample (Foundation.NSObjectFlag t);
protected HKCumulativeQuantitySeriesSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Sum { get; }
}
[Serializable]
public enum HKDataTypeIdentifier {
HeartbeatSeries = 0,
}
public static class HKDataTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKDataTypeIdentifier self);
public static HKDataTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKDeletedObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKDeletedObject (Foundation.NSCoder coder);
protected HKDeletedObject (Foundation.NSObjectFlag t);
protected HKDeletedObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public HKMetadata Metadata { get; }
public virtual Foundation.NSUuid Uuid { get; }
public virtual Foundation.NSDictionary WeakMetadata { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKDetailedCdaErrors : Foundation.DictionaryContainer {
// constructors
public HKDetailedCdaErrors ();
public HKDetailedCdaErrors (Foundation.NSDictionary dictionary);
// properties
public Foundation.NSString ValidationError { get; }
}
public class HKDevice : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKDevice (Foundation.NSCoder coder);
protected HKDevice (Foundation.NSObjectFlag t);
protected HKDevice (IntPtr handle);
public HKDevice (string name, string manufacturer, string model, string hardwareVersion, string firmwareVersion, string softwareVersion, string localIdentifier, string udiDeviceIdentifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual string FirmwareVersion { get; }
public virtual string HardwareVersion { get; }
public static HKDevice LocalDevice { get; }
public virtual string LocalIdentifier { get; }
public virtual string Manufacturer { get; }
public virtual string Model { get; }
public virtual string Name { get; }
public virtual string SoftwareVersion { get; }
public virtual string UdiDeviceIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKDevicePlacementSide {
Central = 3,
Left = 1,
Right = 2,
Unknown = 0,
}
public static class HKDevicePropertyKey {
// properties
public static Foundation.NSString FirmwareVersion { get; }
public static Foundation.NSString HardwareVersion { get; }
public static Foundation.NSString LocalIdentifier { get; }
public static Foundation.NSString Manufacturer { get; }
public static Foundation.NSString Model { get; }
public static Foundation.NSString Name { get; }
public static Foundation.NSString SoftwareVersion { get; }
public static Foundation.NSString UdiDeviceIdentifier { get; }
}
public class HKDiscreteQuantitySample : HealthKit.HKQuantitySample {
// 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; }
}
public class HKDocumentQuery : HealthKit.HKQuery {
// constructors
protected HKDocumentQuery (Foundation.NSObjectFlag t);
protected HKDocumentQuery (IntPtr handle);
public HKDocumentQuery (HKDocumentType documentType, Foundation.NSPredicate predicate, nuint limit, Foundation.NSSortDescriptor[] sortDescriptors, bool includeDocumentData, System.Action<HKDocumentQuery,HealthKit.HKDocumentSample[],System.Boolean,Foundation.NSError> resultsHandler);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool IncludeDocumentData { get; }
public virtual nuint Limit { get; }
public virtual Foundation.NSSortDescriptor[] SortDescriptors { get; }
}
public abstract class HKDocumentSample : HealthKit.HKSample {
// constructors
protected HKDocumentSample (Foundation.NSCoder coder);
protected HKDocumentSample (Foundation.NSObjectFlag t);
protected HKDocumentSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKDocumentType DocumentType { get; }
}
public class HKDocumentType : HealthKit.HKSampleType {
// constructors
public HKDocumentType (Foundation.NSCoder coder);
protected HKDocumentType (Foundation.NSObjectFlag t);
protected HKDocumentType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static HKDocumentType Create (HKDocumentTypeIdentifier kind);
}
[Serializable]
public enum HKDocumentTypeIdentifier {
Cda = 0,
}
public static class HKDocumentTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKDocumentTypeIdentifier self);
public static HKDocumentTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKElectrocardiogram : HealthKit.HKSample {
// constructors
public HKElectrocardiogram (Foundation.NSCoder coder);
protected HKElectrocardiogram (Foundation.NSObjectFlag t);
protected HKElectrocardiogram (IntPtr handle);
// properties
public virtual HKQuantity AverageHeartRate { get; }
public override IntPtr ClassHandle { get; }
public virtual HKElectrocardiogramClassification Classification { get; }
public virtual nint NumberOfVoltageMeasurements { get; }
public virtual HKQuantity SamplingFrequency { get; }
public virtual HKElectrocardiogramSymptomsStatus SymptomsStatus { get; }
}
[Serializable]
public enum HKElectrocardiogramClassification {
AtrialFibrillation = 2,
InconclusiveHighHeartRate = 4,
InconclusiveLowHeartRate = 3,
InconclusiveOther = 6,
InconclusivePoorReading = 5,
NotSet = 0,
SinusRhythm = 1,
Unrecognized = 100,
}
[Serializable]
public enum HKElectrocardiogramLead {
AppleWatchSimilarToLeadI = 1,
}
public class HKElectrocardiogramQuery : HealthKit.HKQuery {
// constructors
protected HKElectrocardiogramQuery (Foundation.NSObjectFlag t);
protected HKElectrocardiogramQuery (IntPtr handle);
public HKElectrocardiogramQuery (HKElectrocardiogram electrocardiogram, HKElectrocardiogramQueryDataHandler dataHandler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKElectrocardiogramQueryDataHandler : System.MulticastDelegate {
// constructors
public HKElectrocardiogramQueryDataHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKElectrocardiogramQuery query, HKElectrocardiogramVoltageMeasurement voltageMeasurement, bool done, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKElectrocardiogramQuery query, HKElectrocardiogramVoltageMeasurement voltageMeasurement, bool done, Foundation.NSError error);
}
[Serializable]
public enum HKElectrocardiogramSymptomsStatus {
None = 1,
NotSet = 0,
Present = 2,
}
public class HKElectrocardiogramType : HealthKit.HKSampleType {
// constructors
public HKElectrocardiogramType (Foundation.NSCoder coder);
protected HKElectrocardiogramType (Foundation.NSObjectFlag t);
protected HKElectrocardiogramType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class HKElectrocardiogramVoltageMeasurement : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected HKElectrocardiogramVoltageMeasurement (Foundation.NSObjectFlag t);
protected HKElectrocardiogramVoltageMeasurement (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double TimeSinceSampleStart { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual HKQuantity GetQuantity (HKElectrocardiogramLead lead);
}
[Serializable]
public enum HKErrorCode {
AnotherWorkoutSessionStarted = 8,
AuthorizationDenied = 4,
AuthorizationNotDetermined = 5,
DatabaseInaccessible = 6,
HealthDataRestricted = 2,
HealthDataUnavailable = 1,
InvalidArgument = 3,
NoData = 11,
NoError = 0,
RequiredAuthorizationDenied = 10,
UserCanceled = 7,
UserExitedWorkoutSession = 9,
}
public static class HKErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this HKErrorCode self);
}
[Serializable]
public enum HKFhirRelease {
Dstu2 = 0,
R4 = 1,
Unknown = 2,
}
public static class HKFhirReleaseExtensions {
// methods
public static Foundation.NSString GetConstant (this HKFhirRelease self);
public static HKFhirRelease GetValue (Foundation.NSString constant);
}
public class HKFhirResource : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKFhirResource (Foundation.NSCoder coder);
protected HKFhirResource (Foundation.NSObjectFlag t);
protected HKFhirResource (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Data { get; }
public virtual HKFhirVersion FhirVersion { get; }
public virtual string Identifier { get; }
public virtual HKFhirResourceType ResourceType { get; }
public virtual Foundation.NSUrl SourceUrl { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKFhirResourceType {
AllergyIntolerance = 0,
Condition = 1,
Coverage = 9,
Immunization = 2,
MedicationDispense = 3,
MedicationOrder = 4,
MedicationRequest = 8,
MedicationStatement = 5,
Observation = 6,
Procedure = 7,
}
public static class HKFhirResourceTypeExtensions {
// methods
public static Foundation.NSString GetConstant (this HKFhirResourceType self);
public static HKFhirResourceType GetValue (Foundation.NSString constant);
}
public class HKFhirVersion : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKFhirVersion (Foundation.NSCoder coder);
protected HKFhirVersion (Foundation.NSObjectFlag t);
protected HKFhirVersion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string FhirRelease { get; }
public virtual nint MajorVersion { get; }
public virtual nint MinorVersion { get; }
public virtual nint PatchVersion { get; }
public static HKFhirVersion PrimaryDstu2Version { get; }
public static HKFhirVersion PrimaryR4Version { get; }
public virtual string StringRepresentation { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public static HKFhirVersion GetVersion (string versionString, out Foundation.NSError errorOut);
}
[Serializable]
public enum HKFitzpatrickSkinType {
I = 1,
II = 2,
III = 3,
IV = 4,
NotSet = 0,
V = 5,
VI = 6,
}
public class HKFitzpatrickSkinTypeObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKFitzpatrickSkinTypeObject ();
public HKFitzpatrickSkinTypeObject (Foundation.NSCoder coder);
protected HKFitzpatrickSkinTypeObject (Foundation.NSObjectFlag t);
protected HKFitzpatrickSkinTypeObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKFitzpatrickSkinType SkinType { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKGlassesLensSpecification : HealthKit.HKLensSpecification, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKGlassesLensSpecification (Foundation.NSCoder coder);
protected HKGlassesLensSpecification (Foundation.NSObjectFlag t);
protected HKGlassesLensSpecification (IntPtr handle);
public HKGlassesLensSpecification (HKQuantity sphere, HKQuantity cylinder, HKQuantity axis, HKQuantity addPower, HKQuantity vertexDistance, HKVisionPrism prism, HKQuantity farPupillaryDistance, HKQuantity nearPupillaryDistance);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKQuantity FarPupillaryDistance { get; }
public virtual HKQuantity NearPupillaryDistance { get; }
public virtual HKVisionPrism Prism { get; }
public virtual HKQuantity VertexDistance { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKGlassesPrescription : HealthKit.HKVisionPrescription {
// constructors
public HKGlassesPrescription (Foundation.NSCoder coder);
protected HKGlassesPrescription (Foundation.NSObjectFlag t);
protected HKGlassesPrescription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKGlassesLensSpecification LeftEye { get; }
public virtual HKGlassesLensSpecification RightEye { get; }
// methods
public static HKGlassesPrescription GetPrescription (HKGlassesLensSpecification rightEyeSpecification, HKGlassesLensSpecification leftEyeSpecification, Foundation.NSDate dateIssued, Foundation.NSDate expirationDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
public class HKHealthStore : Foundation.NSObject {
// constructors
public HKHealthStore ();
protected HKHealthStore (Foundation.NSObjectFlag t);
protected HKHealthStore (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate EarliestPermittedSampleDate { get; }
public static bool IsHealthDataAvailable { get; }
public virtual bool SupportsHealthRecords { get; }
public static Foundation.NSString UserPreferencesDidChangeNotification { get; }
// methods
public virtual void AddSamples (HKSample[] samples, HKWorkout workout, HKStoreSampleAddedCallback callback);
public virtual void DeleteObject (HKObject obj, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DeleteObjectAsync (HKObject obj);
public virtual void DeleteObjects (HKObject[] objects, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual void DeleteObjects (HKObjectType objectType, Foundation.NSPredicate predicate, System.Action<System.Boolean,System.nuint,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DeleteObjectsAsync (HKObject[] objects);
public virtual void DisableAllBackgroundDelivery (System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DisableAllBackgroundDeliveryAsync ();
public virtual void DisableBackgroundDelivery (HKObjectType type, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DisableBackgroundDeliveryAsync (HKObjectType type);
public virtual void EnableBackgroundDelivery (HKObjectType type, HKUpdateFrequency frequency, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> EnableBackgroundDeliveryAsync (HKObjectType type, HKUpdateFrequency frequency);
public virtual void EndWorkoutSession (HKWorkoutSession workoutSession);
public virtual void ExecuteQuery (HKQuery query);
public virtual HKActivityMoveModeObject GetActivityMoveMode (out Foundation.NSError error);
public virtual HKAuthorizationStatus GetAuthorizationStatus (HKObjectType type);
public virtual HKBiologicalSexObject GetBiologicalSex (out Foundation.NSError error);
public virtual HKBloodTypeObject GetBloodType (out Foundation.NSError error);
public virtual Foundation.NSDate GetDateOfBirth (out Foundation.NSError error);
public virtual Foundation.NSDateComponents GetDateOfBirthComponents (out Foundation.NSError error);
public virtual HKFitzpatrickSkinTypeObject GetFitzpatrickSkinType (out Foundation.NSError error);
public virtual void GetPreferredUnits (Foundation.NSSet quantityTypes, System.Action<Foundation.NSDictionary,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSDictionary> GetPreferredUnitsAsync (Foundation.NSSet quantityTypes);
public virtual void GetRequestStatusForAuthorizationToShare (Foundation.NSSet<HKSampleType> typesToShare, Foundation.NSSet<HKObjectType> typesToRead, HKHealthStoreGetRequestStatusForAuthorizationToShareHandler completion);
public virtual System.Threading.Tasks.Task<HKAuthorizationRequestStatus> GetRequestStatusForAuthorizationToShareAsync (Foundation.NSSet<HKSampleType> typesToShare, Foundation.NSSet<HKObjectType> typesToRead);
public virtual HKWheelchairUseObject GetWheelchairUse (out Foundation.NSError error);
public virtual void HandleAuthorizationForExtension (System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> HandleAuthorizationForExtensionAsync ();
public virtual void PauseWorkoutSession (HKWorkoutSession workoutSession);
public virtual void RecalibrateEstimates (HKSampleType sampleType, Foundation.NSDate date, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RecalibrateEstimatesAsync (HKSampleType sampleType, Foundation.NSDate date);
public virtual void RecoverActiveWorkoutSession (HKHealthStoreRecoverActiveWorkoutSessionHandler completion);
public virtual System.Threading.Tasks.Task<HKWorkoutSession> RecoverActiveWorkoutSessionAsync ();
public virtual void RequestAuthorizationToShare (Foundation.NSSet typesToShare, Foundation.NSSet typesToRead, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestAuthorizationToShareAsync (Foundation.NSSet typesToShare, Foundation.NSSet typesToRead);
public virtual void RequestPerObjectReadAuthorization (HKObjectType objectType, Foundation.NSPredicate predicate, HKHealthStoreCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> RequestPerObjectReadAuthorizationAsync (HKObjectType objectType, Foundation.NSPredicate predicate);
public virtual void ResumeWorkoutSession (HKWorkoutSession workoutSession);
public virtual void SaveObject (HKObject obj, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> SaveObjectAsync (HKObject obj);
public virtual void SaveObjects (HKObject[] objects, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> SaveObjectsAsync (HKObject[] objects);
public virtual void SplitTotalEnergy (HKQuantity totalEnergy, Foundation.NSDate startDate, Foundation.NSDate endDate, System.Action<HKQuantity,HealthKit.HKQuantity,Foundation.NSError> resultsHandler);
public virtual void StartWatchApp (HKWorkoutConfiguration workoutConfiguration, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> StartWatchAppAsync (HKWorkoutConfiguration workoutConfiguration);
public virtual void StartWorkoutSession (HKWorkoutSession workoutSession);
public virtual void StopQuery (HKQuery query);
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveUserPreferencesDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveUserPreferencesDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public sealed delegate HKHealthStoreCompletionHandler : System.MulticastDelegate {
// constructors
public HKHealthStoreCompletionHandler (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);
}
public sealed delegate HKHealthStoreGetRequestStatusForAuthorizationToShareHandler : System.MulticastDelegate {
// constructors
public HKHealthStoreGetRequestStatusForAuthorizationToShareHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKAuthorizationRequestStatus requestStatus, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKAuthorizationRequestStatus requestStatus, Foundation.NSError error);
}
public sealed delegate HKHealthStoreRecoverActiveWorkoutSessionHandler : System.MulticastDelegate {
// constructors
public HKHealthStoreRecoverActiveWorkoutSessionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKWorkoutSession session, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKWorkoutSession session, Foundation.NSError error);
}
[Serializable]
public enum HKHeartRateMotionContext {
Active = 2,
NotSet = 0,
Sedentary = 1,
}
[Serializable]
public enum HKHeartRateRecoveryTestType {
MaxExercise = 1,
PredictionNonExercise = 3,
PredictionSubMaxExercise = 2,
}
[Serializable]
public enum HKHeartRateSensorLocation {
Chest = 1,
EarLobe = 5,
Finger = 3,
Foot = 6,
Hand = 4,
Other = 0,
Wrist = 2,
}
public class HKHeartbeatSeriesBuilder : HealthKit.HKSeriesBuilder {
// constructors
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 ();
}
public sealed delegate HKHeartbeatSeriesBuilderCompletionHandler : System.MulticastDelegate {
// 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);
}
public class HKHeartbeatSeriesQuery : HealthKit.HKQuery {
// constructors
public HKHeartbeatSeriesQuery ();
protected HKHeartbeatSeriesQuery (Foundation.NSObjectFlag t);
protected HKHeartbeatSeriesQuery (IntPtr handle);
public HKHeartbeatSeriesQuery (HKHeartbeatSeriesSample heartbeatSeries, HKHeartbeatSeriesQueryDataHandler dataHandler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKHeartbeatSeriesQueryDataHandler : System.MulticastDelegate {
// 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);
}
public class HKHeartbeatSeriesSample : HealthKit.HKSeriesSample, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// 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);
}
[Serializable]
public enum HKInsulinDeliveryReason {
[Obsolete ("Use 'Basal' instead.")]
Asal = 1,
Basal = 1,
Bolus = 2,
[Obsolete ("Use 'Bolus' instead.")]
Olus = 2,
}
public class HKLensSpecification : Foundation.NSObject {
// constructors
protected HKLensSpecification (Foundation.NSObjectFlag t);
protected HKLensSpecification (IntPtr handle);
// properties
public virtual HKQuantity AddPower { get; }
public virtual HKQuantity Axis { get; }
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Cylinder { get; }
public virtual HKQuantity Sphere { get; }
}
public class HKLiveWorkoutBuilder : HealthKit.HKWorkoutBuilder {
// constructors
protected HKLiveWorkoutBuilder (Foundation.NSObjectFlag t);
protected HKLiveWorkoutBuilder (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKWorkoutActivity CurrentWorkoutActivity { get; }
public virtual HKLiveWorkoutDataSource DataSource { get; set; }
public IHKLiveWorkoutBuilderDelegate Delegate { get; set; }
public virtual double ElapsedTime { get; }
public virtual bool ShouldCollectWorkoutEvents { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
public virtual HKWorkoutSession WorkoutSession { get; }
// methods
protected override void Dispose (bool disposing);
}
public abstract class HKLiveWorkoutBuilderDelegate : Foundation.NSObject, IHKLiveWorkoutBuilderDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected HKLiveWorkoutBuilderDelegate ();
protected HKLiveWorkoutBuilderDelegate (Foundation.NSObjectFlag t);
protected HKLiveWorkoutBuilderDelegate (IntPtr handle);
// methods
public virtual void DidBeginActivity (HKLiveWorkoutBuilder workoutBuilder, HKWorkoutActivity workoutActivity);
public virtual void DidCollectData (HKLiveWorkoutBuilder workoutBuilder, Foundation.NSSet<HKSampleType> collectedTypes);
public virtual void DidCollectEvent (HKLiveWorkoutBuilder workoutBuilder);
public virtual void DidEndActivity (HKLiveWorkoutBuilder workoutBuilder, HKWorkoutActivity workoutActivity);
}
public static class HKLiveWorkoutBuilderDelegate_Extensions {
// methods
public static void DidBeginActivity (this IHKLiveWorkoutBuilderDelegate This, HKLiveWorkoutBuilder workoutBuilder, HKWorkoutActivity workoutActivity);
public static void DidEndActivity (this IHKLiveWorkoutBuilderDelegate This, HKLiveWorkoutBuilder workoutBuilder, HKWorkoutActivity workoutActivity);
}
public class HKLiveWorkoutDataSource : Foundation.NSObject {
// constructors
protected HKLiveWorkoutDataSource (Foundation.NSObjectFlag t);
protected HKLiveWorkoutDataSource (IntPtr handle);
public HKLiveWorkoutDataSource (HKHealthStore healthStore, HKWorkoutConfiguration configuration);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<HKQuantityType> TypesToCollect { get; }
// methods
public virtual void DisableCollection (HKQuantityType quantityType);
public virtual void EnableCollection (HKQuantityType quantityType, Foundation.NSPredicate predicate);
}
public class HKMetadata : Foundation.DictionaryContainer {
// constructors
public HKMetadata ();
public HKMetadata (Foundation.NSDictionary dictionary);
// properties
public HKQuantity AlpineSlopeGrade { get; set; }
public HKQuantity AverageSpeed { get; set; }
public HKBloodGlucoseMealTime? BloodGlucoseMealTime { get; }
public HKBodyTemperatureSensorLocation? BodyTemperatureSensorLocation { get; set; }
public bool? CoachedWorkout { get; set; }
public HKQuantity CrossTrainerDistance { get; set; }
public string DeviceManufacturerName { get; set; }
public string DeviceName { get; set; }
public string DeviceSerialNumber { get; set; }
public string DigitalSignature { get; set; }
public HKQuantity ElevationAscended { get; set; }
public HKQuantity ElevationDescended { get; set; }
public string ExternalUuid { get; set; }
public HKQuantity FitnessMachineDuration { get; set; }
public string FoodType { get; set; }
public bool? GroupFitness { get; set; }
public HKQuantity HeartRateEventThreshold { get; set; }
public HKHeartRateMotionContext? HeartRateMotionContext { get; }
public HKHeartRateSensorLocation? HeartRateSensorLocation { get; set; }
public HKQuantity IndoorBikeDistance { get; set; }
public bool? IndoorWorkout { get; set; }
public HKInsulinDeliveryReason? InsulinDeliveryReason { get; }
public Foundation.NSString LapLength { get; }
public HKQuantity MaximumSpeed { get; set; }
public bool? MenstrualCycleStart { get; set; }
public Foundation.NSNumber ReferenceRangeLowerLimit { get; set; }
public Foundation.NSNumber ReferenceRangeUpperLimit { get; set; }
public bool? SexualActivityProtectionUsed { get; set; }
public Foundation.NSString SwimmingLocationType { get; }
public Foundation.NSString SwimmingStrokeStyle { get; }
public string SyncIdentifier { get; }
public int? SyncVersion { get; }
public Foundation.NSTimeZone TimeZone { get; set; }
public string UdiDeviceIdentifier { get; set; }
public string UdiProductionIdentifier { get; set; }
public HKVO2MaxTestType? VO2MaxTestType { get; }
public bool? WasTakenInLab { get; set; }
public bool? WasUserEntered { get; set; }
public HKWeatherCondition? WeatherCondition { get; }
public HKQuantity WeatherHumidity { get; }
public HKQuantity WeatherTemperature { get; }
public string WorkoutBrandName { get; set; }
}
public static class HKMetadataKey {
// properties
public static Foundation.NSString AlgorithmVersion { get; }
public static Foundation.NSString AlpineSlopeGrade { get; }
public static Foundation.NSString AppleDeviceCalibrated { get; }
public static Foundation.NSString AppleEcgAlgorithmVersion { get; }
public static Foundation.NSString AudioExposureDuration { get; }
public static Foundation.NSString AudioExposureLevel { get; }
public static Foundation.NSString AverageMets { get; }
public static Foundation.NSString AverageSpeed { get; }
public static Foundation.NSString BarometricPressure { get; }
public static Foundation.NSString BloodGlucoseMealTime { get; }
public static Foundation.NSString BodyTemperatureSensorLocation { get; }
public static Foundation.NSString CoachedWorkout { get; }
public static Foundation.NSString CrossTrainerDistance { get; }
public static Foundation.NSString DateOfEarliestDataUsedForEstimate { get; }
public static Foundation.NSString DeviceManufacturerName { get; }
public static Foundation.NSString DeviceName { get; }
public static Foundation.NSString DevicePlacementSide { get; }
public static Foundation.NSString DeviceSerialNumber { get; }
public static Foundation.NSString DigitalSignature { get; }
public static Foundation.NSString ElevationAscended { get; }
public static Foundation.NSString ElevationDescended { get; }
public static Foundation.NSString ExternalUuid { get; }
public static Foundation.NSString FitnessMachineDuration { get; }
public static Foundation.NSString FoodType { get; }
public static Foundation.NSString GlassesPrescriptionDescription { get; }
public static Foundation.NSString GroupFitness { get; }
public static Foundation.NSString HeartRateEventThreshold { get; }
public static Foundation.NSString HeartRateMotionContext { get; }
public static Foundation.NSString HeartRateRecoveryActivityDuration { get; }
public static Foundation.NSString HeartRateRecoveryActivityType { get; }
public static Foundation.NSString HeartRateRecoveryMaxObservedRecoveryHeartRate { get; }
public static Foundation.NSString HeartRateRecoveryTestType { get; }
public static Foundation.NSString HeartRateSensorLocation { get; }
public static Foundation.NSString IndoorBikeDistance { get; }
public static Foundation.NSString IndoorWorkout { get; }
public static Foundation.NSString InsulinDeliveryReason { get; }
public static Foundation.NSString LapLength { get; }
public static Foundation.NSString LowCardioFitnessEventThreshold { get; }
public static Foundation.NSString MaximumSpeed { get; }
public static Foundation.NSString MenstrualCycleStart { get; }
public static Foundation.NSString QuantityClampedToLowerBound { get; }
public static Foundation.NSString QuantityClampedToUpperBound { get; }
public static Foundation.NSString ReferenceRangeLowerLimit { get; }
public static Foundation.NSString ReferenceRangeUpperLimit { get; }
public static Foundation.NSString SessionEstimate { get; }
public static Foundation.NSString SexualActivityProtectionUsed { get; }
public static Foundation.NSString SwimmingLocationType { get; }
public static Foundation.NSString SwimmingStrokeStyle { get; }
public static Foundation.NSString SwolfScore { get; }
public static Foundation.NSString SyncIdentifier { get; }
public static Foundation.NSString SyncVersion { get; }
public static Foundation.NSString TimeZone { get; }
public static Foundation.NSString UdiDeviceIdentifier { get; }
public static Foundation.NSString UdiProductionIdentifier { get; }
public static Foundation.NSString UserMotionContext { get; }
public static Foundation.NSString VO2MaxTestType { get; }
public static Foundation.NSString VO2MaxValue { get; }
public static Foundation.NSString WasTakenInLab { get; }
public static Foundation.NSString WasUserEntered { get; }
public static Foundation.NSString WeatherCondition { get; }
public static Foundation.NSString WeatherHumidity { get; }
public static Foundation.NSString WeatherTemperature { get; }
public static Foundation.NSString WorkoutBrandName { get; }
}
[Serializable]
public enum HKMetricPrefix {
Centi = 5,
Deca = 7,
Deci = 6,
Femto = 13,
Giga = 11,
Hecto = 8,
Kilo = 9,
Mega = 10,
Micro = 3,
Milli = 4,
Nano = 2,
None = 0,
Pico = 1,
Tera = 12,
}
public class HKObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKObject (Foundation.NSCoder coder);
protected HKObject (Foundation.NSObjectFlag t);
protected HKObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKDevice Device { get; }
public HKMetadata Metadata { get; }
public virtual HKSource Source { get; }
public virtual HKSourceRevision SourceRevision { get; }
public virtual Foundation.NSUuid Uuid { get; }
public virtual Foundation.NSDictionary WeakMetadata { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKObjectType : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKObjectType (Foundation.NSCoder coder);
protected HKObjectType (Foundation.NSObjectFlag t);
protected HKObjectType (IntPtr handle);
// properties
public static HKActivitySummaryType ActivitySummaryType { get; }
public static HKAudiogramSampleType AudiogramSampleType { get; }
public override IntPtr ClassHandle { get; }
public static HKElectrocardiogramType ElectrocardiogramType { get; }
public virtual Foundation.NSString Identifier { get; }
public virtual bool RequiresPerObjectAuthorization { get; }
public static HKPrescriptionType VisionPrescriptionType { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
[Obsolete ("Use 'HKCategoryType.Create (HKCategoryTypeIdentifier)'.")]
public static HKCategoryType GetCategoryType (Foundation.NSString hkCategoryTypeIdentifier);
[Obsolete ("Use 'HKCharacteristicType.Create (HKCharacteristicTypeIdentifier)'.")]
public static HKCharacteristicType GetCharacteristicType (Foundation.NSString hkCharacteristicTypeIdentifier);
public static HKClinicalType GetClinicalType (HKClinicalTypeIdentifier identifier);
[Obsolete ("Use 'HKCorrelationType.Create (HKCorrelationTypeIdentifier)'.")]
public static HKCorrelationType GetCorrelationType (Foundation.NSString hkCorrelationTypeIdentifier);
[Obsolete ("Use 'HKQuantityType.Create (HKQuantityTypeIdentifier)'.")]
public static HKQuantityType GetQuantityType (Foundation.NSString hkTypeIdentifier);
public static HKSeriesType GetSeriesType (string identifier);
public static HKWorkoutType GetWorkoutType ();
[Obsolete ("Use 'GetWorkoutType', it will return a valid HKWorkoutType instance.")]
public static HKWorkout WorkoutType ();
}
public class HKObserverQuery : HealthKit.HKQuery {
// constructors
protected HKObserverQuery (Foundation.NSObjectFlag t);
protected HKObserverQuery (IntPtr handle);
public HKObserverQuery (HKQueryDescriptor[] queryDescriptors, HKObserverQueryDescriptorUpdateHandler updateHandler);
public HKObserverQuery (HKSampleType sampleType, Foundation.NSPredicate predicate, HKObserverQueryUpdateHandler updateHandler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKObserverQueryDescriptorUpdateHandler : System.MulticastDelegate {
// constructors
public HKObserverQueryDescriptorUpdateHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKObserverQuery query, Foundation.NSSet<HKSampleType> samples, System.Action completion, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKObserverQuery query, Foundation.NSSet<HKSampleType> samples, System.Action completion, Foundation.NSError error);
}
public sealed delegate HKObserverQueryUpdateHandler : System.MulticastDelegate {
// constructors
public HKObserverQueryUpdateHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKObserverQuery query, System.Action completion, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKObserverQuery query, System.Action completion, Foundation.NSError error);
}
public static class HKPredicateKeyPath {
// properties
public static Foundation.NSString Average { get; }
public static Foundation.NSString AverageHeartRate { get; }
public static Foundation.NSString CategoryValue { get; }
public static Foundation.NSString CdaAuthorName { get; }
public static Foundation.NSString CdaCustodianName { get; }
public static Foundation.NSString CdaPatientName { get; }
public static Foundation.NSString CdaTitle { get; }
public static Foundation.NSString ClinicalRecordFhirResourceIdentifier { get; }
public static Foundation.NSString ClinicalRecordFhirResourceType { get; }
public static Foundation.NSString Correlation { get; }
public static Foundation.NSString DateComponents { get; }
public static Foundation.NSString Device { get; }
public static Foundation.NSString EcgClassification { get; }
public static Foundation.NSString EcgSymptomsStatus { get; }
public static Foundation.NSString EndDate { get; }
public static Foundation.NSString Max { get; }
public static Foundation.NSString Metadata { 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; }
public static Foundation.NSString PathSum { get; }
public static Foundation.NSString Quantity { get; }
public static Foundation.NSString Source { get; }
public static Foundation.NSString SourceRevision { get; }
public static Foundation.NSString StartDate { get; }
public static Foundation.NSString TotalFlightsClimbed { get; }
public static Foundation.NSString Uuid { get; }
public static Foundation.NSString Workout { get; }
public static Foundation.NSString WorkoutActivity { get; }
public static Foundation.NSString WorkoutActivityAverageQuantity { get; }
public static Foundation.NSString WorkoutActivityDuration { get; }
public static Foundation.NSString WorkoutActivityEndDate { get; }
public static Foundation.NSString WorkoutActivityMaximumQuantity { get; }
public static Foundation.NSString WorkoutActivityMinimumQuantity { get; }
public static Foundation.NSString WorkoutActivityStartDate { get; }
public static Foundation.NSString WorkoutActivitySumQuantity { get; }
public static Foundation.NSString WorkoutActivityType { get; }
public static Foundation.NSString WorkoutAverageQuantity { get; }
public static Foundation.NSString WorkoutDuration { get; }
public static Foundation.NSString WorkoutMaximumQuantity { get; }
public static Foundation.NSString WorkoutMinimumQuantity { get; }
public static Foundation.NSString WorkoutSumQuantity { get; }
public static Foundation.NSString WorkoutTotalDistance { get; }
public static Foundation.NSString WorkoutTotalEnergyBurned { get; }
public static Foundation.NSString WorkoutTotalSwimmingStrokeCount { get; }
public static Foundation.NSString WorkoutType { get; }
}
public class HKPrescriptionType : HealthKit.HKSampleType {
// constructors
public HKPrescriptionType (Foundation.NSCoder coder);
protected HKPrescriptionType (Foundation.NSObjectFlag t);
protected HKPrescriptionType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum HKPrismBase {
Down = 2,
In = 3,
None = 0,
Out = 4,
Up = 1,
}
public class HKQuantity : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKQuantity (Foundation.NSCoder coder);
protected HKQuantity (Foundation.NSObjectFlag t);
protected HKQuantity (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSComparisonResult Compare (HKQuantity quantity);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public static HKQuantity FromQuantity (HKUnit unit, double value);
public virtual double GetDoubleValue (HKUnit unit);
public virtual bool IsCompatible (HKUnit unit);
}
[Serializable]
public enum HKQuantityAggregationStyle {
Cumulative = 0,
Discrete = 1,
DiscreteArithmetic = 1,
DiscreteEquivalentContinuousLevel = 3,
DiscreteTemporallyWeighted = 2,
}
public class HKQuantitySample : HealthKit.HKSample {
// constructors
public HKQuantitySample (Foundation.NSCoder coder);
protected HKQuantitySample (Foundation.NSObjectFlag t);
protected HKQuantitySample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint Count { get; }
public virtual HKQuantity Quantity { get; }
public virtual HKQuantityType QuantityType { get; }
// methods
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, Foundation.NSDate startDate, Foundation.NSDate endDate);
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary metadata);
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, Foundation.NSDate startDate, Foundation.NSDate endDate, HKMetadata metadata);
public static HKQuantitySample FromType (HKQuantityType quantityType, HKQuantity quantity, Foundation.NSDate startDate, Foundation.NSDate endDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
public class HKQuantitySeriesSampleBuilder : Foundation.NSObject {
// constructors
protected HKQuantitySeriesSampleBuilder (Foundation.NSObjectFlag t);
protected HKQuantitySeriesSampleBuilder (IntPtr handle);
public HKQuantitySeriesSampleBuilder (HKHealthStore healthStore, HKQuantityType quantityType, Foundation.NSDate startDate, HKDevice device);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKDevice Device { get; }
public virtual HKQuantityType QuantityType { get; }
public virtual Foundation.NSDate StartDate { get; }
// methods
public virtual void Discard ();
protected virtual void FinishSeries (Foundation.NSDictionary metadata, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
public void FinishSeries (HKMetadata metadata, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
public virtual void FinishSeries (Foundation.NSDictionary metadata, Foundation.NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
public void FinishSeries (HKMetadata metadata, Foundation.NSDate endDate, HKQuantitySeriesSampleBuilderFinishSeriesDelegate completionHandler);
protected virtual System.Threading.Tasks.Task<HKQuantitySample[]> FinishSeriesAsync (Foundation.NSDictionary metadata);
public System.Threading.Tasks.Task<HKQuantitySample[]> FinishSeriesAsync (HKMetadata metadata);
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.NSDate date, out Foundation.NSError error);
public virtual bool Insert (HKQuantity quantity, Foundation.NSDateInterval dateInterval, out Foundation.NSError error);
}
public sealed delegate HKQuantitySeriesSampleBuilderFinishSeriesDelegate : System.MulticastDelegate {
// constructors
public HKQuantitySeriesSampleBuilderFinishSeriesDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKQuantitySample[] samples, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKQuantitySample[] samples, Foundation.NSError error);
}
public class HKQuantitySeriesSampleQuery : HealthKit.HKQuery {
// constructors
public HKQuantitySeriesSampleQuery ();
protected HKQuantitySeriesSampleQuery (Foundation.NSObjectFlag t);
protected HKQuantitySeriesSampleQuery (IntPtr handle);
public HKQuantitySeriesSampleQuery (HKQuantitySample quantitySample, HKQuantitySeriesSampleQueryQuantityDelegate quantityHandler);
public HKQuantitySeriesSampleQuery (HKQuantityType quantityType, Foundation.NSPredicate predicate, HKQuantitySeriesSampleQueryQuantityHandler quantityHandler);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool IncludeSample { get; set; }
public virtual bool OrderByQuantitySampleStartDate { get; set; }
}
public sealed delegate HKQuantitySeriesSampleQueryQuantityDelegate : System.MulticastDelegate {
// constructors
public HKQuantitySeriesSampleQueryQuantityDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKQuantitySeriesSampleQuery query, HKQuantity quantity, Foundation.NSDate 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.NSDate date, bool done, Foundation.NSError error);
}
public sealed delegate HKQuantitySeriesSampleQueryQuantityHandler : System.MulticastDelegate {
// 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);
}
public class HKQuantityType : HealthKit.HKSampleType {
// constructors
public HKQuantityType (Foundation.NSCoder coder);
protected HKQuantityType (Foundation.NSObjectFlag t);
protected HKQuantityType (IntPtr handle);
// properties
public virtual HKQuantityAggregationStyle AggregationStyle { get; }
public override IntPtr ClassHandle { get; }
// methods
public static HKQuantityType Create (HKQuantityTypeIdentifier kind);
public virtual bool IsCompatible (HKUnit unit);
}
[Serializable]
public enum HKQuantityTypeIdentifier {
ActiveEnergyBurned = 10,
AppleExerciseTime = 68,
AppleMoveTime = 90,
AppleSleepingWristTemperature = 100,
AppleStandTime = 80,
AppleWalkingSteadiness = 91,
AtrialFibrillationBurden = 99,
BasalBodyTemperature = 64,
BasalEnergyBurned = 9,
BloodAlcoholContent = 17,
BloodGlucose = 14,
BloodPressureDiastolic = 16,
BloodPressureSystolic = 15,
BodyFatPercentage = 1,
BodyMass = 3,
BodyMassIndex = 0,
BodyTemperature = 25,
DietaryBiotin = 50,
DietaryCaffeine = 63,
DietaryCalcium = 44,
DietaryCarbohydrates = 32,
DietaryChloride = 61,
DietaryCholesterol = 30,
DietaryChromium = 59,
DietaryCopper = 57,
DietaryEnergyConsumed = 35,
DietaryFatMonounsaturated = 28,
DietaryFatPolyunsaturated = 27,
DietaryFatSaturated = 29,
DietaryFatTotal = 26,
DietaryFiber = 33,
DietaryFolate = 49,
DietaryIodine = 53,
DietaryIron = 45,
DietaryMagnesium = 54,
DietaryManganese = 58,
DietaryMolybdenum = 60,
DietaryNiacin = 48,
DietaryPantothenicAcid = 51,
DietaryPhosphorus = 52,
DietaryPotassium = 62,
DietaryProtein = 36,
DietaryRiboflavin = 47,
DietarySelenium = 56,
DietarySodium = 31,
DietarySugar = 34,
DietaryThiamin = 46,
DietaryVitaminA = 37,
DietaryVitaminB12 = 39,
DietaryVitaminB6 = 38,
DietaryVitaminC = 40,
DietaryVitaminD = 41,
DietaryVitaminE = 42,
DietaryVitaminK = 43,
DietaryWater = 65,
DietaryZinc = 55,
DistanceCycling = 8,
DistanceDownhillSnowSports = 75,
DistanceSwimming = 71,
DistanceWalkingRunning = 7,
DistanceWheelchair = 69,
ElectrodermalActivity = 67,
EnvironmentalAudioExposure = 81,
FlightsClimbed = 11,
ForcedExpiratoryVolume1 = 20,
ForcedVitalCapacity = 19,
HeadphoneAudioExposure = 82,
HeartRate = 5,
HeartRateRecoveryOneMinute = 93,
HeartRateVariabilitySdnn = 79,
Height = 2,
InhalerUsage = 23,
InsulinDelivery = 76,
LeanBodyMass = 4,
NikeFuel = 12,
NumberOfAlcoholicBeverages = 92,
NumberOfTimesFallen = 22,
OxygenSaturation = 13,
PeakExpiratoryFlowRate = 21,
PeripheralPerfusionIndex = 18,
PushCount = 70,
RespiratoryRate = 24,
RestingHeartRate = 77,
RunningGroundContactTime = 94,
RunningPower = 97,
RunningSpeed = 98,
RunningStrideLength = 95,
RunningVerticalOscillation = 96,
SixMinuteWalkTestDistance = 83,
StairAscentSpeed = 84,
StairDescentSpeed = 85,
StepCount = 6,
SwimmingStrokeCount = 72,
UVExposure = 66,
UnderwaterDepth = 101,
VO2Max = 74,
WaistCircumference = 73,
WalkingAsymmetryPercentage = 86,
WalkingDoubleSupportPercentage = 87,
WalkingHeartRateAverage = 78,
WalkingSpeed = 88,
WalkingStepLength = 89,
WaterTemperature = 102,
}
public static class HKQuantityTypeIdentifierExtensions {
// methods
public static Foundation.NSString GetConstant (this HKQuantityTypeIdentifier self);
public static HKQuantityTypeIdentifier GetValue (Foundation.NSString constant);
}
public class HKQuery : Foundation.NSObject {
// constructors
protected HKQuery (Foundation.NSObjectFlag t);
protected HKQuery (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKObjectType ObjectType { get; }
public virtual Foundation.NSPredicate Predicate { get; }
public virtual HKSampleType SampleType { get; }
// methods
public static Foundation.NSPredicate GetAverageQuantityPredicateForWorkoutActivities (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity averageQuantity);
public static Foundation.NSPredicate GetAverageQuantityPredicateForWorkouts (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity averageQuantity);
public static Foundation.NSPredicate GetMaximumQuantityPredicateForWorkoutActivities (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity maximumQuantity);
public static Foundation.NSPredicate GetMaximumQuantityPredicateForWorkouts (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity maximumQuantity);
public static Foundation.NSPredicate GetMinimumQuantityPredicateForWorkoutActivities (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity minimumQuantity);
public static Foundation.NSPredicate GetMinimumQuantityPredicateForWorkouts (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity minimumQuantity);
public static Foundation.NSPredicate GetPredicateForActivitySummariesBetween (Foundation.NSDateComponents startDateComponents, Foundation.NSDateComponents endDateComponents);
public static Foundation.NSPredicate GetPredicateForActivitySummary (Foundation.NSDateComponents dateComponents);
public static Foundation.NSPredicate GetPredicateForCategorySamples (Foundation.NSSet<Foundation.NSNumber> values);
public static Foundation.NSPredicate GetPredicateForCategorySamples (Foundation.NSPredicateOperatorType operatorType, nint value);
public static Foundation.NSPredicate GetPredicateForClinicalRecords (HKFhirResourceType resourceType);
public static Foundation.NSPredicate GetPredicateForClinicalRecords (HKSource source, HKFhirResourceType resourceType, string identifier);
public static Foundation.NSPredicate GetPredicateForDuration (Foundation.NSPredicateOperatorType operatorType, double duration);
public static Foundation.NSPredicate GetPredicateForElectrocardiograms (HKElectrocardiogramClassification classification);
public static Foundation.NSPredicate GetPredicateForElectrocardiograms (HKElectrocardiogramSymptomsStatus symptomsStatus);
public static Foundation.NSPredicate GetPredicateForMetadataKey (Foundation.NSString metadataKey);
public static Foundation.NSPredicate GetPredicateForMetadataKey (Foundation.NSString metadataKey, Foundation.NSObject[] allowedValues);
public static Foundation.NSPredicate GetPredicateForMetadataKey (Foundation.NSString metadataKey, Foundation.NSPredicateOperatorType operatorType, Foundation.NSObject value);
public static Foundation.NSPredicate GetPredicateForObject (Foundation.NSUuid objectUuid);
public static Foundation.NSPredicate GetPredicateForObjects (Foundation.NSSet objectUuids);
public static Foundation.NSPredicate GetPredicateForObjects (HKElectrocardiogram electrocardiogram);
public static Foundation.NSPredicate GetPredicateForObjectsFromDevices (Foundation.NSSet<HKDevice> devices);
public static Foundation.NSPredicate GetPredicateForObjectsFromSource (HKSource source);
public static Foundation.NSPredicate GetPredicateForObjectsFromSourceRevisions (Foundation.NSSet<HKSourceRevision> sourceRevisions);
public static Foundation.NSPredicate GetPredicateForObjectsFromSources (Foundation.NSSet sources);
public static Foundation.NSPredicate GetPredicateForObjectsFromWorkout (HKWorkout workout);
public static Foundation.NSPredicate GetPredicateForObjectsWithDeviceProperty (string key, Foundation.NSSet<Foundation.NSString> allowedValues);
public static Foundation.NSPredicate GetPredicateForQuantitySamples (Foundation.NSPredicateOperatorType operatorType, HKQuantity quantity);
public static Foundation.NSPredicate GetPredicateForSamples (Foundation.NSDate startDate, Foundation.NSDate endDate, HKQueryOptions options);
public static Foundation.NSPredicate GetPredicateForTotalDistance (Foundation.NSPredicateOperatorType operatorType, HKQuantity totalDistance);
public static Foundation.NSPredicate GetPredicateForTotalEnergyBurned (Foundation.NSPredicateOperatorType operatorType, HKQuantity totalEnergyBurned);
public static Foundation.NSPredicate GetPredicateForTotalFlightsClimbed (Foundation.NSPredicateOperatorType operatorType, HKQuantity totalFlightsClimbed);
public static Foundation.NSPredicate GetPredicateForTotalSwimmingStrokeCount (Foundation.NSPredicateOperatorType operatorType, HKQuantity totalSwimmingStrokeCount);
public static Foundation.NSPredicate GetPredicateForVerifiableClinicalRecords (Foundation.NSDateInterval dateInterval);
public static Foundation.NSPredicate GetPredicateForWorkoutActivities (HKWorkoutActivityType workoutActivityType);
public static Foundation.NSPredicate GetPredicateForWorkoutActivities (Foundation.NSPredicateOperatorType operatorType, double duration);
public static Foundation.NSPredicate GetPredicateForWorkoutActivities (Foundation.NSDate startDate, Foundation.NSDate endDate, HKQueryOptions options);
public static Foundation.NSPredicate GetPredicateForWorkouts (Foundation.NSPredicate activityPredicate);
public static Foundation.NSPredicate GetPredicateForWorkouts (HKWorkoutActivityType workoutActivityType);
public static Foundation.NSPredicate GetSumQuantityPredicateForWorkoutActivities (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity sumQuantity);
public static Foundation.NSPredicate GetSumQuantityPredicateForWorkouts (Foundation.NSPredicateOperatorType operatorType, HKQuantityType quantityType, HKQuantity sumQuantity);
public static Foundation.NSPredicate PredicateForObjectsWithNoCorrelation ();
}
public class HKQueryAnchor : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKQueryAnchor (Foundation.NSCoder coder);
protected HKQueryAnchor (Foundation.NSObjectFlag t);
protected HKQueryAnchor (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static HKQueryAnchor Create (nuint value);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKQueryDescriptor : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKQueryDescriptor (Foundation.NSCoder coder);
protected HKQueryDescriptor (Foundation.NSObjectFlag t);
protected HKQueryDescriptor (IntPtr handle);
public HKQueryDescriptor (HKSampleType sampleType, Foundation.NSPredicate predicate);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSPredicate Predicate { get; }
public virtual HKSampleType SampleType { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
[Flags]
public enum HKQueryOptions {
None = 0,
StrictEndDate = 2,
StrictStartDate = 1,
}
public class HKSample : HealthKit.HKObject {
// constructors
public HKSample (Foundation.NSCoder coder);
protected HKSample (Foundation.NSObjectFlag t);
protected HKSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate EndDate { get; }
public virtual bool HasUndeterminedDuration { get; }
public virtual HKSampleType SampleType { get; }
public static Foundation.NSString SortIdentifierEndDate { get; }
public static Foundation.NSString SortIdentifierStartDate { get; }
public virtual Foundation.NSDate StartDate { get; }
}
public class HKSampleQuery : HealthKit.HKQuery {
// constructors
protected HKSampleQuery (Foundation.NSObjectFlag t);
protected HKSampleQuery (IntPtr handle);
public HKSampleQuery (HKQueryDescriptor[] queryDescriptors, nint limit, HKSampleQueryResultsHandler resultsHandler);
public HKSampleQuery (HKQueryDescriptor[] queryDescriptors, nint limit, Foundation.NSSortDescriptor[] sortDescriptors, HKSampleQueryResultsHandler resultsHandler);
public HKSampleQuery (HKSampleType sampleType, Foundation.NSPredicate predicate, nuint limit, Foundation.NSSortDescriptor[] sortDescriptors, HKSampleQueryResultsHandler resultsHandler);
// fields
public static const int NoLimit;
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Limit { get; }
public virtual Foundation.NSSortDescriptor[] SortDescriptors { get; }
}
public sealed delegate HKSampleQueryResultsHandler : System.MulticastDelegate {
// constructors
public HKSampleQueryResultsHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKSampleQuery query, HKSample[] results, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKSampleQuery query, HKSample[] results, Foundation.NSError error);
}
public abstract class HKSampleType : HealthKit.HKObjectType {
// constructors
protected HKSampleType (Foundation.NSCoder coder);
protected HKSampleType (Foundation.NSObjectFlag t);
protected HKSampleType (IntPtr handle);
// properties
public virtual bool AllowsRecalibrationForEstimates { get; }
public override IntPtr ClassHandle { get; }
public virtual bool IsMaximumDurationRestricted { get; }
public virtual bool IsMinimumDurationRestricted { get; }
public virtual double MaximumAllowedDuration { get; }
public virtual double MinimumAllowedDuration { get; }
}
public class HKSeriesBuilder : Foundation.NSObject {
// constructors
protected HKSeriesBuilder (Foundation.NSObjectFlag t);
protected HKSeriesBuilder (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void Discard ();
}
public class HKSeriesSample : HealthKit.HKSample, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKSeriesSample (Foundation.NSCoder coder);
protected HKSeriesSample (Foundation.NSObjectFlag t);
protected HKSeriesSample (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Count { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class HKSeriesType : HealthKit.HKSampleType {
// constructors
public HKSeriesType (Foundation.NSCoder coder);
protected HKSeriesType (Foundation.NSObjectFlag t);
protected HKSeriesType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static HKSeriesType HeartbeatSeriesType { get; }
public static HKSeriesType WorkoutRouteType { get; }
}
public class HKSource : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKSource (Foundation.NSCoder coder);
protected HKSource (Foundation.NSObjectFlag t);
protected HKSource (IntPtr handle);
// properties
public virtual string BundleIdentifier { get; }
public override IntPtr ClassHandle { get; }
public static HKSource GetDefaultSource { get; }
public virtual string Name { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKSourceQuery : HealthKit.HKQuery {
// constructors
protected HKSourceQuery (Foundation.NSObjectFlag t);
protected HKSourceQuery (IntPtr handle);
public HKSourceQuery (HKSampleType sampleType, Foundation.NSPredicate objectPredicate, HKSourceQueryCompletionHandler completionHandler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKSourceQueryCompletionHandler : System.MulticastDelegate {
// constructors
public HKSourceQueryCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKSourceQuery query, Foundation.NSSet sources, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKSourceQuery query, Foundation.NSSet sources, Foundation.NSError error);
}
public class HKSourceRevision : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKSourceRevision (Foundation.NSCoder coder);
protected HKSourceRevision (Foundation.NSObjectFlag t);
protected HKSourceRevision (IntPtr handle);
public HKSourceRevision (HKSource source, string version);
public HKSourceRevision (HKSource source, string version, string productType, Foundation.NSOperatingSystemVersion operatingSystemVersion);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSOperatingSystemVersion OperatingSystemVersion { get; }
public virtual string ProductType { get; }
public virtual HKSource Source { get; }
public virtual string Version { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public static class HKSourceRevisionInfo {
// properties
public static Foundation.NSString AnyProductType { get; }
public static Foundation.NSString AnyVersion { get; }
}
public class HKStatistics : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKStatistics (Foundation.NSCoder coder);
protected HKStatistics (Foundation.NSObjectFlag t);
protected HKStatistics (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKQuantity Duration { get; }
public virtual Foundation.NSDate EndDate { get; }
public virtual HKQuantity MostRecentQuantity { get; }
public virtual Foundation.NSDateInterval MostRecentQuantityDateInterval { get; }
public virtual HKQuantityType QuantityType { get; }
public virtual HKSource[] Sources { get; }
public virtual Foundation.NSDate StartDate { get; }
// methods
public virtual HKQuantity AverageQuantity ();
public virtual HKQuantity AverageQuantity (HKSource source);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual HKQuantity GetDuration (HKSource source);
public virtual HKQuantity GetMostRecentQuantity (HKSource source);
public virtual Foundation.NSDateInterval GetMostRecentQuantityDateInterval (HKSource source);
public virtual HKQuantity MaximumQuantity ();
public virtual HKQuantity MaximumQuantity (HKSource source);
public virtual HKQuantity MinimumQuantity ();
public virtual HKQuantity MinimumQuantity (HKSource source);
public virtual HKQuantity SumQuantity ();
public virtual HKQuantity SumQuantity (HKSource source);
}
public class HKStatisticsCollection : Foundation.NSObject {
// constructors
protected HKStatisticsCollection (Foundation.NSObjectFlag t);
protected HKStatisticsCollection (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet Sources { get; }
public virtual HKStatistics[] Statistics { get; }
// methods
public virtual void EnumerateStatistics (Foundation.NSDate startDate, Foundation.NSDate endDate, HKStatisticsCollectionEnumerator handler);
public virtual HKStatistics GetStatistics (Foundation.NSDate date);
}
public sealed delegate HKStatisticsCollectionEnumerator : System.MulticastDelegate {
// constructors
public HKStatisticsCollectionEnumerator (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKStatistics result, bool stop, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKStatistics result, bool stop);
}
public class HKStatisticsCollectionQuery : HealthKit.HKQuery {
// constructors
protected HKStatisticsCollectionQuery (Foundation.NSObjectFlag t);
protected HKStatisticsCollectionQuery (IntPtr handle);
public HKStatisticsCollectionQuery (HKQuantityType quantityType, Foundation.NSPredicate quantitySamplePredicate, HKStatisticsOptions options, Foundation.NSDate anchorDate, Foundation.NSDateComponents intervalComponents);
// properties
public virtual Foundation.NSDate AnchorDate { get; }
public override IntPtr ClassHandle { get; }
public virtual HKStatisticsCollectionQueryInitialResultsHandler InitialResultsHandler { get; set; }
public virtual Foundation.NSDateComponents IntervalComponents { get; }
public virtual HKStatisticsOptions Options { get; }
[Obsolete ("Use 'StatisticsUpdated', this handler uses an incorrect type and does nothing to avoid a crash.")]
public virtual HKStatisticsCollectionQueryInitialResultsHandler StatisticsUpdateHandler { get; set; }
public virtual HKStatisticsCollectionQueryStatisticsUpdateHandler StatisticsUpdated { get; set; }
// methods
[Obsolete ("Use 'InitialResultsHandler'.")]
public virtual void SetInitialResultsHandler (HKStatisticsCollectionQueryInitialResultsHandler handler);
[Obsolete ("Use 'StatisticsUpdated', this handler uses an incorrect type and does nothing to avoid a crash.")]
public virtual void SetStatisticsUpdateHandler (HKStatisticsCollectionQueryInitialResultsHandler handler);
}
public sealed delegate HKStatisticsCollectionQueryInitialResultsHandler : System.MulticastDelegate {
// constructors
public HKStatisticsCollectionQueryInitialResultsHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKStatisticsCollectionQuery query, HKStatisticsCollection result, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKStatisticsCollectionQuery query, HKStatisticsCollection result, Foundation.NSError error);
}
public sealed delegate HKStatisticsCollectionQueryStatisticsUpdateHandler : System.MulticastDelegate {
// constructors
public HKStatisticsCollectionQueryStatisticsUpdateHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKStatisticsCollectionQuery query, HKStatistics statistics, HKStatisticsCollection collection, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKStatisticsCollectionQuery query, HKStatistics statistics, HKStatisticsCollection collection, Foundation.NSError error);
}
[Serializable]
[Flags]
public enum HKStatisticsOptions {
CumulativeSum = 16,
DiscreteAverage = 2,
DiscreteMax = 8,
DiscreteMin = 4,
Duration = 64,
MostRecent = 32,
None = 0,
SeparateBySource = 1,
}
public class HKStatisticsQuery : HealthKit.HKQuery {
// constructors
protected HKStatisticsQuery (Foundation.NSObjectFlag t);
protected HKStatisticsQuery (IntPtr handle);
public HKStatisticsQuery (HKQuantityType quantityType, Foundation.NSPredicate quantitySamplePredicate, HKStatisticsOptions options, HKStatisticsQueryHandler handler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKStatisticsQueryHandler : System.MulticastDelegate {
// constructors
public HKStatisticsQueryHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKStatisticsQuery query, HKStatistics result, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKStatisticsQuery query, HKStatistics result, Foundation.NSError error);
}
public sealed delegate HKStoreSampleAddedCallback : System.MulticastDelegate {
// constructors
public HKStoreSampleAddedCallback (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);
}
[Serializable]
public enum HKSwimmingStrokeStyle {
Backstroke = 3,
Breaststroke = 4,
Butterfly = 5,
Freestyle = 2,
Kickboard = 6,
Mixed = 1,
Unknown = 0,
}
public class HKUnit : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKUnit (Foundation.NSCoder coder);
protected HKUnit (Foundation.NSObjectFlag t);
protected HKUnit (IntPtr handle);
// fields
public static const double MolarMassBloodGlucose;
// properties
public static HKUnit Atmosphere { get; }
public static HKUnit Calorie { get; }
public static HKUnit CentimeterOfWater { get; }
public override IntPtr ClassHandle { get; }
public static HKUnit Count { get; }
public static HKUnit CupImperialUnit { get; }
public static HKUnit CupUSUnit { get; }
public static HKUnit Day { get; }
public static HKUnit DecibelAWeightedSoundPressureLevelUnit { get; }
public static HKUnit DecibelHearingLevelUnit { get; }
public static HKUnit DegreeAngle { get; }
public static HKUnit DegreeCelsius { get; }
public static HKUnit DegreeFahrenheit { get; }
public static HKUnit Diopter { get; }
public static HKUnit FluidOunceImperialUnit { get; }
public static HKUnit FluidOunceUSUnit { get; }
public static HKUnit Foot { get; }
public static HKUnit Gram { get; }
public static HKUnit HertzUnit { get; }
public static HKUnit Hour { get; }
public static HKUnit Inch { get; }
public static HKUnit InchesOfMercury { get; }
public static HKUnit InternationalUnit { get; }
public virtual bool IsNull { get; }
public static HKUnit Joule { get; }
public static HKUnit Kelvin { get; }
public static HKUnit Kilocalorie { get; }
public static HKUnit LargeCalorie { get; }
public static HKUnit Liter { get; }
public static HKUnit Meter { get; }
public static HKUnit Mile { get; }
public static HKUnit MillimeterOfMercury { get; }
public static HKUnit Minute { get; }
public static HKUnit Ounce { get; }
public static HKUnit Pascal { get; }
public static HKUnit Percent { get; }
public static HKUnit PintImperialUnit { get; }
public static HKUnit PintUSUnit { get; }
public static HKUnit Pound { get; }
public static HKUnit PrismDiopter { get; }
public static HKUnit RadianAngle { get; }
public static HKUnit Second { get; }
public static HKUnit Siemen { get; }
public static HKUnit SmallCalorie { get; }
public static HKUnit Stone { get; }
public virtual string UnitString { get; }
public static HKUnit Volt { get; }
public static HKUnit Watt { get; }
public static HKUnit Yard { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static HKUnit CreateJouleUnit (HKMetricPrefix prefix);
public static HKUnit CreateLiterUnit (HKMetricPrefix prefix);
public static HKUnit CreateMeterUnit (HKMetricPrefix prefix);
public static HKUnit CreateMoleUnit (double gramsPerMole);
public static HKUnit CreateMoleUnit (HKMetricPrefix prefix, double gramsPerMole);
public static HKUnit CreatePascalUnit (HKMetricPrefix prefix);
public static HKUnit CreateRadianAngle (HKMetricPrefix prefix);
public static HKUnit CreateSecondUnit (HKMetricPrefix prefix);
public static HKUnit CreateSiemenUnit (HKMetricPrefix prefix);
public static HKUnit CreateWatt (HKMetricPrefix prefix);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public static HKUnit FromEnergyFormatterUnit (Foundation.NSEnergyFormatterUnit energyFormatterUnit);
public static HKUnit FromGramUnit (HKMetricPrefix prefix);
public static HKUnit FromLengthFormatterUnit (Foundation.NSLengthFormatterUnit lengthFormatterUnit);
public static HKUnit FromMassFormatterUnit (Foundation.NSMassFormatterUnit massFormatterUnit);
public static HKUnit FromString (string aString);
public static Foundation.NSEnergyFormatterUnit GetEnergyFormatterUnit (HKUnit unit);
public static HKUnit GetHertzUnit (HKMetricPrefix prefix);
public static Foundation.NSLengthFormatterUnit GetLengthFormatterUnit (HKUnit unit);
public static Foundation.NSMassFormatterUnit GetMassFormatterUnit (HKUnit unit);
public static HKUnit GetVolt (HKMetricPrefix prefix);
public virtual HKUnit ReciprocalUnit ();
public virtual HKUnit UnitDividedBy (HKUnit unit);
public virtual HKUnit UnitMultipliedBy (HKUnit unit);
public virtual HKUnit UnitRaisedToPower (nint power);
}
[Serializable]
public enum HKUpdateFrequency {
Daily = 3,
Hourly = 2,
Immediate = 1,
Weekly = 4,
}
[Serializable]
public enum HKUserMotionContext {
Active = 2,
NotSet = 0,
Stationary = 1,
}
[Serializable]
public enum HKVO2MaxTestType {
MaxExercise = 1,
PredictionNonExercise = 3,
PredictionSubMaxExercise = 2,
}
public class HKVerifiableClinicalRecord : HealthKit.HKSample {
// constructors
public HKVerifiableClinicalRecord (Foundation.NSCoder coder);
protected HKVerifiableClinicalRecord (Foundation.NSObjectFlag t);
protected HKVerifiableClinicalRecord (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData DataRepresentation { get; }
public virtual Foundation.NSDate ExpirationDate { get; }
public virtual Foundation.NSDate IssuedDate { get; }
public virtual string IssuerIdentifier { get; }
public virtual string[] ItemNames { get; }
public virtual Foundation.NSData JwsRepresentation { get; }
public virtual string[] RecordTypes { get; }
public virtual Foundation.NSDate RelevantDate { get; }
public virtual string SourceType { get; }
public virtual HKVerifiableClinicalRecordSubject Subject { get; }
}
[Serializable]
public enum HKVerifiableClinicalRecordCredentialType {
Covid19 = 1,
Immunization = 2,
Laboratory = 3,
None = 0,
Recovery = 4,
}
public static class HKVerifiableClinicalRecordCredentialTypeExtensions {
// methods
public static Foundation.NSString GetConstant (this HKVerifiableClinicalRecordCredentialType self);
public static HKVerifiableClinicalRecordCredentialType GetValue (Foundation.NSString constant);
}
public class HKVerifiableClinicalRecordQuery : HealthKit.HKQuery {
// constructors
protected HKVerifiableClinicalRecordQuery (Foundation.NSObjectFlag t);
protected HKVerifiableClinicalRecordQuery (IntPtr handle);
public HKVerifiableClinicalRecordQuery (string[] recordTypes, Foundation.NSPredicate predicate, HKVerifiableClinicalRecordQueryResultHandler handler);
public HKVerifiableClinicalRecordQuery (string[] recordTypes, HKVerifiableClinicalRecordSourceType[] sourceTypes, Foundation.NSPredicate predicate, System.Action<HKVerifiableClinicalRecordQuery,HealthKit.HKVerifiableClinicalRecord[],Foundation.NSError> resultsHandler);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] RecordTypes { get; }
public virtual HKVerifiableClinicalRecordSourceType[] SourceTypes { get; }
}
public sealed delegate HKVerifiableClinicalRecordQueryResultHandler : System.MulticastDelegate {
// constructors
public HKVerifiableClinicalRecordQueryResultHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKVerifiableClinicalRecordQuery query, Foundation.NSArray<HKVerifiableClinicalRecord> records, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKVerifiableClinicalRecordQuery query, Foundation.NSArray<HKVerifiableClinicalRecord> records, Foundation.NSError error);
}
[Serializable]
public enum HKVerifiableClinicalRecordSourceType {
EuDigitalCovidCertificate = 2,
None = 0,
SmartHealthCard = 1,
}
public static class HKVerifiableClinicalRecordSourceTypeExtensions {
// methods
public static Foundation.NSString GetConstant (this HKVerifiableClinicalRecordSourceType self);
public static HKVerifiableClinicalRecordSourceType GetValue (Foundation.NSString constant);
}
public class HKVerifiableClinicalRecordSubject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKVerifiableClinicalRecordSubject (Foundation.NSCoder coder);
protected HKVerifiableClinicalRecordSubject (Foundation.NSObjectFlag t);
protected HKVerifiableClinicalRecordSubject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDateComponents DateOfBirthComponents { get; }
public virtual string FullName { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKVisionEye {
Left = 1,
Right = 2,
}
public class HKVisionPrescription : HealthKit.HKSample {
// constructors
public HKVisionPrescription (Foundation.NSCoder coder);
protected HKVisionPrescription (Foundation.NSObjectFlag t);
protected HKVisionPrescription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate DateIssued { get; }
public virtual Foundation.NSDate ExpirationDate { get; }
public virtual HKVisionPrescriptionType PrescriptionType { get; }
public static Foundation.NSString TypeIdentifier { get; }
// methods
public static HKVisionPrescription GetPrescription (HKVisionPrescriptionType type, Foundation.NSDate dateIssued, Foundation.NSDate expirationDate, HKDevice device, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
[Serializable]
public enum HKVisionPrescriptionType {
Contacts = 2,
Glasses = 1,
}
public class HKVisionPrism : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKVisionPrism (Foundation.NSCoder coder);
protected HKVisionPrism (Foundation.NSObjectFlag t);
protected HKVisionPrism (IntPtr handle);
public HKVisionPrism (HKQuantity amount, HKQuantity angle, HKVisionEye eye);
public HKVisionPrism (HKQuantity verticalAmount, HKPrismBase verticalBase, HKQuantity horizontalAmount, HKPrismBase horizontalBase, HKVisionEye eye);
// properties
public virtual HKQuantity Amount { get; }
public virtual HKQuantity Angle { get; }
public override IntPtr ClassHandle { get; }
public virtual HKVisionEye Eye { get; }
public virtual HKQuantity HorizontalAmount { get; }
public virtual HKPrismBase HorizontalBase { get; }
public virtual HKQuantity VerticalAmount { get; }
public virtual HKPrismBase VerticalBase { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKWeatherCondition {
Blustery = 9,
Clear = 1,
Cloudy = 5,
Drizzle = 21,
Dust = 11,
Fair = 2,
Foggy = 6,
FreezingDrizzle = 15,
FreezingRain = 16,
Hail = 13,
Haze = 7,
Hurricane = 26,
MixedRainAndHail = 17,
MixedRainAndSleet = 19,
MixedRainAndSnow = 18,
MixedSnowAndSleet = 20,
MostlyCloudy = 4,
None = 0,
PartlyCloudy = 3,
ScatteredShowers = 22,
Showers = 23,
Sleet = 14,
Smoky = 10,
Snow = 12,
Thunderstorms = 24,
Tornado = 27,
TropicalStorm = 25,
Windy = 8,
}
[Serializable]
public enum HKWheelchairUse {
No = 1,
NotSet = 0,
Yes = 2,
}
public class HKWheelchairUseObject : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKWheelchairUseObject ();
public HKWheelchairUseObject (Foundation.NSCoder coder);
protected HKWheelchairUseObject (Foundation.NSObjectFlag t);
protected HKWheelchairUseObject (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual HKWheelchairUse WheelchairUse { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKWorkout : HealthKit.HKSample {
// constructors
public HKWorkout (Foundation.NSCoder coder);
protected HKWorkout (Foundation.NSObjectFlag t);
protected HKWorkout (IntPtr handle);
// properties
public virtual Foundation.NSDictionary<HKQuantityType,HealthKit.HKStatistics> AllStatistics { get; }
public override IntPtr ClassHandle { get; }
public virtual double Duration { get; }
public static Foundation.NSString SortIdentifierDuration { get; }
public static Foundation.NSString SortIdentifierTotalDistance { get; }
public static Foundation.NSString SortIdentifierTotalEnergyBurned { get; }
public static Foundation.NSString SortIdentifierTotalFlightsClimbed { get; }
public static Foundation.NSString SortIdentifierTotalSwimmingStrokeCount { get; }
public virtual HKQuantity TotalDistance { get; }
public virtual HKQuantity TotalEnergyBurned { get; }
public virtual HKQuantity TotalFlightsClimbed { get; }
public virtual HKQuantity TotalSwimmingStrokeCount { get; }
public virtual HKWorkoutActivity[] WorkoutActivities { get; }
public virtual HKWorkoutActivityType WorkoutActivityType { get; }
public virtual HKWorkoutEvent[] WorkoutEvents { get; }
// methods
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, Foundation.NSDictionary metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, Foundation.NSDictionary metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKMetadata metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, Foundation.NSDictionary metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, Foundation.NSDictionary metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, double duration, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKDevice device, HKMetadata metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalSwimmingStrokeCount, HKDevice device, Foundation.NSDictionary metadata);
public static HKWorkout Create (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalSwimmingStrokeCount, HKDevice device, HKMetadata metadata);
public static HKWorkout CreateFlightsClimbedWorkout (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalFlightsClimbed, HKDevice device, Foundation.NSDictionary metadata);
public static HKWorkout CreateFlightsClimbedWorkout (HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HKWorkoutEvent[] workoutEvents, HKQuantity totalEnergyBurned, HKQuantity totalDistance, HKQuantity totalFlightsClimbed, HKDevice device, HKMetadata metadata);
public virtual HKStatistics GetStatistics (HKQuantityType quantityType);
}
public class HKWorkoutActivity : Foundation.NSObject {
// constructors
protected HKWorkoutActivity (Foundation.NSObjectFlag t);
protected HKWorkoutActivity (IntPtr handle);
public HKWorkoutActivity (HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate startDate, Foundation.NSDate endDate, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
// properties
public virtual Foundation.NSDictionary<HKQuantityType,HealthKit.HKStatistics> AllStatistics { get; }
public override IntPtr ClassHandle { get; }
public virtual double Duration { get; }
public virtual Foundation.NSDate EndDate { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Metadata { get; }
public virtual Foundation.NSDate StartDate { get; }
public virtual Foundation.NSUuid Uuid { get; }
public virtual HKWorkoutConfiguration WorkoutConfiguration { get; }
public virtual HKWorkoutEvent[] WorkoutEvents { get; }
// methods
public virtual HKStatistics GetStatistics (HKQuantityType quantityType);
}
[Serializable]
public enum HKWorkoutActivityType {
AmericanFootball = 1,
Archery = 2,
AustralianFootball = 3,
Badminton = 4,
Barre = 58,
Baseball = 5,
Basketball = 6,
Bowling = 7,
Boxing = 8,
CardioDance = 77,
Climbing = 9,
Cooldown = 80,
CoreTraining = 59,
Cricket = 10,
CrossCountrySkiing = 60,
CrossTraining = 11,
Curling = 12,
Cycling = 13,
Dance = 14,
DanceInspiredTraining = 15,
DiscSports = 75,
DownhillSkiing = 61,
Elliptical = 16,
EquestrianSports = 17,
Fencing = 18,
Fishing = 19,
FitnessGaming = 76,
Flexibility = 62,
FunctionalStrengthTraining = 20,
Golf = 21,
Gymnastics = 22,
HandCycling = 74,
Handball = 23,
HighIntensityIntervalTraining = 63,
Hiking = 24,
Hockey = 25,
Hunting = 26,
JumpRope = 64,
Kickboxing = 65,
Lacrosse = 27,
MartialArts = 28,
MindAndBody = 29,
MixedCardio = 73,
MixedMetabolicCardioTraining = 30,
Other = 3000,
PaddleSports = 31,
Pickleball = 79,
Pilates = 66,
Play = 32,
PreparationAndRecovery = 33,
Racquetball = 34,
Rowing = 35,
Rugby = 36,
Running = 37,
Sailing = 38,
SkatingSports = 39,
SnowSports = 40,
Snowboarding = 67,
Soccer = 41,
SocialDance = 78,
Softball = 42,
Squash = 43,
StairClimbing = 44,
Stairs = 68,
StepTraining = 69,
SurfingSports = 45,
SwimBikeRun = 82,
Swimming = 46,
TableTennis = 47,
TaiChi = 72,
Tennis = 48,
TrackAndField = 49,
TraditionalStrengthTraining = 50,
Transition = 83,
Volleyball = 51,
Walking = 52,
WaterFitness = 53,
WaterPolo = 54,
WaterSports = 55,
WheelchairRunPace = 71,
WheelchairWalkPace = 70,
Wrestling = 56,
Yoga = 57,
}
public class HKWorkoutBuilder : Foundation.NSObject {
// constructors
protected HKWorkoutBuilder (Foundation.NSObjectFlag t);
protected HKWorkoutBuilder (IntPtr handle);
public HKWorkoutBuilder (HKHealthStore healthStore, HKWorkoutConfiguration configuration, HKDevice device);
// properties
public virtual Foundation.NSDictionary<HKQuantityType,HealthKit.HKStatistics> AllStatistics { get; }
public override IntPtr ClassHandle { get; }
public virtual HKDevice Device { get; }
public virtual Foundation.NSDate EndDate { get; }
public HKMetadata Metadata { get; }
protected virtual Foundation.NSDictionary NativeMetadata { get; }
public virtual Foundation.NSDate StartDate { get; }
public virtual HKWorkoutActivity[] WorkoutActivities { get; }
public virtual HKWorkoutConfiguration WorkoutConfiguration { get; }
public virtual HKWorkoutEvent[] WorkoutEvents { get; }
// methods
protected virtual void Add (Foundation.NSDictionary metadata, HKWorkoutBuilderCompletionHandler completionHandler);
public void Add (HKMetadata metadata, HKWorkoutBuilderCompletionHandler completionHandler);
public virtual void Add (HKSample[] samples, HKWorkoutBuilderCompletionHandler completionHandler);
public virtual void Add (HKWorkoutEvent[] workoutEvents, HKWorkoutBuilderCompletionHandler completionHandler);
protected virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddAsync (Foundation.NSDictionary metadata);
public System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddAsync (HKMetadata metadata);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddAsync (HKSample[] samples);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddAsync (HKWorkoutEvent[] workoutEvents);
public virtual void AddWorkoutActivity (HKWorkoutActivity workoutActivity, HKWorkoutBuilderCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddWorkoutActivityAsync (HKWorkoutActivity workoutActivity);
public virtual void BeginCollection (Foundation.NSDate startDate, HKWorkoutBuilderCompletionHandler completionHandler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> BeginCollectionAsync (Foundation.NSDate startDate);
public virtual void DiscardWorkout ();
public virtual void EndCollection (Foundation.NSDate endDate, HKWorkoutBuilderCompletionHandler completionHandler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> EndCollectionAsync (Foundation.NSDate endDate);
public virtual void FinishWorkout (HKWorkoutBuilderCompletionHandler completionHandler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> FinishWorkoutAsync ();
public virtual double GetElapsedTime (Foundation.NSDate date);
public virtual HKSeriesBuilder GetSeriesBuilder (HKSeriesType seriesType);
public virtual HKStatistics GetStatistics (HKQuantityType quantityType);
public virtual void UpdateActivity (Foundation.NSUuid uuid, Foundation.NSDate endDate, HKWorkoutBuilderCompletionHandler completion);
public virtual void UpdateActivity (Foundation.NSUuid uuid, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata, HKWorkoutBuilderCompletionHandler completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> UpdateActivityAsync (Foundation.NSUuid uuid, Foundation.NSDate endDate);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> UpdateActivityAsync (Foundation.NSUuid uuid, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
}
public sealed delegate HKWorkoutBuilderCompletionHandler : System.MulticastDelegate {
// constructors
public HKWorkoutBuilderCompletionHandler (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);
}
public class HKWorkoutConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKWorkoutConfiguration ();
public HKWorkoutConfiguration (Foundation.NSCoder coder);
protected HKWorkoutConfiguration (Foundation.NSObjectFlag t);
protected HKWorkoutConfiguration (IntPtr handle);
// properties
public virtual HKWorkoutActivityType ActivityType { get; set; }
public override IntPtr ClassHandle { get; }
public virtual HKQuantity LapLength { get; set; }
public virtual HKWorkoutSessionLocationType LocationType { get; set; }
public virtual HKWorkoutSwimmingLocationType SwimmingLocationType { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class HKWorkoutEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKWorkoutEvent (Foundation.NSCoder coder);
protected HKWorkoutEvent (Foundation.NSObjectFlag t);
protected HKWorkoutEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate Date { get; }
public virtual Foundation.NSDateInterval DateInterval { get; }
public HKMetadata Metadata { get; }
public virtual HKWorkoutEventType Type { get; }
public virtual Foundation.NSDictionary WeakMetadata { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static HKWorkoutEvent Create (HKWorkoutEventType type, Foundation.NSDate date);
public static HKWorkoutEvent Create (HKWorkoutEventType type, Foundation.NSDate date, Foundation.NSDictionary metadata);
public static HKWorkoutEvent Create (HKWorkoutEventType type, Foundation.NSDate date, HKMetadata metadata);
public static HKWorkoutEvent Create (HKWorkoutEventType type, Foundation.NSDateInterval dateInterval, Foundation.NSDictionary metadata);
public static HKWorkoutEvent Create (HKWorkoutEventType type, Foundation.NSDateInterval dateInterval, HKMetadata metadata);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum HKWorkoutEventType {
Lap = 3,
Marker = 4,
MotionPaused = 5,
MotionResumed = 6,
Pause = 1,
PauseOrResumeRequest = 8,
Resume = 2,
Segment = 7,
}
public class HKWorkoutRoute : HealthKit.HKSeriesSample, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKWorkoutRoute (Foundation.NSCoder coder);
protected HKWorkoutRoute (Foundation.NSObjectFlag t);
protected HKWorkoutRoute (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString TypeIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class HKWorkoutRouteBuilder : HealthKit.HKSeriesBuilder {
// constructors
protected HKWorkoutRouteBuilder (Foundation.NSObjectFlag t);
protected HKWorkoutRouteBuilder (IntPtr handle);
public HKWorkoutRouteBuilder (HKHealthStore healthStore, HKDevice device);
// properties
public override IntPtr ClassHandle { get; }
// methods
protected virtual void AddMetadata (Foundation.NSDictionary metadata, HKWorkoutRouteBuilderAddMetadataHandler completion);
public void AddMetadata (HKMetadata metadata, HKWorkoutRouteBuilderAddMetadataHandler completion);
protected virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddMetadataAsync (Foundation.NSDictionary metadata);
public System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> AddMetadataAsync (HKMetadata metadata);
protected virtual void FinishRoute (HKWorkout workout, Foundation.NSDictionary metadata, System.Action<HKWorkoutRoute,Foundation.NSError> completion);
public void FinishRoute (HKWorkout workout, HKMetadata metadata, System.Action<HKWorkoutRoute,Foundation.NSError> completion);
protected virtual System.Threading.Tasks.Task<HKWorkoutRoute> FinishRouteAsync (HKWorkout workout, Foundation.NSDictionary metadata);
public System.Threading.Tasks.Task<HKWorkoutRoute> FinishRouteAsync (HKWorkout workout, HKMetadata metadata);
public virtual void InsertRouteData (CoreLocation.CLLocation[] routeData, System.Action<System.Boolean,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> InsertRouteDataAsync (CoreLocation.CLLocation[] routeData);
}
public sealed delegate HKWorkoutRouteBuilderAddMetadataHandler : System.MulticastDelegate {
// constructors
public HKWorkoutRouteBuilderAddMetadataHandler (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);
}
public sealed delegate HKWorkoutRouteBuilderDataHandler : System.MulticastDelegate {
// constructors
public HKWorkoutRouteBuilderDataHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKWorkoutRouteQuery query, CoreLocation.CLLocation[] routeData, bool done, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKWorkoutRouteQuery query, CoreLocation.CLLocation[] routeData, bool done, Foundation.NSError error);
}
public class HKWorkoutRouteQuery : HealthKit.HKQuery {
// constructors
public HKWorkoutRouteQuery ();
protected HKWorkoutRouteQuery (Foundation.NSObjectFlag t);
protected HKWorkoutRouteQuery (IntPtr handle);
public HKWorkoutRouteQuery (HKWorkoutRoute workoutRoute, HKWorkoutRouteBuilderDataHandler dataHandler);
public HKWorkoutRouteQuery (HKWorkoutRoute workoutRoute, Foundation.NSDateInterval dateInterval, HKWorkoutRouteQueryDataHandler dataHandler);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate HKWorkoutRouteQueryDataHandler : System.MulticastDelegate {
// constructors
public HKWorkoutRouteQueryDataHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (HKWorkoutRouteQuery query, CoreLocation.CLLocation[] routeData, bool done, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (HKWorkoutRouteQuery query, CoreLocation.CLLocation[] routeData, bool done, Foundation.NSError error);
}
public class HKWorkoutSession : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public HKWorkoutSession (Foundation.NSCoder coder);
protected HKWorkoutSession (Foundation.NSObjectFlag t);
protected HKWorkoutSession (IntPtr handle);
public HKWorkoutSession (HKWorkoutActivityType activityType, HKWorkoutSessionLocationType locationType);
public HKWorkoutSession (HKWorkoutConfiguration workoutConfiguration, out Foundation.NSError error);
public HKWorkoutSession (HKHealthStore healthStore, HKWorkoutConfiguration workoutConfiguration, out Foundation.NSError error);
// properties
public virtual HKWorkoutActivityType ActivityType { get; }
public virtual HKLiveWorkoutBuilder AssociatedWorkoutBuilder { get; }
public override IntPtr ClassHandle { get; }
public virtual HKWorkoutActivity CurrentActivity { get; }
public IHKWorkoutSessionDelegate Delegate { get; set; }
public virtual Foundation.NSDate EndDate { get; }
public virtual HKWorkoutSessionLocationType LocationType { get; }
public virtual Foundation.NSDate StartDate { get; }
public virtual HKWorkoutSessionState State { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
public virtual HKWorkoutConfiguration WorkoutConfiguration { get; }
// methods
public virtual void BeginNewActivity (HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
protected override void Dispose (bool disposing);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual void End ();
public virtual void EndCurrentActivity (Foundation.NSDate date);
public virtual void Pause ();
public virtual void Prepare ();
public virtual void Resume ();
public virtual void StartActivity (Foundation.NSDate date);
public virtual void StopActivity (Foundation.NSDate date);
}
public abstract class HKWorkoutSessionDelegate : Foundation.NSObject, IHKWorkoutSessionDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected HKWorkoutSessionDelegate ();
protected HKWorkoutSessionDelegate (Foundation.NSObjectFlag t);
protected HKWorkoutSessionDelegate (IntPtr handle);
// methods
public virtual void DidBeginActivity (HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date);
public virtual void DidChangeToState (HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, Foundation.NSDate date);
public virtual void DidEndActivity (HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date);
public virtual void DidFail (HKWorkoutSession workoutSession, Foundation.NSError error);
public virtual void DidGenerateEvent (HKWorkoutSession workoutSession, HKWorkoutEvent event);
}
public static class HKWorkoutSessionDelegate_Extensions {
// methods
public static void DidBeginActivity (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date);
public static void DidEndActivity (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutConfiguration workoutConfiguration, Foundation.NSDate date);
public static void DidGenerateEvent (this IHKWorkoutSessionDelegate This, HKWorkoutSession workoutSession, HKWorkoutEvent event);
}
[Serializable]
public enum HKWorkoutSessionLocationType {
Indoor = 2,
Outdoor = 3,
Unknown = 1,
}
[Serializable]
public enum HKWorkoutSessionState {
Ended = 3,
NotStarted = 1,
Paused = 4,
Prepared = 5,
Running = 2,
Stopped = 6,
}
[Serializable]
public enum HKWorkoutSwimmingLocationType {
OpenWater = 2,
Pool = 1,
Unknown = 0,
}
public class HKWorkoutType : HealthKit.HKSampleType {
// constructors
public HKWorkoutType (Foundation.NSCoder coder);
protected HKWorkoutType (Foundation.NSObjectFlag t);
protected HKWorkoutType (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString Identifier { get; }
}
public interface IHKLiveWorkoutBuilderDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidCollectData (HKLiveWorkoutBuilder workoutBuilder, Foundation.NSSet<HKSampleType> collectedTypes);
public virtual void DidCollectEvent (HKLiveWorkoutBuilder workoutBuilder);
}
public interface IHKWorkoutSessionDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidChangeToState (HKWorkoutSession workoutSession, HKWorkoutSessionState toState, HKWorkoutSessionState fromState, Foundation.NSDate date);
public virtual void DidFail (HKWorkoutSession workoutSession, Foundation.NSError error);
}
public interface ISWCollaborationViewDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
public interface ISWHighlightCenterDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void HighlightsDidChange (SWHighlightCenter highlightCenter);
}
public interface ISWHighlightEvent : Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual Foundation.NSUrl HighlightUrl { get; }
}
public class SWAttributionView : AppKit.NSView {
// constructors
public SWAttributionView ();
public SWAttributionView (CoreGraphics.CGRect frame);
public SWAttributionView (Foundation.NSCoder coder);
protected SWAttributionView (Foundation.NSObjectFlag t);
protected SWAttributionView (IntPtr handle);
// properties
public virtual SWAttributionViewBackgroundStyle BackgroundStyle { get; set; }
public override IntPtr ClassHandle { get; }
public virtual SWAttributionViewDisplayContext DisplayContext { get; set; }
public virtual SWHighlight Highlight { get; set; }
public virtual AppKit.NSMenu HighlightMenu { get; }
public virtual SWAttributionViewHorizontalAlignment HorizontalAlignment { get; set; }
public virtual string MenuTitleForHideAction { get; set; }
public virtual nfloat PreferredMaxLayoutWidth { get; set; }
public virtual AppKit.NSMenu SupplementalMenu { get; set; }
}
[Serializable]
public enum SWAttributionViewBackgroundStyle {
Color = 1,
Default = 0,
Material = 2,
}
[Serializable]
public enum SWAttributionViewDisplayContext {
Detail = 1,
Summary = 0,
}
[Serializable]
public enum SWAttributionViewHorizontalAlignment {
Center = 2,
Default = 0,
Leading = 1,
Trailing = 3,
}
public class SWCollaborationHighlight : SharedWithYou.SWHighlight, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWCollaborationHighlight ();
public SWCollaborationHighlight (Foundation.NSCoder coder);
protected SWCollaborationHighlight (Foundation.NSObjectFlag t);
protected SWCollaborationHighlight (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string CollaborationIdentifier { get; }
public virtual UniformTypeIdentifiers.UTType ContentType { get; }
public virtual Foundation.NSDate CreationDate { get; }
public virtual string Title { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWCollaborationView : AppKit.NSView {
// constructors
public SWCollaborationView ();
public SWCollaborationView (CoreGraphics.CGRect frame);
public SWCollaborationView (Foundation.NSCoder coder);
public SWCollaborationView (Foundation.NSItemProvider itemProvider);
protected SWCollaborationView (Foundation.NSObjectFlag t);
protected SWCollaborationView (IntPtr handle);
// properties
public virtual nuint ActiveParticipantCount { get; set; }
public override IntPtr ClassHandle { get; }
public AppKit.INSCloudSharingServiceDelegate CloudSharingDelegate { get; set; }
public AppKit.INSCloudSharingServiceDelegate CloudSharingServiceDelegate { get; set; }
public ISWCollaborationViewDelegate Delegate { get; set; }
public virtual AppKit.NSImage HeaderImage { get; set; }
public virtual string HeaderSubtitle { get; set; }
public virtual string HeaderTitle { get; set; }
public virtual string ManageButtonTitle { get; set; }
public virtual Foundation.NSObject WeakCloudSharingDelegate { get; set; }
public virtual Foundation.NSObject WeakCloudSharingServiceDelegate { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual void DismissPopover (System.Action callback);
protected override void Dispose (bool disposing);
public virtual void SetContentView (AppKit.NSView detailViewListContentView);
public virtual void SetShowManageButton (bool showManageButton);
}
public class SWCollaborationViewDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISWCollaborationViewDelegate, System.IDisposable {
// constructors
public SWCollaborationViewDelegate ();
protected SWCollaborationViewDelegate (Foundation.NSObjectFlag t);
protected SWCollaborationViewDelegate (IntPtr handle);
// methods
public virtual void DidDismissPopover (SWCollaborationView collaborationView);
public virtual bool ShouldPresentPopover (SWCollaborationView collaborationView);
public virtual void WillPresentPopover (SWCollaborationView collaborationView);
}
public static class SWCollaborationViewDelegate_Extensions {
// methods
public static void DidDismissPopover (this ISWCollaborationViewDelegate This, SWCollaborationView collaborationView);
public static bool ShouldPresentPopover (this ISWCollaborationViewDelegate This, SWCollaborationView collaborationView);
public static void WillPresentPopover (this ISWCollaborationViewDelegate This, SWCollaborationView collaborationView);
}
public class SWHighlight : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWHighlight (Foundation.NSCoder coder);
protected SWHighlight (Foundation.NSObjectFlag t);
protected SWHighlight (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject Identifier { get; }
public static Foundation.NSString MetadataTypeIdentifier { get; }
public virtual Foundation.NSUrl Url { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWHighlightCenter : Foundation.NSObject {
// constructors
public SWHighlightCenter ();
protected SWHighlightCenter (Foundation.NSObjectFlag t);
protected SWHighlightCenter (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public ISWHighlightCenterDelegate Delegate { get; set; }
public static string HighlightCollectionTitle { get; }
public virtual SWHighlight[] Highlights { get; }
public static bool SystemCollaborationSupportAvailable { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
public virtual void ClearNotices (SWCollaborationHighlight highlight);
protected override void Dispose (bool disposing);
public virtual void GetCollaborationHighlight (Foundation.NSUrl url, System.Action<SWCollaborationHighlight,Foundation.NSError> completionHandler);
public virtual SWCollaborationHighlight GetCollaborationHighlight (string collaborationIdentifier, out Foundation.NSError error);
public virtual System.Threading.Tasks.Task<SWCollaborationHighlight> GetCollaborationHighlightAsync (Foundation.NSUrl url);
public virtual void GetHighlight (Foundation.NSUrl urL, System.Action<SWHighlight,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<SWHighlight> GetHighlightAsync (Foundation.NSUrl urL);
public virtual void GetSignedIdentityProof (SWCollaborationHighlight collaborationHighlight, Foundation.NSData data, System.Action<ore.SWSignedPersonIdentityProof,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<ore.SWSignedPersonIdentityProof> GetSignedIdentityProofAsync (SWCollaborationHighlight collaborationHighlight, Foundation.NSData data);
public virtual void PostNotice (ISWHighlightEvent event);
}
public abstract class SWHighlightCenterDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, ISWHighlightCenterDelegate, System.IDisposable {
// constructors
protected SWHighlightCenterDelegate ();
protected SWHighlightCenterDelegate (Foundation.NSObjectFlag t);
protected SWHighlightCenterDelegate (IntPtr handle);
// methods
public virtual void HighlightsDidChange (SWHighlightCenter highlightCenter);
}
[Serializable]
public enum SWHighlightCenterErrorCode {
AccessDenied = 3,
InternalError = 1,
InvalidURL = 2,
NoError = 0,
}
public class SWHighlightChangeEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, ISWHighlightEvent, System.IDisposable {
// constructors
public SWHighlightChangeEvent (Foundation.NSCoder coder);
protected SWHighlightChangeEvent (Foundation.NSObjectFlag t);
protected SWHighlightChangeEvent (IntPtr handle);
public SWHighlightChangeEvent (SWHighlight highlight, SWHighlightChangeEventTrigger trigger);
// properties
public virtual SWHighlightChangeEventTrigger ChangeEventTrigger { get; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl HighlightUrl { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum SWHighlightChangeEventTrigger {
Comment = 2,
Edit = 1,
}
public class SWHighlightMembershipEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, ISWHighlightEvent, System.IDisposable {
// constructors
public SWHighlightMembershipEvent (Foundation.NSCoder coder);
protected SWHighlightMembershipEvent (Foundation.NSObjectFlag t);
protected SWHighlightMembershipEvent (IntPtr handle);
public SWHighlightMembershipEvent (SWHighlight highlight, SWHighlightMembershipEventTrigger trigger);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl HighlightUrl { get; }
public virtual SWHighlightMembershipEventTrigger MembershipEventTrigger { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum SWHighlightMembershipEventTrigger {
AddedCollaborator = 1,
RemovedCollaborator = 2,
}
public class SWHighlightMentionEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, ISWHighlightEvent, System.IDisposable {
// constructors
public SWHighlightMentionEvent (Foundation.NSCoder coder);
protected SWHighlightMentionEvent (Foundation.NSObjectFlag t);
protected SWHighlightMentionEvent (IntPtr handle);
public SWHighlightMentionEvent (SWHighlight highlight, ore.SWPersonIdentity identity);
public SWHighlightMentionEvent (SWHighlight highlight, string handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl HighlightUrl { get; }
public virtual string MentionedPersonHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWHighlightPersistenceEvent : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, ISWHighlightEvent, System.IDisposable {
// constructors
public SWHighlightPersistenceEvent (Foundation.NSCoder coder);
protected SWHighlightPersistenceEvent (Foundation.NSObjectFlag t);
protected SWHighlightPersistenceEvent (IntPtr handle);
public SWHighlightPersistenceEvent (SWHighlight highlight, SWHighlightPersistenceEventTrigger trigger);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl HighlightUrl { get; }
public virtual SWHighlightPersistenceEventTrigger PersistenceEventTrigger { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum SWHighlightPersistenceEventTrigger {
Created = 1,
Deleted = 2,
Moved = 4,
Renamed = 3,
}
public class SWRemoveParticipantAlert : Foundation.NSObject {
// constructors
protected SWRemoveParticipantAlert (Foundation.NSObjectFlag t);
protected SWRemoveParticipantAlert (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static void ShowAlert (ore.SWPerson participant, SWCollaborationHighlight highlight, AppKit.NSWindow window);
}
public interface ISWCollaborationActionHandler : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void HandleStartCollaborationAction (SWCollaborationCoordinator coordinator, SWStartCollaborationAction action);
public virtual void HandleUpdateCollaborationParticipantsAction (SWCollaborationCoordinator coordinator, SWUpdateCollaborationParticipantsAction action);
}
public class SWAction : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWAction ();
public SWAction (Foundation.NSCoder coder);
protected SWAction (Foundation.NSObjectFlag t);
protected SWAction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Complete { get; }
public virtual Foundation.NSUuid Uuid { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual void Fail ();
public virtual void Fulfill ();
}
public class SWCollaborationCoordinator : Foundation.NSObject {
// constructors
protected SWCollaborationCoordinator (Foundation.NSObjectFlag t);
protected SWCollaborationCoordinator (IntPtr handle);
// properties
public virtual ISWCollaborationActionHandler ActionHandler { get; set; }
public override IntPtr ClassHandle { get; }
public static SWCollaborationCoordinator SharedCoordinator { get; }
// methods
protected override void Dispose (bool disposing);
}
public class SWCollaborationMetadata : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSItemProviderReading, Foundation.INSItemProviderWriting, Foundation.INSMutableCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWCollaborationMetadata (Foundation.NSCoder coder);
protected SWCollaborationMetadata (Foundation.NSObjectFlag t);
protected SWCollaborationMetadata (IntPtr handle);
public SWCollaborationMetadata (string localIdentifier);
public SWCollaborationMetadata (string identifier, SWIdentifierType identifierType);
// properties
public override IntPtr ClassHandle { get; }
public virtual string CollaborationIdentifier { get; }
public virtual SWCollaborationShareOptions DefaultShareOptions { get; set; }
public virtual string InitiatorHandle { get; set; }
public virtual Foundation.NSPersonNameComponents InitiatorNameComponents { get; set; }
public virtual string LocalIdentifier { get; }
public static string[] ReadableTypeIdentifiers { get; }
public virtual string Title { get; set; }
public virtual SWCollaborationShareOptions UserSelectedShareOptions { get; set; }
public static string[] WritableTypeIdentifiers { get; }
public virtual string[] WritableTypeIdentifiersForItemProvider { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual Foundation.NSItemProviderRepresentationVisibility GetItemProviderVisibilityForTypeIdentifier (string typeIdentifier);
public static Foundation.INSItemProviderReading GetObject (Foundation.NSData data, string typeIdentifier, out Foundation.NSError outError);
public virtual Foundation.NSProgress LoadData (string typeIdentifier, System.Action<Foundation.NSData,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier);
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync (string typeIdentifier, out Foundation.NSProgress result);
public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone);
}
public class SWCollaborationOption : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWCollaborationOption (Foundation.NSCoder coder);
protected SWCollaborationOption (Foundation.NSObjectFlag t);
protected SWCollaborationOption (IntPtr handle);
public SWCollaborationOption (string title, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Identifier { get; }
public virtual string[] RequiredOptionsIdentifiers { get; set; }
public virtual bool Selected { get; set; }
public virtual string Subtitle { get; set; }
public virtual string Title { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static SWCollaborationOption Create (string title, string identifier);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWCollaborationOptionsGroup : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWCollaborationOptionsGroup (Foundation.NSCoder coder);
protected SWCollaborationOptionsGroup (Foundation.NSObjectFlag t);
protected SWCollaborationOptionsGroup (IntPtr handle);
public SWCollaborationOptionsGroup (string identifier, SWCollaborationOption[] options);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Footer { get; set; }
public virtual string Identifier { get; }
public virtual SWCollaborationOption[] Options { get; set; }
public virtual string Title { get; set; }
public static Foundation.NSString TypeIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static SWCollaborationOptionsGroup Create (string identifier, SWCollaborationOption[] options);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWCollaborationOptionsPickerGroup : SharedWithYouCore.SWCollaborationOptionsGroup {
// constructors
public SWCollaborationOptionsPickerGroup ();
public SWCollaborationOptionsPickerGroup (Foundation.NSCoder coder);
protected SWCollaborationOptionsPickerGroup (Foundation.NSObjectFlag t);
protected SWCollaborationOptionsPickerGroup (IntPtr handle);
public SWCollaborationOptionsPickerGroup (string identifier, SWCollaborationOption[] options);
// properties
public override IntPtr ClassHandle { get; }
public virtual string SelectedOptionIdentifier { get; set; }
}
public class SWCollaborationShareOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWCollaborationShareOptions (Foundation.NSCoder coder);
protected SWCollaborationShareOptions (Foundation.NSObjectFlag t);
public SWCollaborationShareOptions (SWCollaborationOptionsGroup[] optionsGroups);
protected SWCollaborationShareOptions (IntPtr handle);
public SWCollaborationShareOptions (SWCollaborationOptionsGroup[] optionsGroups, string summary);
// properties
public override IntPtr ClassHandle { get; }
public virtual SWCollaborationOptionsGroup[] OptionsGroups { get; set; }
public virtual string Summary { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static SWCollaborationShareOptions Create (SWCollaborationOptionsGroup[] optionsGroups);
public static SWCollaborationShareOptions Create (SWCollaborationOptionsGroup[] optionsGroups, string summary);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum SWIdentifierType {
Collaboration = 1,
Local = 0,
}
public class SWPerson : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWPerson (Foundation.NSCoder coder);
protected SWPerson (Foundation.NSObjectFlag t);
protected SWPerson (IntPtr handle);
public SWPerson (string handle, SWPersonIdentity identity, string displayName, Foundation.NSData thumbnailImageData);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWPersonIdentity : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWPersonIdentity (Foundation.NSCoder coder);
public SWPersonIdentity (Foundation.NSData rootHash);
protected SWPersonIdentity (Foundation.NSObjectFlag t);
protected SWPersonIdentity (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData RootHash { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWPersonIdentityProof : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWPersonIdentityProof (Foundation.NSCoder coder);
protected SWPersonIdentityProof (Foundation.NSObjectFlag t);
protected SWPersonIdentityProof (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData[] InclusionHashes { get; }
public virtual Foundation.NSData PublicKey { get; }
public virtual nuint PublicKeyIndex { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class SWSignedPersonIdentityProof : SharedWithYouCore.SWPersonIdentityProof {
// constructors
public SWSignedPersonIdentityProof ();
public SWSignedPersonIdentityProof (Foundation.NSCoder coder);
protected SWSignedPersonIdentityProof (Foundation.NSObjectFlag t);
protected SWSignedPersonIdentityProof (IntPtr handle);
public SWSignedPersonIdentityProof (SWPersonIdentityProof personIdentityProof, Foundation.NSData data);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData SignatureData { get; }
}
public class SWStartCollaborationAction : SharedWithYouCore.SWAction, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWStartCollaborationAction (Foundation.NSCoder coder);
protected SWStartCollaborationAction (Foundation.NSObjectFlag t);
protected SWStartCollaborationAction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual SWCollaborationMetadata CollaborationMetadata { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual void Fulfill (Foundation.NSUrl url, string collaborationIdentifier);
}
public class SWUpdateCollaborationParticipantsAction : SharedWithYouCore.SWAction, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public SWUpdateCollaborationParticipantsAction (Foundation.NSCoder coder);
protected SWUpdateCollaborationParticipantsAction (Foundation.NSObjectFlag t);
protected SWUpdateCollaborationParticipantsAction (IntPtr handle);
// properties
public virtual SWPersonIdentity[] AddedIdentities { get; }
public override IntPtr ClassHandle { get; }
public virtual SWCollaborationMetadata CollaborationMetadata { get; }
public virtual SWPersonIdentity[] RemovedIdentities { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class THClient : Foundation.NSObject {
// constructors
public THClient ();
protected THClient (Foundation.NSObjectFlag t);
protected THClient (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void CheckPreferredNetwork (Foundation.NSData activeOperationalDataSet, System.Action<bool> completion);
public virtual System.Threading.Tasks.Task<bool> CheckPreferredNetworkAsync (Foundation.NSData activeOperationalDataSet);
public virtual void DeleteCredentialsForBorderAgent (Foundation.NSData borderAgentId, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task DeleteCredentialsForBorderAgentAsync (Foundation.NSData borderAgentId);
public virtual void RetrieveAllCredentials (System.Action<Foundation.NSSet<THCredentials>> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSSet<THCredentials>> RetrieveAllCredentialsAsync ();
public virtual void RetrieveCredentialsForBorderAgent (Foundation.NSData borderAgentId, System.Action<THCredentials,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<THCredentials> RetrieveCredentialsForBorderAgentAsync (Foundation.NSData borderAgentId);
public virtual void RetrieveCredentialsForExtendedPanId (Foundation.NSData extendedPanId, System.Action<THCredentials,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<THCredentials> RetrieveCredentialsForExtendedPanIdAsync (Foundation.NSData extendedPanId);
public virtual void RetrievePreferredCredentials (System.Action<THCredentials,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<THCredentials> RetrievePreferredCredentialsAsync ();
public virtual void StoreCredentialsForBorderAgent (Foundation.NSData borderAgentId, Foundation.NSData activeOperationalDataSet, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task StoreCredentialsForBorderAgentAsync (Foundation.NSData borderAgentId, Foundation.NSData activeOperationalDataSet);
}
public class THCredentials : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public THCredentials (Foundation.NSCoder coder);
protected THCredentials (Foundation.NSObjectFlag t);
protected THCredentials (IntPtr handle);
// properties
public virtual Foundation.NSData ActiveOperationalDataSet { get; }
public virtual Foundation.NSData BorderAgentId { get; }
public virtual byte Channel { get; set; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate CreationDate { get; }
public virtual Foundation.NSData ExtendedPanId { get; }
public virtual Foundation.NSDate LastModificationDate { get; }
public virtual Foundation.NSData NetworkKey { get; }
public virtual string NetworkName { get; }
public virtual Foundation.NSData PanId { get; }
public virtual Foundation.NSData Pskc { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}