title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.TVOS SDK API diff: 14.8.0 vs 14.17.0 |
List of API changes between Xamarin.TVOS versions 14.8.0 and 14.17.0. |
spouliot |
sepoulio |
2/23/2021 |
article |
d0ff89e0-7f33-3048-688c-2938949d62c7 |
xamarin |
Added method:
public void Deconstruct (out nfloat x, out nfloat y);
Added methods:
public void Deconstruct (out CGPoint location, out CGSize size);
public void Deconstruct (out nfloat x, out nfloat y, out nfloat width, out nfloat height);
Added method:
public void Deconstruct (out nfloat width, out nfloat height);
public static class CVImageBufferAlphaChannelModeExtensions {
// methods
public static Foundation.NSString GetConstant (this CVImageBufferAlphaChannelMode self);
public static CVImageBufferAlphaChannelMode GetValue (Foundation.NSString constant);
}
Obsoleted methods:
[Obsolete ("Use 'CoordinateBatch' instead.")]
public virtual void CoordinateBatc (NSUrl[] readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSUrl[] writingURLs, NSFileCoordinatorWritingOptions writingOptions, out NSError error, System.Action batchHandler);
Added method:
public virtual void CoordinateBatch (NSUrl[] readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSUrl[] writingURLs, NSFileCoordinatorWritingOptions writingOptions, out NSError error, System.Action batchHandler);
[Serializable]
public enum MPNowPlayingPlaybackState {
Interrupted = 4,
Paused = 2,
Playing = 1,
Stopped = 3,
Unknown = 0,
}
Modified fields:
-public const string Version = "14.8.0";
+public const string Version = "14.17.0";
Added fields:
public static const string AccelerateLibrary = "/System/Library/Frameworks/Accelerate.framework/Accelerate";
public static const string AdSupportLibrary = "/System/Library/Frameworks/AdSupport.framework/AdSupport";
public static const string CoreAudioLibrary = "/System/Library/Frameworks/CoreAudio.framework/CoreAudio";
public static const string CoreServicesLibrary = "/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices";
public static const string PhotosUILibrary = "/System/Library/Frameworks/PhotosUI.framework/PhotosUI";
public static const string SystemLibrary = "/usr/lib/libSystem.dylib";
public static const string TVUIKitLibrary = "/System/Library/Frameworks/TVUIKit.framework/TVUIKit";
Obsoleted fields:
[Obsolete ("Use 'MacCatalyst' instead.")]
UIKitForMac = 5,
public sealed class MacCatalystAttribute : ObjCRuntime.IntroducedAttribute {
// constructors
public MacCatalystAttribute (byte major, byte minor);
public MacCatalystAttribute (byte major, byte minor, byte subminor);
}
public static class NativeObjectExtensions {
// methods
public static IntPtr GetHandle (this INativeObject self);
public static IntPtr GetNonNullHandle (this INativeObject self, string argumentName);
}
public sealed class NoMacCatalystAttribute : ObjCRuntime.UnavailableAttribute {
// constructors
public NoMacCatalystAttribute ();
}
public static class ThrowHelper {
// methods
public static void ThrowArgumentException (string argumentName);
public static void ThrowArgumentException (string argumentName, string message);
public static void ThrowArgumentNullException (string argumentName);
public static void ThrowObjectDisposedException (object o);
}
Modified properties:
-public virtual NSLineBreakStrategy LineBreakStrategy { get; set; }
+public override NSLineBreakStrategy LineBreakStrategy { get; set; }
Removed value:
CarTemplateApplication = 2,
public static class HdrMetadataInsertionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this HdrMetadataInsertionMode self);
public static HdrMetadataInsertionMode GetValue (Foundation.NSString constant);
}