title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff: 14.14.2 vs 14.17.1 |
List of API changes between Xamarin.iOS versions 14.14.2 and 14.17.1. |
spouliot |
sepoulio |
4/9/2021 |
article |
ad8a6d3f-1811-4b13-bf39-cbb367b4106f |
xamarin |
Added property:
public virtual bool PrefersNoInterruptionsFromSystemAlerts { get; }
Added method:
public virtual bool SetPrefersNoInterruptionsFromSystemAlerts (bool inValue, out Foundation.NSError outError);
Added value:
OverrideMutedMicrophoneInterruption = 128,
Added property:
public AVAudioSessionInterruptionReason Reason { get; }
Added properties:
public virtual AVContentKey ContentKey { get; }
public virtual AVContentKeySpecifier ContentKeySpecifier { get; }
Added property:
public static Foundation.NSString WaitingDuringInterstitialEventReason { get; }
Added property:
public virtual AVVariantPreferences VariantPreferences { get; set; }
Added property:
public virtual bool HasSufficientMediaDataForReliablePlaybackStart { get; }
Added property:
public static Foundation.NSString OutputObscuredDueToInsufficientExternalProtectionDidChangeNotification { get; }
Added methods:
public static Foundation.NSObject ObserveOutputObscuredDueToInsufficientExternalProtectionDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveOutputObscuredDueToInsufficientExternalProtectionDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
Added property:
public virtual bool DelaysRateChangeUntilHasSufficientMediaData { get; set; }
Added method:
public virtual void SetRate (float rate, CoreMedia.CMTime time, CoreMedia.CMTime hostTime);
Added method:
public virtual void DidProvideContentKey (AVContentKeySession contentKeySession, AVContentKey contentKey);
[Serializable]
public enum AVAudioSessionInterruptionReason {
AppWasSuspended = 1,
BuiltInMicMuted = 2,
Default = 0,
}
public class AVContentKey : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVContentKey ();
protected AVContentKey (Foundation.NSObjectFlag t);
protected AVContentKey (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVContentKeySpecifier ContentKeySpecifier { get; }
}
public static class AVContentKeyRecipient_Extensions {
// methods
public static void DidProvideContentKey (this IAVContentKeyRecipient This, AVContentKeySession contentKeySession, AVContentKey contentKey);
}
public class AVContentKeySpecifier : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVContentKeySpecifier ();
protected AVContentKeySpecifier (Foundation.NSObjectFlag t);
protected AVContentKeySpecifier (IntPtr handle);
public AVContentKeySpecifier (AVContentKeySystem keySystem, Foundation.NSObject contentKeyIdentifier, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject Identifier { get; }
public virtual AVContentKeySystem KeySystem { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> Options { get; }
// methods
public static AVContentKeySpecifier GetContentKeySpecifier (AVContentKeySystem keySystem, Foundation.NSObject contentKeyIdentifier, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
}
public class AVPlayerInterstitialEvent : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected AVPlayerInterstitialEvent (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate Date { get; }
public virtual AVPlayerItem[] InterstitialTemplateItems { get; }
public virtual AVPlayerItem PrimaryItem { get; }
public virtual AVPlayerInterstitialEventRestrictions Restrictions { get; }
public virtual CoreMedia.CMTime ResumptionOffset { get; }
public virtual AVPlayerItem[] TemplateItems { get; }
public virtual CoreMedia.CMTime Time { get; }
// methods
protected override void Dispose (bool disposing);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] templateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEvent GetPlayerInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date, AVPlayerItem[] interstitialTemplateItems, AVPlayerInterstitialEventRestrictions restrictions, CoreMedia.CMTime resumptionOffset);
}
public class AVPlayerInterstitialEventController : AVFoundation.AVPlayerInterstitialEventObserver, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVPlayerInterstitialEventController (AVPlayer primaryPlayer);
protected AVPlayerInterstitialEventController (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEventController (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVPlayerInterstitialEvent[] Events { get; set; }
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; set; }
// methods
public virtual void CancelCurrentEvent (CoreMedia.CMTime resumptionOffset);
public static AVPlayerInterstitialEventController GetInterstitialEventController (AVPlayer primaryPlayer);
public static AVPlayerInterstitialEventController GetPlayerInterstitialEventController (AVPlayer primaryPlayer);
}
public class AVPlayerInterstitialEventObserver : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public AVPlayerInterstitialEventObserver (AVPlayer primaryPlayer);
protected AVPlayerInterstitialEventObserver (Foundation.NSObjectFlag t);
protected AVPlayerInterstitialEventObserver (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVPlayerInterstitialEvent CurrentEvent { get; }
public static Foundation.NSString CurrentEventDidChangeNotification { get; }
public virtual AVPlayerInterstitialEvent[] Events { get; }
public static Foundation.NSString EventsDidChangeNotification { get; }
public virtual AVPlayerInterstitialEvent[] InterstitialEvents { get; }
public virtual AVQueuePlayer InterstitialPlayer { get; }
public virtual AVPlayer PrimaryPlayer { get; }
// methods
protected override void Dispose (bool disposing);
public static AVPlayerInterstitialEventObserver GetInterstitialEventObserver (AVPlayer primaryPlayer);
public static AVPlayerInterstitialEventObserver GetPlayerInterstitialEventObserver (AVPlayer primaryPlayer);
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveCurrentEventDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveCurrentEventDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveEventsDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveEventsDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
[Serializable]
[Flags]
public enum AVPlayerInterstitialEventRestrictions {
ConstrainsSeekingForwardInPrimaryContent = 1,
DefaultPolicy = 0,
None = 0,
RequiresPlaybackAtPreferredRateForAdvancement = 4,
}
public static class AVPlayerItem_AVPlayerInterstitialSupport {
// methods
public static bool GetAutomaticallyHandlesInterstitialEvents (this AVPlayerItem This);
public static AVPlayerItem GetTemplatePlayerItem (this AVPlayerItem This);
public static void SetAutomaticallyHandlesInterstitialEvents (this AVPlayerItem This, bool value);
}
public static class AVQueuedSampleBufferRendering_Extensions {
// methods
public static bool GetHasSufficientMediaDataForReliablePlaybackStart (this IAVQueuedSampleBufferRendering This);
}
public static class AVSampleBufferDisplayLayer_ProtectedContent {
// methods
public static bool GetOutputObscuredDueToInsufficientExternalProtection (this AVSampleBufferDisplayLayer This);
}
[Serializable]
[Flags]
public enum AVVariantPreferences {
None = 0,
ScalabilityToLosslessAudio = 1,
}
Added value:
MultiMask = 256,
Added value:
LoadedRemotely = 2147483648,
Added field:
public static Foundation.NSString LoadOutOfProcess;
Added value:
MissingVoIPBackgroundMode = 3,
Added methods:
public static void ReportNewIncomingVoIPPushPayload (Foundation.NSDictionary dictionaryPayload, System.Action<Foundation.NSError> completion);
public static System.Threading.Tasks.Task ReportNewIncomingVoIPPushPayloadAsync (Foundation.NSDictionary dictionaryPayload);
[Serializable]
public enum CXErrorCodeNotificationServiceExtensionError {
InvalidClientProcess = 1,
MissingNotificationFilteringEntitlement = 2,
Unknown = 0,
}
public static class CXErrorCodeNotificationServiceExtensionErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCodeNotificationServiceExtensionError self);
}
Added method:
public virtual void RemoveAllActivityItems ();
Added property:
public virtual CLSContext[] NavigationChildContexts { get; }
Added methods:
public virtual void AddNavigationChild (CLSContext childContext);
public virtual void RemoveNavigationChild (CLSContext childContext);
Added methods:
public virtual void FetchActivity (Foundation.NSUrl url, System.Action<CLSActivity,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<CLSActivity> FetchActivityAsync (Foundation.NSUrl url);
Added value:
DolbyVisionHevc = 1685481521,
Obsoleted constructors:
[Obsolete ("Use static factory method to create an instance.")]
public MidiNetworkConnection ();
Obsoleted constructors:
[Obsolete ("Use static factory method to create an instance.")]
public MidiNetworkHost ();
Modified base type:
-System.Object
+CoreFoundation.NativeObject
Removed property:
public virtual IntPtr Handle { get; }
Removed methods:
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
protected override void ~CTRunDelegate ();
Added property:
public IntPtr Handle { get; }
public static class CVImageBufferAlphaChannelModeExtensions {
// methods
public static Foundation.NSString GetConstant (this CVImageBufferAlphaChannelMode self);
public static CVImageBufferAlphaChannelMode GetValue (Foundation.NSString constant);
}
Added value:
ExcludingFromSync = 128,
Added properties:
public static NSString MultipleUnderlyingErrorsKey { get; }
public virtual NSError[] UnderlyingErrors { get; }
Added property:
public virtual bool AssumesHttp3Capable { get; set; }
Added property:
public static NSString FileOperationKindUploading { get; }
Added property:
public static NSString UbiquitousItemIsExcludedFromSyncKey { get; }
Added property:
public virtual bool AssumesHttp3Capable { get; set; }
Added property:
public virtual bool PrefersIncrementalDelivery { get; set; }
Added property:
public static bool ShouldMonitorBackgroundEvents { get; set; }
public class GCDualSenseAdaptiveTrigger : GameController.GCControllerButtonInput, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected GCDualSenseAdaptiveTrigger (Foundation.NSObjectFlag t);
protected GCDualSenseAdaptiveTrigger (IntPtr handle);
// properties
public virtual float ArmPosition { get; }
public override IntPtr ClassHandle { get; }
public virtual GCDualSenseAdaptiveTriggerMode Mode { get; }
public virtual GCDualSenseAdaptiveTriggerStatus Status { get; }
// methods
public virtual void SetModeFeedback (float startPosition, float resistiveStrength);
public virtual void SetModeOff ();
public virtual void SetModeVibration (float startPosition, float amplitude, float frequency);
public virtual void SetModeWeapon (float startPosition, float endPosition, float resistiveStrength);
}
[Serializable]
public enum GCDualSenseAdaptiveTriggerMode {
Feedback = 1,
Off = 0,
Vibration = 3,
Weapon = 2,
}
[Serializable]
public enum GCDualSenseAdaptiveTriggerStatus {
FeedbackLoadApplied = 1,
FeedbackNoLoad = 0,
Unknown = -1,
VibrationIsVibrating = 6,
VibrationNotVibrating = 5,
WeaponFired = 4,
WeaponFiring = 3,
WeaponReady = 2,
}
public class GCDualSenseGamepad : GameController.GCExtendedGamepad, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected GCDualSenseGamepad (Foundation.NSObjectFlag t);
protected GCDualSenseGamepad (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual GCDualSenseAdaptiveTrigger LeftTrigger { get; }
public virtual GCDualSenseAdaptiveTrigger RightTrigger { get; }
public virtual GCControllerButtonInput TouchpadButton { get; }
public virtual GCControllerDirectionPad TouchpadPrimary { get; }
public virtual GCControllerDirectionPad TouchpadSecondary { get; }
}
[Serializable]
public enum GCInputDirectional {
CardinalDpad = 1,
Dpad = 0,
}
public static class GCInputDirectionalExtensions {
// methods
public static Foundation.NSString GetConstant (this GCInputDirectional self);
public static GCInputDirectional GetValue (Foundation.NSString constant);
}
Added values:
FriendListDenied = 102,
FriendListDescriptionMissing = 100,
FriendListRestricted = 101,
Added methods:
public virtual void LoadFriendsAuthorizationStatus (System.Action<GKFriendsAuthorizationStatus,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<GKFriendsAuthorizationStatus> LoadFriendsAuthorizationStatusAsync ();
public virtual void LoadFriendsList (System.Action<GKPlayer[],Foundation.NSError> completionHandler);
public virtual void LoadFriendsList (string[] identifiers, System.Action<GKPlayer[],Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<GKPlayer[]> LoadFriendsListAsync ();
public virtual System.Threading.Tasks.Task<GKPlayer[]> LoadFriendsListAsync (string[] identifiers);
[Serializable]
public enum GKFriendsAuthorizationStatus {
Authorized = 3,
Denied = 2,
NotDetermined = 0,
Restricted = 1,
}
Added value:
AppleMoveTime = 90,
Added property:
public virtual double AspectRatio { get; }
Added property:
public static Foundation.NSString PNGTransparency { get; }
Added constructors:
public INCallRecord (string identifier, Foundation.NSDate dateCreated, INCallRecordType callRecordType, INCallCapability callCapability, double? callDuration, bool? unseen);
public INCallRecord (string identifier, Foundation.NSDate dateCreated, INCallRecordType callRecordType, INCallCapability callCapability, double? callDuration, bool? unseen, int? numberOfCalls);
public INCallRecord (string identifier, Foundation.NSDate dateCreated, INCallRecordType callRecordType, INCallCapability callCapability, double? callDuration, bool? unseen, INPerson[] participants, int? numberOfCalls, bool? isCallerIdBlocked);
Added properties:
public virtual bool? IsCallerIdBlocked { get; }
public virtual INPerson[] Participants { get; }
Added value:
My = 2,
public class INCallGroup : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public INCallGroup (Foundation.NSCoder coder);
protected INCallGroup (Foundation.NSObjectFlag t);
protected INCallGroup (IntPtr handle);
public INCallGroup (string groupName, string groupId);
// properties
public override IntPtr ClassHandle { get; }
public virtual string GroupId { get; }
public virtual string GroupName { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
Added methods:
public static MLCActivationLayer CreateClampLayer (float minValue, float maxValue);
public static MLCActivationLayer CreateHardSwishLayer ();
Added values:
Clamp = 20,
HardSwish = 19,
Added values:
DivideNoNaN = 27,
Max = 29,
Min = 28,
MultiplyNoNaN = 26,
Added methods:
public virtual MLCTensor Gather (nuint dimension, MLCTensor source, MLCTensor indices);
public virtual MLCTensor Scatter (nuint dimension, MLCTensor source, MLCTensor indices, MLCTensor copyFrom, MLCReductionType reductionType);
public virtual MLCTensor Select (MLCTensor[] sources, MLCTensor condition);
Added method:
public virtual bool Compile (MLCGraphCompilationOptions options, MLCDevice device, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensor> inputTensors, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData> inputTensorsData);
Added properties:
public virtual MLCTensor Mean { get; }
public virtual MLCTensor Variance { get; }
Added method:
public static MLCInstanceNormalizationLayer Create (nuint featureChannelCount, MLCTensor mean, MLCTensor variance, MLCTensor beta, MLCTensor gamma, float varianceEpsilon, float momentum);
Added property:
public virtual nuint[] Dimensions { get; }
Added method:
public static MLCReductionLayer Create (MLCReductionType reductionType, nuint[] dimensions);
Added values:
All = 9,
Any = 8,
L1Norm = 7,
Added property:
public virtual nint[] Shape { get; }
Added method:
public static MLCTensorData CreateFromBytesNoCopy (IntPtr bytes, nuint length, System.Action<System.IntPtr,System.nuint> deallocator);
Added method:
public virtual bool Compile (MLCGraphCompilationOptions options, MLCDevice device, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensor> inputTensors, Foundation.NSDictionary<Foundation.NSString,MLCompute.MLCTensorData> inputTensorsData);
public class MLCComparisonLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCComparisonLayer (Foundation.NSObjectFlag t);
protected MLCComparisonLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual MLCComparisonOperation Operation { get; }
// methods
public static MLCComparisonLayer Create (MLCComparisonOperation operation);
}
[Serializable]
public enum MLCComparisonOperation {
Equal = 0,
Greater = 3,
GreaterOrEqual = 5,
Less = 2,
LessOrEqual = 4,
LogicalAnd = 6,
LogicalNand = 9,
LogicalNor = 10,
LogicalNot = 8,
LogicalOr = 7,
LogicalXor = 11,
NotEqual = 1,
}
public static class MLCComparisonOperationExtensions {
// methods
public static string GetDebugDescription (this MLCComparisonOperation self);
}
public class MLCGatherLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCGatherLayer (Foundation.NSObjectFlag t);
protected MLCGatherLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
// methods
public static MLCGatherLayer Create (nuint dimension);
}
public class MLCScatterLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCScatterLayer (Foundation.NSObjectFlag t);
protected MLCScatterLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
public virtual MLCReductionType ReductionType { get; }
// methods
public static MLCScatterLayer Create (nuint dimension, MLCReductionType reductionType);
}
public class MLCSelectionLayer : MLCompute.MLCLayer, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected MLCSelectionLayer (Foundation.NSObjectFlag t);
protected MLCSelectionLayer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static MLCSelectionLayer Create ();
}
Modified methods:
public bool OpenMaps (MKMapItem[] mapItems--- = NULL---, MKLaunchOptions launchOptions = NULL)
Added properties:
public bool IsPreorder { get; }
public static Foundation.NSString IsPreorderProperty { get; }
Modified fields:
-public const string SdkVersion = "14.4";
+public const string SdkVersion = "14.5";
-public const string Version = "14.14.2";
+public const string Version = "14.17.1";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
Added property:
public virtual PKRadioTechnology SupportedRadioTechnologies { get; set; }
Added property:
public static Foundation.NSString Mir { get; }
Added property:
public virtual bool Blocked { get; }
[Serializable]
[Flags]
public enum PKRadioTechnology {
Bluetooth = 2,
Nfc = 1,
None = 0,
}
Added property:
public nfloat[] DashPattern { get; set; }
Added property:
public virtual SFSpeechRecognitionMetadata SpeechRecognitionMetadata { get; }
public class SFSpeechRecognitionMetadata : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public SFSpeechRecognitionMetadata (Foundation.NSCoder coder);
protected SFSpeechRecognitionMetadata (Foundation.NSObjectFlag t);
protected SFSpeechRecognitionMetadata (IntPtr handle);
// properties
public virtual double AveragePauseDuration { get; }
public override IntPtr ClassHandle { get; }
public virtual double SpeakingRate { get; }
public virtual double SpeechDuration { get; }
public virtual double SpeechStartTimestamp { get; }
public virtual SFVoiceAnalytics VoiceAnalytics { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
Added methods:
public static void EndImpression (SKAdImpression impression, System.Action<Foundation.NSError> completion);
public static System.Threading.Tasks.Task EndImpressionAsync (SKAdImpression impression);
public static void StartImpression (SKAdImpression impression, System.Action<Foundation.NSError> completion);
public static System.Threading.Tasks.Task StartImpressionAsync (SKAdImpression impression);
Added value:
OverlayPresentedInBackgroundScene = 20,
public class SKAdImpression : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public SKAdImpression ();
protected SKAdImpression (Foundation.NSObjectFlag t);
protected SKAdImpression (IntPtr handle);
// properties
public virtual Foundation.NSNumber AdCampaignIdentifier { get; set; }
public virtual string AdDescription { get; set; }
public virtual string AdImpressionIdentifier { get; set; }
public virtual string AdNetworkIdentifier { get; set; }
public virtual string AdPurchaserName { get; set; }
public virtual string AdType { get; set; }
public virtual Foundation.NSNumber AdvertisedAppStoreItemIdentifier { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string Signature { get; set; }
public virtual Foundation.NSNumber SourceAppStoreItemIdentifier { get; set; }
public virtual Foundation.NSNumber Timestamp { get; set; }
public virtual string Version { get; set; }
}
Added property:
public static Foundation.NSString LaunchOptionsEventAttributionKey { get; }
Added properties:
public virtual UICollectionLayoutListItemSeparatorHandler ItemSeparatorHandler { get; set; }
public virtual UIListSeparatorConfiguration SeparatorConfiguration { get; set; }
Added method:
public virtual UIPrintRenderingQuality GetCurrentRenderingQuality (UIPrintRenderingQuality requestedRenderingQuality);
Added property:
public virtual UIEventAttribution EventAttribution { get; set; }
Added property:
public virtual UIEventAttribution EventAttribution { get; }
Added property:
public virtual UISplitViewControllerDisplayModeButtonVisibility DisplayModeButtonVisibility { get; set; }
public sealed delegate UICollectionLayoutListItemSeparatorHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public UICollectionLayoutListItemSeparatorHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSIndexPath indexPath, UIListSeparatorConfiguration sectionSeparatorConfiguration, System.AsyncCallback callback, object object);
public virtual UIListSeparatorConfiguration EndInvoke (System.IAsyncResult result);
public virtual UIListSeparatorConfiguration Invoke (Foundation.NSIndexPath indexPath, UIListSeparatorConfiguration sectionSeparatorConfiguration);
}
public class UIEventAttribution : Foundation.NSObject, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected UIEventAttribution (Foundation.NSObjectFlag t);
protected UIEventAttribution (IntPtr handle);
public UIEventAttribution (byte sourceIdentifier, Foundation.NSUrl destinationUrl, string sourceDescription, string purchaser);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSUrl DestinationUrl { get; }
public virtual string Purchaser { get; }
public virtual Foundation.NSUrl ReportEndpoint { get; }
public virtual string SourceDescription { get; }
public virtual byte SourceIdentifier { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class UIEventAttributionView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.IDisposable, System.IEquatable<Foundation.NSObject>, IUIAccessibilityIdentification, IUIAppearance, IUIAppearanceContainer, IUICoordinateSpace, IUIDynamicItem, IUIFocusEnvironment, IUIFocusItem, IUIFocusItemContainer, IUILargeContentViewerItem, IUIPasteConfigurationSupporting, IUITraitEnvironment, IUIUserActivityRestoring {
// constructors
public UIEventAttributionView ();
public UIEventAttributionView (CoreGraphics.CGRect frame);
public UIEventAttributionView (Foundation.NSCoder coder);
protected UIEventAttributionView (Foundation.NSObjectFlag t);
protected UIEventAttributionView (IntPtr handle);
// properties
public static UIEventAttributionView.UIEventAttributionViewAppearance Appearance { get; }
public override IntPtr ClassHandle { get; }
// methods
public static UIEventAttributionView.UIEventAttributionViewAppearance AppearanceWhenContainedIn (System.Type[] containers);
public static UIEventAttributionView.UIEventAttributionViewAppearance GetAppearance<T> ();
public static UIEventAttributionView.UIEventAttributionViewAppearance GetAppearance<T> (UITraitCollection traits);
public static UIEventAttributionView.UIEventAttributionViewAppearance GetAppearance (UITraitCollection traits);
public static UIEventAttributionView.UIEventAttributionViewAppearance GetAppearance<T> (UITraitCollection traits, System.Type[] containers);
public static UIEventAttributionView.UIEventAttributionViewAppearance GetAppearance (UITraitCollection traits, System.Type[] containers);
// inner types
public class UIEventAttributionViewAppearance : UIKit.UIView+UIViewAppearance, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject>, IUIAppearance {
// constructors
protected UIEventAttributionView.UIEventAttributionViewAppearance (IntPtr handle);
}
}
public class UIListSeparatorConfiguration : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public UIListSeparatorConfiguration (Foundation.NSCoder coder);
protected UIListSeparatorConfiguration (Foundation.NSObjectFlag t);
protected UIListSeparatorConfiguration (IntPtr handle);
public UIListSeparatorConfiguration (UICollectionLayoutListAppearance listAppearance);
// properties
public static NSDirectionalEdgeInsets AutomaticInsets { get; }
public virtual NSDirectionalEdgeInsets BottomSeparatorInsets { get; set; }
public virtual UIListSeparatorVisibility BottomSeparatorVisibility { get; set; }
public override IntPtr ClassHandle { get; }
public virtual UIColor Color { get; set; }
public virtual UIColor MultipleSelectionColor { get; set; }
public virtual NSDirectionalEdgeInsets TopSeparatorInsets { get; set; }
public virtual UIListSeparatorVisibility TopSeparatorVisibility { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum UIListSeparatorVisibility {
Automatic = 0,
Hidden = 2,
Visible = 1,
}
[Serializable]
public enum UIPrintRenderingQuality {
Best = 0,
Responsive = 1,
}
public class UIPrintServiceExtension : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public UIPrintServiceExtension ();
protected UIPrintServiceExtension (Foundation.NSObjectFlag t);
protected UIPrintServiceExtension (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual UIPrinterDestination[] GetPrinterDestinations (UIPrintInfo printInfo);
}
public class UIPrinterDestination : Foundation.NSObject, Foundation.INSCoding, Foundation.INSObjectProtocol, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
public UIPrinterDestination (Foundation.NSCoder coder);
protected UIPrinterDestination (Foundation.NSObjectFlag t);
public UIPrinterDestination (Foundation.NSUrl url);
protected UIPrinterDestination (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string DisplayName { get; set; }
public virtual Foundation.NSData TxtRecord { get; set; }
public virtual Foundation.NSUrl Url { get; set; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum UISplitViewControllerDisplayModeButtonVisibility {
Always = 2,
Automatic = 0,
Never = 1,
}
Added properties:
public static Foundation.NSString BaseLayerFrameRateFraction { get; }
public static Foundation.NSString EnableLowLatencyRateControl { get; }
public static class HdrMetadataInsertionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this HdrMetadataInsertionMode self);
public static HdrMetadataInsertionMode GetValue (Foundation.NSString constant);
}
Added property:
public virtual bool ShouldPerformDownload { get; }
Added value:
Download = 2,
Added methods:
public virtual void NavigationActionDidBecomeDownload (WKWebView webView, WKNavigationAction navigationAction, WKDownload download);
public virtual void NavigationResponseDidBecomeDownload (WKWebView webView, WKNavigationResponse navigationResponse, WKDownload download);
Added methods:
public static void NavigationActionDidBecomeDownload (this IWKNavigationDelegate This, WKWebView webView, WKNavigationAction navigationAction, WKDownload download);
public static void NavigationResponseDidBecomeDownload (this IWKNavigationDelegate This, WKWebView webView, WKNavigationResponse navigationResponse, WKDownload download);
Added value:
Download = 2,
Added property:
public virtual bool TextInteractionEnabled { get; set; }
Added methods:
public virtual void CloseAllMediaPresentations ();
public virtual void PauseAllMediaPlayback (System.Action completionHandler);
public virtual System.Threading.Tasks.Task PauseAllMediaPlaybackAsync ();
public virtual void RequestMediaPlaybackState (System.Action<WKMediaPlaybackState> completionHandler);
public virtual System.Threading.Tasks.Task<WKMediaPlaybackState> RequestMediaPlaybackStateAsync ();
public virtual void ResumeAllMediaPlayback (System.Action completionHandler);
public virtual System.Threading.Tasks.Task ResumeAllMediaPlaybackAsync ();
public virtual void ResumeDownload (Foundation.NSData resumeData, System.Action<WKDownload> completionHandler);
public virtual System.Threading.Tasks.Task<WKDownload> ResumeDownloadAsync (Foundation.NSData resumeData);
public virtual void StartDownload (Foundation.NSUrlRequest request, System.Action<WKDownload> completionHandler);
public virtual System.Threading.Tasks.Task<WKDownload> StartDownloadAsync (Foundation.NSUrlRequest request);
public virtual void SuspendAllMediaPlayback (System.Action completionHandler);
public virtual System.Threading.Tasks.Task SuspendAllMediaPlaybackAsync ();
public interface IWKDownloadDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DecideDestination (WKDownload download, Foundation.NSUrlResponse response, string suggestedFilename, System.Action<Foundation.NSUrl> completionHandler);
}
public class WKDownload : Foundation.NSObject, Foundation.INSObjectProtocol, Foundation.INSProgressReporting, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
// constructors
protected WKDownload (Foundation.NSObjectFlag t);
protected WKDownload (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public IWKDownloadDelegate Delegate { get; set; }
public virtual Foundation.NSUrlRequest OriginalRequest { get; }
public virtual Foundation.NSProgress Progress { get; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
public virtual WKWebView WebView { get; }
// methods
public virtual void Cancel (System.Action<Foundation.NSData> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> CancelAsync ();
protected override void Dispose (bool disposing);
}
public abstract class WKDownloadDelegate : Foundation.NSObject, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject>, IWKDownloadDelegate {
// constructors
protected WKDownloadDelegate ();
protected WKDownloadDelegate (Foundation.NSObjectFlag t);
protected WKDownloadDelegate (IntPtr handle);
// methods
public virtual void DecideDestination (WKDownload download, Foundation.NSUrlResponse response, string suggestedFilename, System.Action<Foundation.NSUrl> completionHandler);
public virtual void DidFail (WKDownload download, Foundation.NSError error, Foundation.NSData resumeData);
public virtual void DidFinish (WKDownload download);
public virtual void DidReceiveAuthenticationChallenge (WKDownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public virtual void WillPerformHttpRedirection (WKDownload download, Foundation.NSHttpUrlResponse response, Foundation.NSUrlRequest request, System.Action<WKDownloadRedirectPolicy> decisionHandler);
}
public static class WKDownloadDelegate_Extensions {
// methods
public static void DidFail (this IWKDownloadDelegate This, WKDownload download, Foundation.NSError error, Foundation.NSData resumeData);
public static void DidFinish (this IWKDownloadDelegate This, WKDownload download);
public static void DidReceiveAuthenticationChallenge (this IWKDownloadDelegate This, WKDownload download, Foundation.NSUrlAuthenticationChallenge challenge, System.Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
public static void WillPerformHttpRedirection (this IWKDownloadDelegate This, WKDownload download, Foundation.NSHttpUrlResponse response, Foundation.NSUrlRequest request, System.Action<WKDownloadRedirectPolicy> decisionHandler);
}
[Serializable]
public enum WKDownloadRedirectPolicy {
Allow = 1,
Cancel = 0,
}
[Serializable]
public enum WKMediaPlaybackState {
None = 0,
Paused = 1,
Playing = 3,
Suspended = 2,
}