Xamarin.TVOS SDK API diff: 13.14.1 vs 13.16.0

Xamarin.TVOS.dll

Namespace AVFoundation

Type Changed: AVFoundation.AVPlayer

Added properties:

public static bool EligibleForHdrPlayback { get; }
public static Foundation.NSString EligibleForHdrPlaybackDidChangeNotification { get; }

Type Changed: AVFoundation.AVPlayer.Notifications

Added methods:

public static Foundation.NSObject ObserveEligibleForHdrPlaybackDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveEligibleForHdrPlaybackDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);

Namespace CoreBluetooth

Type Changed: CoreBluetooth.CBError

Added values:

EncryptionTimedOut = 15,
PeerRemovedPairingInformation = 14,

Namespace CoreGraphics

Type Changed: CoreGraphics.CGColorSpaceNames

Added properties:

public static Foundation.NSString DisplayP3_PQ { get; }
public static Foundation.NSString Itur_2020_PQ { get; }

Namespace CoreImage

Type Changed: CoreImage.CIAreaAverage

Added property:

public CIImage OutputImageMps { get; }

Type Changed: CoreImage.CIAreaMinMax

Added property:

public CIImage OutputImageMps { get; }

Namespace CoreLocation

Type Changed: CoreLocation.CLLocation

Added constructor:

public CLLocation (CLLocationCoordinate2D coordinate, double altitude, double hAccuracy, double vAccuracy, double course, double courseAccuracy, double speed, double speedAccuracy, Foundation.NSDate timestamp);

Added properties:

public virtual double CourseAccuracy { get; }
public virtual double SpeedAccuracy { get; }

Namespace CoreText

Type Changed: CoreText.CTFontManagerError

Added value:

AssetNotFound = 107,

Namespace GameKit

Type Changed: GameKit.GKLocalPlayer

Added methods:

public virtual void FetchItemsForIdentityVerificationSignature (GKFetchItemsForIdentityVerificationSignatureCompletionHandler completionHandler);
public virtual System.Threading.Tasks.Task<GKFetchItemsForIdentityVerificationSignature> FetchItemsForIdentityVerificationSignatureAsync ();

New Type: GameKit.GKFetchItemsForIdentityVerificationSignature

public class GKFetchItemsForIdentityVerificationSignature {
	// constructors
	public GKFetchItemsForIdentityVerificationSignature (Foundation.NSUrl publicKeyUrl, Foundation.NSData signature, Foundation.NSData salt, ulong timestamp);
	// properties
	public Foundation.NSUrl PublicKeyUrl { get; set; }
	public Foundation.NSData Salt { get; set; }
	public Foundation.NSData Signature { get; set; }
	public ulong Timestamp { get; set; }
}

New Type: GameKit.GKFetchItemsForIdentityVerificationSignatureCompletionHandler

public sealed delegate GKFetchItemsForIdentityVerificationSignatureCompletionHandler : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public GKFetchItemsForIdentityVerificationSignatureCompletionHandler (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (Foundation.NSUrl publicKeyUrl, Foundation.NSData signature, Foundation.NSData salt, ulong timestamp, Foundation.NSError error, System.AsyncCallback callback, object object);
	public virtual void EndInvoke (System.IAsyncResult result);
	public virtual void Invoke (Foundation.NSUrl publicKeyUrl, Foundation.NSData signature, Foundation.NSData salt, ulong timestamp, Foundation.NSError error);
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string SdkVersion = "13.2";
+public const string SdkVersion = "13.4";
-public const string Version = "13.14.1";
+public const string Version = "13.16.0";

Namespace UIKit

Type Changed: UIKit.UIEvent

Added property:

public virtual UIKeyModifierFlags ModifierFlags { get; }

Type Changed: UIKit.UIEventType

Added values:

Hover = 11,
Scroll = 10,
Transform = 14,

Type Changed: UIKit.UIGestureRecognizer

Added property:

public UIGesturesEvent ShouldReceiveEvent { get; set; }

Added method:

public virtual bool ShouldReceive (UIEvent event);

Type Changed: UIKit.UIGestureRecognizerDelegate

Added method:

public virtual bool ShouldReceiveEvent (UIGestureRecognizer gestureRecognizer, UIEvent event);

Type Changed: UIKit.UIGestureRecognizerDelegate_Extensions

Added method:

public static bool ShouldReceiveEvent (this IUIGestureRecognizerDelegate This, UIGestureRecognizer gestureRecognizer, UIEvent event);

Type Changed: UIKit.UIKeyCommand

Added properties:

public static Foundation.NSString End { get; }
public static Foundation.NSString F1 { get; }
public static Foundation.NSString F10 { get; }
public static Foundation.NSString F11 { get; }
public static Foundation.NSString F12 { get; }
public static Foundation.NSString F2 { get; }
public static Foundation.NSString F3 { get; }
public static Foundation.NSString F4 { get; }
public static Foundation.NSString F5 { get; }
public static Foundation.NSString F6 { get; }
public static Foundation.NSString F7 { get; }
public static Foundation.NSString F8 { get; }
public static Foundation.NSString F9 { get; }
public static Foundation.NSString Home { get; }
public static Foundation.NSString PageDown { get; }
public static Foundation.NSString PageUp { get; }

Type Changed: UIKit.UIPress

Added property:

public virtual UIKey Key { get; }

Type Changed: UIKit.UITableViewCell

Added method:

public virtual bool ShouldReceiveEvent (UIGestureRecognizer gestureRecognizer, UIEvent event);

Type Changed: UIKit.UITouchPhase

Added values:

RegionEntered = 5,
RegionExited = 7,
RegionMoved = 6,

Type Changed: UIKit.UITouchType

Added value:

IndirectPointer = 3,

New Type: UIKit.UIAxis

[Serializable]
[Flags]
public enum UIAxis {
	Both = 3,
	Horizontal = 1,
	Neither = 0,
	Vertical = 2,
}

New Type: UIKit.UIGesturesEvent

public sealed delegate UIGesturesEvent : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
	// constructors
	public UIGesturesEvent (object object, IntPtr method);
	// methods
	public virtual System.IAsyncResult BeginInvoke (UIGestureRecognizer gestureRecognizer, UIEvent event, System.AsyncCallback callback, object object);
	public virtual bool EndInvoke (System.IAsyncResult result);
	public virtual bool Invoke (UIGestureRecognizer gestureRecognizer, UIEvent event);
}

New Type: UIKit.UIKey

public class UIKey : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
	// constructors
	public UIKey (Foundation.NSCoder coder);
	protected UIKey (Foundation.NSObjectFlag t);
	protected UIKey (IntPtr handle);
	// properties
	public virtual string Characters { get; }
	public virtual string CharactersIgnoringModifiers { get; }
	public override IntPtr ClassHandle { get; }
	public virtual UIKeyboardHidUsage KeyCode { get; }
	public virtual UIKeyModifierFlags ModifierFlags { get; }
	// methods
	public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
	public virtual void EncodeTo (Foundation.NSCoder encoder);
}

New Type: UIKit.UIKeyboardHidUsage

[Serializable]
public enum UIKeyboardHidUsage {
	Keyboard0 = 39,
	Keyboard1 = 30,
	Keyboard2 = 31,
	Keyboard3 = 32,
	Keyboard4 = 33,
	Keyboard5 = 34,
	Keyboard6 = 35,
	Keyboard7 = 36,
	Keyboard8 = 37,
	Keyboard9 = 38,
	KeyboardA = 4,
	KeyboardAgain = 121,
	KeyboardAlphanumericSwitch = 145,
	KeyboardAlternateErase = 153,
	KeyboardApplication = 101,
	KeyboardB = 5,
	KeyboardBackslash = 49,
	KeyboardC = 6,
	KeyboardCancel = 155,
	KeyboardCapsLock = 57,
	KeyboardClear = 156,
	KeyboardClearOrAgain = 162,
	KeyboardCloseBracket = 48,
	KeyboardComma = 54,
	KeyboardCopy = 124,
	KeyboardCrSelOrProps = 163,
	KeyboardCut = 123,
	KeyboardD = 7,
	KeyboardDeleteForward = 76,
	KeyboardDeleteOrBackspace = 42,
	KeyboardDownArrow = 81,
	KeyboardE = 8,
	KeyboardEnd = 77,
	KeyboardEqualSign = 46,
	KeyboardErrorRollOver = 1,
	KeyboardErrorUndefined = 3,
	KeyboardEscape = 41,
	KeyboardExSel = 164,
	KeyboardExecute = 116,
	KeyboardF = 9,
	KeyboardF1 = 58,
	KeyboardF10 = 67,
	KeyboardF11 = 68,
	KeyboardF12 = 69,
	KeyboardF13 = 104,
	KeyboardF14 = 105,
	KeyboardF15 = 106,
	KeyboardF16 = 107,
	KeyboardF17 = 108,
	KeyboardF18 = 109,
	KeyboardF19 = 110,
	KeyboardF2 = 59,
	KeyboardF20 = 111,
	KeyboardF21 = 112,
	KeyboardF22 = 113,
	KeyboardF23 = 114,
	KeyboardF24 = 115,
	KeyboardF3 = 60,
	KeyboardF4 = 61,
	KeyboardF5 = 62,
	KeyboardF6 = 63,
	KeyboardF7 = 64,
	KeyboardF8 = 65,
	KeyboardF9 = 66,
	KeyboardFind = 126,
	KeyboardG = 10,
	KeyboardGraveAccentAndTilde = 53,
	KeyboardH = 11,
	KeyboardHangul = 144,
	KeyboardHanja = 145,
	KeyboardHelp = 117,
	KeyboardHiragana = 147,
	KeyboardHome = 74,
	KeyboardHyphen = 45,
	KeyboardI = 12,
	KeyboardInsert = 73,
	KeyboardInternational1 = 135,
	KeyboardInternational2 = 136,
	KeyboardInternational3 = 137,
	KeyboardInternational4 = 138,
	KeyboardInternational5 = 139,
	KeyboardInternational6 = 140,
	KeyboardInternational7 = 141,
	KeyboardInternational8 = 142,
	KeyboardInternational9 = 143,
	KeyboardJ = 13,
	KeyboardK = 14,
	KeyboardKanaSwitch = 144,
	KeyboardKatakana = 146,
	KeyboardL = 15,
	KeyboardLang1 = 144,
	KeyboardLang2 = 145,
	KeyboardLang3 = 146,
	KeyboardLang4 = 147,
	KeyboardLang5 = 148,
	KeyboardLang6 = 149,
	KeyboardLang7 = 150,
	KeyboardLang8 = 151,
	KeyboardLang9 = 152,
	KeyboardLeftAlt = 226,
	KeyboardLeftArrow = 80,
	KeyboardLeftControl = 224,
	KeyboardLeftGui = 227,
	KeyboardLeftShift = 225,
	KeyboardLockingCapsLock = 130,
	KeyboardLockingNumLock = 131,
	KeyboardLockingScrollLock = 132,
	KeyboardM = 16,
	KeyboardMenu = 118,
	KeyboardMute = 127,
	KeyboardN = 17,
	KeyboardNonUSBackslash = 100,
	KeyboardNonUSPound = 50,
	KeyboardO = 18,
	KeyboardOpenBracket = 47,
	KeyboardOper = 161,
	KeyboardOut = 160,
	KeyboardP = 19,
	KeyboardPageDown = 78,
	KeyboardPageUp = 75,
	KeyboardPaste = 125,
	KeyboardPause = 72,
	KeyboardPeriod = 55,
	KeyboardPostFail = 2,
	KeyboardPower = 102,
	KeyboardPrintScreen = 70,
	KeyboardPrior = 157,
	KeyboardQ = 20,
	KeyboardQuote = 52,
	KeyboardR = 21,
	KeyboardReserved = 65535,
	KeyboardReturn = 158,
	KeyboardReturnOrEnter = 40,
	KeyboardRightAlt = 230,
	KeyboardRightArrow = 79,
	KeyboardRightControl = 228,
	KeyboardRightGui = 231,
	KeyboardRightShift = 229,
	KeyboardS = 22,
	KeyboardScrollLock = 71,
	KeyboardSelect = 119,
	KeyboardSemicolon = 51,
	KeyboardSeparator = 159,
	KeyboardSlash = 56,
	KeyboardSpacebar = 44,
	KeyboardStop = 120,
	KeyboardSysReqOrAttention = 154,
	KeyboardT = 23,
	KeyboardTab = 43,
	KeyboardU = 24,
	KeyboardUndo = 122,
	KeyboardUpArrow = 82,
	KeyboardV = 25,
	KeyboardVolumeDown = 129,
	KeyboardVolumeUp = 128,
	KeyboardW = 26,
	KeyboardX = 27,
	KeyboardY = 28,
	KeyboardZ = 29,
	KeyboardZenkakuHankakuKanji = 148,
	Keypad0 = 98,
	Keypad1 = 89,
	Keypad2 = 90,
	Keypad3 = 91,
	Keypad4 = 92,
	Keypad5 = 93,
	Keypad6 = 94,
	Keypad7 = 95,
	Keypad8 = 96,
	Keypad9 = 97,
	KeypadAsterisk = 85,
	KeypadComma = 133,
	KeypadEnter = 88,
	KeypadEqualSign = 103,
	KeypadEqualSignAS400 = 134,
	KeypadHyphen = 86,
	KeypadNumLock = 83,
	KeypadPeriod = 99,
	KeypadPlus = 87,
	KeypadSlash = 84,
}

Namespace VideoSubscriberAccount

Type Changed: VideoSubscriberAccount.VSErrorCode

Added value:

Unsupported = 7,

Namespace VideoToolbox

Type Changed: VideoToolbox.VTStatus

Added value:

SessionMalfunction = -17691,