Merge remote-tracking branch 'origin/net9.0' into bump-main-in-net9.0-2024-01-29
This commit is contained in:
Коммит
b25691dc5d
|
@ -294,9 +294,9 @@ MIN_WATCH_OS_VERSION=4.0
|
|||
MIN_TVOS_SDK_VERSION=11.0
|
||||
MIN_MACCATALYST_SDK_VERSION=13.1
|
||||
|
||||
# Minimum OS versions for .NET 8 support
|
||||
DOTNET_MIN_IOS_SDK_VERSION=11.0
|
||||
DOTNET_MIN_TVOS_SDK_VERSION=11.0
|
||||
# Minimum OS versions for .NET 9 support
|
||||
DOTNET_MIN_IOS_SDK_VERSION=12.2
|
||||
DOTNET_MIN_TVOS_SDK_VERSION=12.2
|
||||
DOTNET_MIN_MACCATALYST_SDK_VERSION=13.1
|
||||
DOTNET_MIN_MACOS_SDK_VERSION=10.15
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>3</integer>
|
||||
|
|
|
@ -8,13 +8,6 @@
|
|||
<dict>
|
||||
<key>iOS</key>
|
||||
<array>
|
||||
<string>11.0</string>
|
||||
<string>11.1</string>
|
||||
<string>11.2</string>
|
||||
<string>11.3</string>
|
||||
<string>11.4</string>
|
||||
<string>12.0</string>
|
||||
<string>12.1</string>
|
||||
<string>12.2</string>
|
||||
<string>12.3</string>
|
||||
<string>12.4</string>
|
||||
|
|
|
@ -8,13 +8,6 @@
|
|||
<dict>
|
||||
<key>tvOS</key>
|
||||
<array>
|
||||
<string>11.0</string>
|
||||
<string>11.1</string>
|
||||
<string>11.2</string>
|
||||
<string>11.3</string>
|
||||
<string>11.4</string>
|
||||
<string>12.0</string>
|
||||
<string>12.1</string>
|
||||
<string>12.2</string>
|
||||
<string>12.3</string>
|
||||
<string>12.4</string>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"description": "Overrides SupportedOSPlatformVersion in the project file",
|
||||
"replaces": "minOSVersion",
|
||||
"datatype": "string",
|
||||
"defaultValue": "11.2"
|
||||
"defaultValue": "12.2"
|
||||
}
|
||||
},
|
||||
"defaultName": "tvOSApp1"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"description": "Overrides SupportedOSPlatformVersion in the project file",
|
||||
"replaces": "minOSVersion",
|
||||
"datatype": "string",
|
||||
"defaultValue": "11.2"
|
||||
"defaultValue": "12.2"
|
||||
}
|
||||
},
|
||||
"defaultName": "tvOSApp1"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<Dependencies>
|
||||
<ProductDependencies>
|
||||
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="9.0.100-preview.2.24081.5">
|
||||
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="9.0.100-preview.2.24103.2">
|
||||
<Uri>https://github.com/dotnet/installer</Uri>
|
||||
<Sha>0355d2dd14a95fdc33d1c2c68c7501d999b4a69a</Sha>
|
||||
<Sha>3210d5ad3b47b6f2bbf029fb03eb1f73b87ade25</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.ILLink" Version="9.0.0-alpha.1.23556.4">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
|
@ -31,21 +31,21 @@
|
|||
<Sha>b8c2293cd1cbd9d0fe6f32d7b5befbd526b5a175</Sha>
|
||||
</Dependency>
|
||||
<!-- This is a subscription of the .NET 8 versions of our packages -->
|
||||
<Dependency Name="Microsoft.MacCatalyst.Sdk" Version="17.2.8022">
|
||||
<Dependency Name="Microsoft.MacCatalyst.Sdk" Version="17.2.8028">
|
||||
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
|
||||
<Sha>7075fa1d8ac197a68f84a4f6b60e4b563189aa4d</Sha>
|
||||
<Sha>7bf3e585a120c0439cb3aa63e5d748ba15417304</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.macOS.Sdk" Version="14.2.8022">
|
||||
<Dependency Name="Microsoft.macOS.Sdk" Version="14.2.8028">
|
||||
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
|
||||
<Sha>7075fa1d8ac197a68f84a4f6b60e4b563189aa4d</Sha>
|
||||
<Sha>7bf3e585a120c0439cb3aa63e5d748ba15417304</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.iOS.Sdk" Version="17.2.8022">
|
||||
<Dependency Name="Microsoft.iOS.Sdk" Version="17.2.8028">
|
||||
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
|
||||
<Sha>7075fa1d8ac197a68f84a4f6b60e4b563189aa4d</Sha>
|
||||
<Sha>7bf3e585a120c0439cb3aa63e5d748ba15417304</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.tvOS.Sdk" Version="17.2.8022">
|
||||
<Dependency Name="Microsoft.tvOS.Sdk" Version="17.2.8028">
|
||||
<Uri>https://github.com/xamarin/xamarin-macios</Uri>
|
||||
<Sha>7075fa1d8ac197a68f84a4f6b60e4b563189aa4d</Sha>
|
||||
<Sha>7bf3e585a120c0439cb3aa63e5d748ba15417304</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="9.0.0-alpha.1.23556.4">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<!--Package versions-->
|
||||
<PropertyGroup>
|
||||
<!-- Versions updated by maestro -->
|
||||
<MicrosoftDotnetSdkInternalPackageVersion>9.0.100-preview.2.24081.5</MicrosoftDotnetSdkInternalPackageVersion>
|
||||
<MicrosoftDotnetSdkInternalPackageVersion>9.0.100-preview.2.24103.2</MicrosoftDotnetSdkInternalPackageVersion>
|
||||
<MicrosoftNETILLinkTasksPackageVersion>9.0.0-preview.2.24080.1</MicrosoftNETILLinkTasksPackageVersion>
|
||||
<MicrosoftNETILLinkPackageVersion>9.0.0-alpha.1.23556.4</MicrosoftNETILLinkPackageVersion>
|
||||
<MicrosoftDotNetBuildTasksFeedPackageVersion>6.0.0-beta.21212.6</MicrosoftDotNetBuildTasksFeedPackageVersion>
|
||||
|
@ -16,9 +16,9 @@
|
|||
<Emscriptennet7WorkloadVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version)</Emscriptennet7WorkloadVersion>
|
||||
<EmscriptenWorkloadVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100Version)</EmscriptenWorkloadVersion>
|
||||
<!-- This is a subscription of the .NET 8 versions of our packages -->
|
||||
<MicrosoftMacCatalystSdkPackageVersion>17.2.8022</MicrosoftMacCatalystSdkPackageVersion>
|
||||
<MicrosoftmacOSSdkPackageVersion>14.2.8022</MicrosoftmacOSSdkPackageVersion>
|
||||
<MicrosoftiOSSdkPackageVersion>17.2.8022</MicrosoftiOSSdkPackageVersion>
|
||||
<MicrosofttvOSSdkPackageVersion>17.2.8022</MicrosofttvOSSdkPackageVersion>
|
||||
<MicrosoftMacCatalystSdkPackageVersion>17.2.8028</MicrosoftMacCatalystSdkPackageVersion>
|
||||
<MicrosoftmacOSSdkPackageVersion>14.2.8028</MicrosoftmacOSSdkPackageVersion>
|
||||
<MicrosoftiOSSdkPackageVersion>17.2.8028</MicrosoftiOSSdkPackageVersion>
|
||||
<MicrosofttvOSSdkPackageVersion>17.2.8028</MicrosofttvOSSdkPackageVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "9.0.100-preview.2.24081.5"
|
||||
"version": "9.0.100-preview.2.24103.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>1</integer>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>3</integer>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<key>DTXcodeBuild</key>
|
||||
<string>6C131e</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>11.0</string>
|
||||
<string>12.2</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
<array>
|
||||
<integer>3</integer>
|
||||
|
|
|
@ -340,7 +340,6 @@ namespace AVFoundation {
|
|||
Both, TopOnly, BottomOnly, Deinterlace
|
||||
}
|
||||
|
||||
[TV (12, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Flags]
|
||||
|
@ -524,7 +523,6 @@ namespace AVFoundation {
|
|||
Auto = 7,
|
||||
}
|
||||
|
||||
[TV (12, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
|
@ -657,7 +655,6 @@ namespace AVFoundation {
|
|||
AudioDeviceInUseByAnotherClient = 2,
|
||||
VideoDeviceInUseByAnotherClient = 3,
|
||||
VideoDeviceNotAvailableWithMultipleForegroundApps = 4,
|
||||
[iOS (11, 1)]
|
||||
[MacCatalyst (14, 0)]
|
||||
VideoDeviceNotAvailableDueToSystemPressure = 5,
|
||||
}
|
||||
|
@ -1127,7 +1124,6 @@ namespace AVFoundation {
|
|||
[NoWatch]
|
||||
[NoTV]
|
||||
[NoMac]
|
||||
[iOS (11, 1)]
|
||||
[Flags]
|
||||
[Native]
|
||||
public enum AVCaptureSystemPressureFactors : ulong {
|
||||
|
@ -1137,10 +1133,8 @@ namespace AVFoundation {
|
|||
DepthModuleTemperature = (1 << 2)
|
||||
}
|
||||
|
||||
[TV (11, 2)]
|
||||
[NoWatch]
|
||||
[NoMac]
|
||||
[iOS (11, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
[Flags]
|
||||
|
@ -1151,8 +1145,6 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Flags]
|
||||
[Native]
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace AudioUnit {
|
|||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
MidiOutputBufferFull = -66753,
|
||||
[iOS (11, 3), TV (11, 3), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
InvalidParameterValue = -66743,
|
||||
[NoWatch]
|
||||
|
|
|
@ -5,7 +5,6 @@ using Foundation;
|
|||
|
||||
namespace BusinessChat {
|
||||
|
||||
[iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum BCChatButtonStyle : long {
|
||||
|
@ -15,7 +14,6 @@ namespace BusinessChat {
|
|||
|
||||
[Deprecated (PlatformName.MacOSX, 13, 1)]
|
||||
[Deprecated (PlatformName.iOS, 16, 2)]
|
||||
[iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Deprecated (PlatformName.MacCatalyst, 16, 2)]
|
||||
public enum BCParameterName {
|
||||
|
|
|
@ -224,7 +224,7 @@ namespace CloudKit {
|
|||
HundredsOfGigabytes,
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum CKShareParticipantRole : long {
|
||||
|
|
|
@ -549,51 +549,43 @@ namespace CoreGraphics {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||
static extern CGImagePixelFormatInfo CGImageGetPixelFormatInfo (/* __nullable CGImageRef */ IntPtr handle);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public CGImagePixelFormatInfo PixelFormatInfo => CGImageGetPixelFormatInfo (Handle);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||
static extern CGImageByteOrderInfo CGImageGetByteOrderInfo (/* __nullable CGImageRef */ IntPtr handle);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public CGImageByteOrderInfo ByteOrderInfo => CGImageGetByteOrderInfo (Handle);
|
||||
|
|
|
@ -242,13 +242,11 @@ namespace CoreGraphics {
|
|||
public delegate bool ApplyCallback (nint index, object? value, object? info);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreGraphicsLibrary)]
|
||||
|
@ -256,13 +254,11 @@ namespace CoreGraphics {
|
|||
unsafe extern static bool CGPDFArrayApplyBlock (/* CGPDFArrayRef */ IntPtr array, /* CGPDFArrayApplierBlock */ BlockLiteral* block, /* void* */ IntPtr info);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[BindingImpl (BindingImplOptions.Optimizable)]
|
||||
|
|
|
@ -106,8 +106,6 @@ namespace CoreLocation {
|
|||
AutomotiveNavigation,
|
||||
Fitness,
|
||||
OtherNavigation,
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Airborne,
|
||||
|
|
|
@ -317,25 +317,19 @@ namespace CoreMedia {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreMediaLibrary)]
|
||||
extern static CMTime CMTimeFoldIntoRange (CMTime time, CMTimeRange foldRange);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public static CMTime Fold (CMTime time, CMTimeRange foldRange)
|
||||
{
|
||||
|
|
|
@ -13,13 +13,12 @@ namespace CoreMidi {
|
|||
#if !XAMCORE_5_0
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[UnsupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[NativeName ("MIDICIDeviceIdentification")]
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
|
@ -39,13 +38,12 @@ namespace CoreMidi {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[UnsupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[NativeName ("MIDICIDeviceIdentification")]
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
|
|
|
@ -22,7 +22,6 @@ namespace CoreTelephony {
|
|||
}
|
||||
|
||||
[NoMacCatalyst]
|
||||
[iOS (12, 0)]
|
||||
[Native]
|
||||
public enum CTCellularPlanProvisioningAddPlanResult : long {
|
||||
Unknown,
|
||||
|
|
|
@ -166,26 +166,22 @@ namespace CoreText {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreTextLibrary)]
|
||||
static extern IntPtr CTFontCollectionCreateMatchingFontDescriptorsWithOptions (IntPtr collection, IntPtr options);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public CTFontDescriptor [] GetMatchingFontDescriptors (CTFontCollectionOptions? options)
|
||||
|
|
|
@ -102,12 +102,10 @@ namespace CoreText {
|
|||
#endregion
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.CoreTextLibrary)]
|
||||
|
@ -115,12 +113,10 @@ namespace CoreText {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public static CTFramesetter? Create (CTTypesetter typesetter)
|
||||
|
|
|
@ -95,14 +95,12 @@ namespace CoreText {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public bool AllowUnboundedLayout {
|
||||
get => CFDictionary.GetBooleanValue (Dictionary.Handle, CTTypesetterOptionKey.AllowUnboundedLayout.Handle);
|
||||
|
|
|
@ -115,13 +115,11 @@ namespace CoreVideo {
|
|||
public static readonly NSString ComponentRangeWideRangeKey;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public static readonly NSString ContainsGrayscaleKey;
|
||||
|
|
|
@ -993,9 +993,7 @@ namespace Foundation {
|
|||
Video,
|
||||
Background,
|
||||
Voice,
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
ResponsiveData = 6,
|
||||
[Watch (6, 0), TV (13, 0), iOS (13, 0)]
|
||||
|
|
|
@ -65,9 +65,7 @@ namespace GameController {
|
|||
public float /* float_t = float */ RightTrigger;
|
||||
|
||||
// radar: https://trello.com/c/7FoGTORD (GCExtendedGamepadSnapShotDataV100 struct size / alignment not backward compatible)
|
||||
// [TV (12, 1), iOS (12, 1)]
|
||||
// public bool LeftThumbstickButton;
|
||||
// [TV (12, 1), iOS (12, 1)]
|
||||
// public bool RightThumbstickButton;
|
||||
|
||||
#if NET
|
||||
|
@ -141,82 +139,67 @@ namespace GameController {
|
|||
public float /* float_t = float */ RightTrigger;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'GCExtendedGamepadSnapshotData' instead.")]
|
||||
#else
|
||||
[iOS (12, 2)]
|
||||
[TV (12, 2)]
|
||||
#endif
|
||||
[MarshalAs (UnmanagedType.I1)]
|
||||
public bool SupportsClickableThumbsticks;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'GCExtendedGamepadSnapshotData' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[MarshalAs (UnmanagedType.I1)]
|
||||
bool LeftThumbstickButton;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'GCExtendedGamepadSnapshotData' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[MarshalAs (UnmanagedType.I1)]
|
||||
bool RightThumbstickButton;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'GCExtendedGamepadSnapshotData' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[DllImport (Constants.GameControllerLibrary)]
|
||||
static extern /* NSData * __nullable */ IntPtr NSDataFromGCExtendedGamepadSnapshotData (
|
||||
/* GCExtendedGamepadSnapshotData * __nullable */ ref GCExtendedGamepadSnapshotData snapshotData);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1", "Use 'GCExtendedGamepadSnapshotData' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
public NSData? ToNSData ()
|
||||
{
|
||||
|
@ -235,17 +218,14 @@ namespace GameController {
|
|||
/* NSData * __nullable */ IntPtr data);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[DllImport (Constants.GameControllerLibrary)]
|
||||
[return: MarshalAs (UnmanagedType.I1)]
|
||||
|
@ -259,17 +239,14 @@ namespace GameController {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetExtendedGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("maccatalyst13.1")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
public static bool TryGetExtendedSnapShotData (NSData? data, out GCExtendedGamepadSnapshotData snapshotData)
|
||||
{
|
||||
|
|
|
@ -99,32 +99,26 @@ namespace GameController {
|
|||
public float /* float_t = float */ ButtonX;
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[DllImport (Constants.GameControllerLibrary)]
|
||||
static extern /* NSData * __nullable */ IntPtr NSDataFromGCMicroGamepadSnapshotData (
|
||||
/* __nullable */ ref GCMicroGamepadSnapshotData snapshotData);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
public NSData? ToNSData ()
|
||||
{
|
||||
|
@ -172,9 +166,9 @@ namespace GameController {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
|
@ -183,24 +177,19 @@ namespace GameController {
|
|||
[Deprecated (PlatformName.MacOSX, 10, 15, message: "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13, 0, message: "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[Deprecated (PlatformName.TvOS, 13, 0, message: "Use 'GCController.GetMicroGamepadController()' instead.")]
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
[DllImport (Constants.GameControllerLibrary)]
|
||||
[return: MarshalAs (UnmanagedType.I1)]
|
||||
static extern bool GCMicroGamepadSnapshotDataFromNSData (out GCMicroGamepadSnapshotData snapshotData, /* NSData */ IntPtr data);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.2")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'GCController.Capture()' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'GCController.Capture()' instead.")]
|
||||
[ObsoletedOSPlatform ("ios13.0", "Use 'GCController.Capture()' instead.")]
|
||||
#else
|
||||
[TV (12, 2)]
|
||||
[iOS (12, 2)]
|
||||
#endif
|
||||
public static bool TryGetSnapshotData (NSData? data, out GCMicroGamepadSnapshotData snapshotData)
|
||||
{
|
||||
|
|
|
@ -328,10 +328,8 @@ namespace GameKit {
|
|||
}
|
||||
|
||||
#if !NET
|
||||
[iOS (11, 3)]
|
||||
[Deprecated (PlatformName.iOS, 14, 0, message: "Do not use; this API was removed.")]
|
||||
[Deprecated (PlatformName.MacOSX, 11, 0, message: "Do not use; this API was removed.")]
|
||||
[TV (11, 3)]
|
||||
[Deprecated (PlatformName.TvOS, 14, 0, message: "Do not use; this API was removed.")]
|
||||
[Native]
|
||||
public enum GKAuthenticationType : ulong {
|
||||
|
|
|
@ -359,7 +359,6 @@ namespace HealthKit {
|
|||
Light,
|
||||
Medium,
|
||||
Heavy,
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
None,
|
||||
|
@ -517,7 +516,7 @@ namespace HealthKit {
|
|||
PredictionNonExercise,
|
||||
}
|
||||
|
||||
[NoWatch, iOS (12, 0), Mac (13, 0)]
|
||||
[NoWatch, Mac (13, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum HKFhirResourceType {
|
||||
[Field ("HKFHIRResourceTypeAllergyIntolerance")]
|
||||
|
@ -552,7 +551,7 @@ namespace HealthKit {
|
|||
DocumentReference,
|
||||
}
|
||||
|
||||
[Watch (5, 0), iOS (12, 0), Mac (13, 0)]
|
||||
[Watch (5, 0), Mac (13, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum HKClinicalTypeIdentifier {
|
||||
|
||||
|
@ -580,7 +579,7 @@ namespace HealthKit {
|
|||
ClinicalNoteRecord,
|
||||
}
|
||||
|
||||
[Watch (5, 0), iOS (12, 0), Mac (13, 0)]
|
||||
[Watch (5, 0), Mac (13, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum HKAuthorizationRequestStatus : long {
|
||||
|
|
|
@ -322,7 +322,6 @@ namespace HealthKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.WatchOS, 4,2, PlatformArchitecture.All)]
|
||||
[Introduced (PlatformName.iOS, 11,2, PlatformArchitecture.All)]
|
||||
public static NSString? DistanceDownhillSnowSports {
|
||||
get {
|
||||
return HKQuantityTypeIdentifierExtensions.GetConstant (HKQuantityTypeIdentifier.DistanceDownhillSnowSports);
|
||||
|
|
|
@ -594,32 +594,32 @@ namespace HomeKit {
|
|||
[Field ("HMCharacteristicTypeColorTemperature")]
|
||||
ColorTemperature,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeProgramMode")]
|
||||
ProgramMode,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeInUse")]
|
||||
InUse,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeSetDuration")]
|
||||
SetDuration,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeRemainingDuration")]
|
||||
RemainingDuration,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeValveType")]
|
||||
ValveType,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMCharacteristicTypeIsConfigured")]
|
||||
IsConfigured,
|
||||
|
@ -802,17 +802,17 @@ namespace HomeKit {
|
|||
[Field ("HMServiceTypeLabel")]
|
||||
Label,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMServiceTypeIrrigationSystem")]
|
||||
IrrigationSystem,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMServiceTypeValve")]
|
||||
Valve,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMServiceTypeFaucet")]
|
||||
Faucet,
|
||||
|
@ -1121,17 +1121,17 @@ namespace HomeKit {
|
|||
[Field ("HMAccessoryCategoryTypeAirDehumidifier")]
|
||||
AirDehumidifier,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMAccessoryCategoryTypeSprinkler")]
|
||||
Sprinkler,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMAccessoryCategoryTypeFaucet")]
|
||||
Faucet,
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("HMAccessoryCategoryTypeShowerHead")]
|
||||
ShowerHead,
|
||||
|
@ -1357,7 +1357,7 @@ namespace HomeKit {
|
|||
CustomUsers = 3,
|
||||
}
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2), MacCatalyst (14, 0)]
|
||||
[Watch (4, 2), MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum HMCharacteristicValueProgramMode : long {
|
||||
NotScheduled = 0,
|
||||
|
@ -1365,14 +1365,14 @@ namespace HomeKit {
|
|||
ScheduleOverriddenToManual,
|
||||
}
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2), MacCatalyst (14, 0)]
|
||||
[Watch (4, 2), MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum HMCharacteristicValueUsageState : long {
|
||||
NotInUse = 0,
|
||||
InUse,
|
||||
}
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2), MacCatalyst (14, 0)]
|
||||
[Watch (4, 2), MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum HMCharacteristicValueValveType : long {
|
||||
GenericValve = 0,
|
||||
|
@ -1381,7 +1381,7 @@ namespace HomeKit {
|
|||
WaterFaucet,
|
||||
}
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2), MacCatalyst (14, 0)]
|
||||
[Watch (4, 2), MacCatalyst (14, 0)]
|
||||
[Native]
|
||||
public enum HMCharacteristicValueConfigurationState : long {
|
||||
NotConfigured = 0,
|
||||
|
|
|
@ -389,12 +389,10 @@ namespace ImageIO {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.ImageIOLibrary)]
|
||||
|
@ -402,12 +400,10 @@ namespace ImageIO {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public nuint GetPrimaryImageIndex ()
|
||||
|
|
|
@ -111,13 +111,10 @@ namespace MediaPlayer {
|
|||
#endif
|
||||
public NSUrl? AssetUrl { get; set; }
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.1")]
|
||||
[SupportedOSPlatform ("tvos11.1")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 1)]
|
||||
[TV (11, 1)]
|
||||
#endif
|
||||
public NSDate? CurrentPlaybackDate { get; set; }
|
||||
|
||||
|
|
|
@ -300,12 +300,9 @@ namespace Metal {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
public struct MTLStageInRegionIndirectArguments {
|
||||
|
|
|
@ -121,10 +121,8 @@ namespace Metal {
|
|||
[MacCatalyst (13, 1)]
|
||||
kCubeArray = 6,
|
||||
k3D = 7,
|
||||
[iOS (12, 0), TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
k2DMultisampleArray = 8,
|
||||
[iOS (12, 0), TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
kTextureBuffer = 9,
|
||||
}
|
||||
|
@ -847,11 +845,11 @@ namespace Metal {
|
|||
[NoMac, TV (14, 5), NoWatch] Rgb9E5Float = 77,
|
||||
[MacCatalyst (13, 1)]
|
||||
|
||||
[iOS (12, 0), TV (12, 0)] RenderPipeline = 78,
|
||||
RenderPipeline = 78,
|
||||
[MacCatalyst (13, 1)]
|
||||
[Mac (11, 0), iOS (13, 0), TV (13, 0)] ComputePipeline = 79,
|
||||
[MacCatalyst (13, 1)]
|
||||
[iOS (12, 0), TV (12, 0)] IndirectCommandBuffer = 80,
|
||||
IndirectCommandBuffer = 80,
|
||||
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch] Long = 81,
|
||||
[Mac (12, 0), iOS (15, 0), TV (15, 0), MacCatalyst (15, 0), NoWatch] Long2 = 82,
|
||||
|
@ -970,15 +968,15 @@ namespace Metal {
|
|||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily4_v1 = 11,
|
||||
|
||||
[iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily1_v5 = 12,
|
||||
[iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily2_v5 = 13,
|
||||
[iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily3_v4 = 14,
|
||||
[iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily4_v2 = 15,
|
||||
[iOS (12, 0), NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
[NoTV, NoWatch, NoMac, NoMacCatalyst]
|
||||
iOS_GPUFamily5_v1 = 16,
|
||||
|
||||
[NoiOS, NoTV, NoWatch, NoMacCatalyst]
|
||||
|
@ -1039,10 +1037,10 @@ namespace Metal {
|
|||
[NoMacCatalyst]
|
||||
tvOS_GPUFamily2_v1 = 30003,
|
||||
|
||||
[NoiOS, TV (12, 0), NoWatch, NoMac]
|
||||
[NoiOS, NoWatch, NoMac]
|
||||
[NoMacCatalyst]
|
||||
tvOS_GPUFamily1_v4 = 30004,
|
||||
[NoiOS, TV (12, 0), NoWatch, NoMac]
|
||||
[NoiOS, NoWatch, NoMac]
|
||||
[NoMacCatalyst]
|
||||
tvOS_GPUFamily2_v2 = 30005,
|
||||
}
|
||||
|
@ -1060,7 +1058,7 @@ namespace Metal {
|
|||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
v2_0 = (2 << 16),
|
||||
[iOS (12, 0), TV (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
v2_1 = (2 << 16) + 1,
|
||||
[iOS (13, 0), TV (13, 0), NoWatch]
|
||||
|
@ -1127,7 +1125,6 @@ namespace Metal {
|
|||
}
|
||||
|
||||
[TV (13, 0)]
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MTLPrimitiveTopologyClass : ulong {
|
||||
|
@ -1337,7 +1334,6 @@ namespace Metal {
|
|||
CustomSamplePositions = 1 << 0,
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MTLDispatchType : ulong {
|
||||
|
@ -1345,7 +1341,7 @@ namespace Metal {
|
|||
Concurrent,
|
||||
}
|
||||
|
||||
[Flags, iOS (12, 0), TV (12, 0)]
|
||||
[Flags]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MTLBarrierScope : ulong {
|
||||
|
@ -1356,7 +1352,7 @@ namespace Metal {
|
|||
RenderTargets = 1 << 2,
|
||||
}
|
||||
|
||||
[Flags, iOS (12, 0), TV (12, 0)]
|
||||
[Flags]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MTLIndirectCommandType : ulong {
|
||||
|
@ -1380,7 +1376,6 @@ namespace Metal {
|
|||
DrawMeshThreads = (1uL << 8),
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[TV (14, 5)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
|
|
|
@ -19,10 +19,9 @@ namespace Metal {
|
|||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos14.5")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (14, 5)]
|
||||
[NoWatch]
|
||||
#endif
|
||||
|
@ -37,10 +36,9 @@ namespace Metal {
|
|||
#if NET
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos14.5")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (14, 5)]
|
||||
[NoWatch]
|
||||
#endif
|
||||
|
|
|
@ -97,13 +97,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 3)]
|
||||
[TV (11, 3)]
|
||||
#endif
|
||||
public struct MPSImageCoordinate {
|
||||
public nuint X;
|
||||
|
@ -112,13 +109,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 3)]
|
||||
[TV (11, 3)]
|
||||
#endif
|
||||
public struct MPSImageRegion {
|
||||
public MPSImageCoordinate Offset;
|
||||
|
@ -189,13 +183,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (11, 3)]
|
||||
[iOS (11, 3)]
|
||||
#endif
|
||||
public struct MPSStateTextureInfo {
|
||||
public nuint Width;
|
||||
|
@ -233,13 +224,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
public struct MPSAxisAlignedBoundingBox {
|
||||
|
@ -263,13 +251,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.2")]
|
||||
[SupportedOSPlatform ("tvos11.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 2)]
|
||||
[TV (11, 2)]
|
||||
#endif
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
public struct MPSMatrixOffset {
|
||||
|
|
|
@ -31,13 +31,10 @@ namespace MetalPerformanceShaders {
|
|||
public enum MPSImageEdgeMode : ulong {
|
||||
Zero,
|
||||
Clamp = 1,
|
||||
[iOS (12, 1), TV (12, 1)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Mirror,
|
||||
[iOS (12, 1), TV (12, 1)]
|
||||
[MacCatalyst (13, 1)]
|
||||
MirrorWithEdge,
|
||||
[iOS (12, 1), TV (12, 1)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Constant,
|
||||
}
|
||||
|
@ -111,7 +108,6 @@ namespace MetalPerformanceShaders {
|
|||
[MacCatalyst (13, 1)]
|
||||
Reserved0 = 5,
|
||||
|
||||
//[iOS (12,0), TV (12,0)]
|
||||
//Count, // must always be last, and because of this it will cause breaking changes.
|
||||
}
|
||||
|
||||
|
@ -164,13 +160,10 @@ namespace MetalPerformanceShaders {
|
|||
Elu,
|
||||
PReLU,
|
||||
ReLun,
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Power,
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Exponential,
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Logarithm,
|
||||
[TV (13, 0), iOS (13, 0)]
|
||||
|
@ -226,7 +219,6 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[Native]
|
||||
public enum MPSStateResourceType : ulong {
|
||||
None = 0,
|
||||
|
@ -234,7 +226,6 @@ namespace MetalPerformanceShaders {
|
|||
Texture = 2,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSIntersectionType : ulong {
|
||||
|
@ -242,7 +233,6 @@ namespace MetalPerformanceShaders {
|
|||
Any = 1,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSTriangleIntersectionTestType : ulong {
|
||||
|
@ -250,7 +240,6 @@ namespace MetalPerformanceShaders {
|
|||
Watertight = 1,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSBoundingBoxIntersectionTestType : ulong {
|
||||
|
@ -261,7 +250,6 @@ namespace MetalPerformanceShaders {
|
|||
Fast = 2,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Flags]
|
||||
[Native]
|
||||
|
@ -271,7 +259,6 @@ namespace MetalPerformanceShaders {
|
|||
Instance = 2,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSRayDataType : ulong {
|
||||
|
@ -283,7 +270,6 @@ namespace MetalPerformanceShaders {
|
|||
PackedOriginDirection = 3,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSIntersectionDataType : ulong {
|
||||
|
@ -294,7 +280,6 @@ namespace MetalPerformanceShaders {
|
|||
PrimitiveIndexInstanceIndexCoordinates = 4,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSTransformType : ulong {
|
||||
|
@ -302,7 +287,6 @@ namespace MetalPerformanceShaders {
|
|||
Identity = 1,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Flags]
|
||||
[Native]
|
||||
|
@ -318,7 +302,6 @@ namespace MetalPerformanceShaders {
|
|||
PreferCpuBuild = 8,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSAccelerationStructureStatus : ulong {
|
||||
|
@ -326,7 +309,6 @@ namespace MetalPerformanceShaders {
|
|||
Built = 1,
|
||||
}
|
||||
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSCnnWeightsQuantizationType : uint {
|
||||
None = 0,
|
||||
|
@ -336,7 +318,6 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSCnnConvolutionGradientOption : ulong {
|
||||
GradientWithData = 0x1,
|
||||
|
@ -346,7 +327,6 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSNNComparisonType : ulong {
|
||||
Equal,
|
||||
|
@ -358,7 +338,6 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
public enum MPSCnnLossType : uint {
|
||||
MeanAbsoluteError = 0,
|
||||
MeanSquaredError,
|
||||
|
@ -374,7 +353,6 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
public enum MPSCnnReductionType {
|
||||
None = 0,
|
||||
Sum,
|
||||
|
@ -385,7 +363,6 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSNNConvolutionAccumulatorPrecisionOption : ulong {
|
||||
Half = 0x0,
|
||||
|
@ -394,7 +371,6 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSCnnBatchNormalizationFlags : ulong {
|
||||
Default = 0x0,
|
||||
|
@ -404,7 +380,6 @@ namespace MetalPerformanceShaders {
|
|||
CalculateStatisticsMask = 0x3,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MPSNNRegularizationType : ulong {
|
||||
|
@ -413,7 +388,6 @@ namespace MetalPerformanceShaders {
|
|||
L2 = 2,
|
||||
}
|
||||
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Flags]
|
||||
[Native]
|
||||
|
@ -424,7 +398,6 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
[Native]
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum MPSRnnMatrixId : ulong {
|
||||
SingleGateInputWeights = 0,
|
||||
|
@ -459,7 +432,6 @@ namespace MetalPerformanceShaders {
|
|||
//Count, // must always be last, and because of this it will cause breaking changes.
|
||||
}
|
||||
|
||||
[iOS (11, 3), TV (11, 3)]
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
public enum MPSCustomKernelIndex : uint {
|
||||
DestIndex = 0,
|
||||
|
@ -472,7 +444,6 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
[TV (11, 3), iOS (11, 3)]
|
||||
public enum MPSImageType : uint {
|
||||
Type2d = 0,
|
||||
Type2dArray = 1,
|
||||
|
@ -507,7 +478,6 @@ namespace MetalPerformanceShaders {
|
|||
[Flags]
|
||||
[Native]
|
||||
[Introduced (PlatformName.MacCatalyst, 13, 0)]
|
||||
[TV (12, 2), iOS (12, 2)]
|
||||
public enum MPSDeviceOptions : ulong {
|
||||
Default = 0x0,
|
||||
LowPower = 0x1,
|
||||
|
|
|
@ -17,13 +17,10 @@ using Metal;
|
|||
|
||||
namespace MetalPerformanceShaders {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 3)]
|
||||
[TV (11, 3)]
|
||||
#endif
|
||||
public static partial class MPSImageBatch {
|
||||
|
||||
|
@ -54,26 +51,20 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
static extern nuint MPSImageBatchResourceSize (IntPtr batch);
|
||||
|
||||
// Using 'NSArray<MPSImage>' instead of `MPSImage[]` because image array 'Handle' matters.
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
public static nuint GetResourceSize (NSArray<MPSImage> imageBatch)
|
||||
{
|
||||
|
@ -84,11 +75,9 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
// TODO: Disabled due to 'MPSImageBatchIterate' is not in the native library rdar://47282304.
|
||||
//[iOS (12,0), TV (12,0)]
|
||||
//[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
//static extern nint MPSImageBatchIterate (IntPtr batch, IntPtr iterator);
|
||||
|
||||
//[iOS (12,0), TV (12,0)]
|
||||
//public delegate nint MPSImageBatchIterator (MPSImage image, nuint index);
|
||||
|
||||
//[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
|
@ -111,7 +100,6 @@ namespace MetalPerformanceShaders {
|
|||
// }
|
||||
//}
|
||||
|
||||
//[iOS (12,0), TV (12,0)]
|
||||
//[BindingImpl (BindingImplOptions.Optimizable)]
|
||||
//public static nint Iterate (NSArray<MPSImage> imageBatch, MPSImageBatchIterator iterator)
|
||||
//{
|
||||
|
|
|
@ -70,48 +70,36 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
static extern void MPSHintTemporaryMemoryHighWaterMark (IntPtr commandBuffer, nuint bytes);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public static void HintTemporaryMemoryHighWaterMark (IMTLCommandBuffer commandBuffer, nuint sizeInBytes) => MPSHintTemporaryMemoryHighWaterMark (commandBuffer.GetHandle (), sizeInBytes);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
static extern void MPSSetHeapCacheDuration (IntPtr commandBuffer, double seconds);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public static void SetHeapCacheDuration (IMTLCommandBuffer commandBuffer, double seconds) => MPSSetHeapCacheDuration (commandBuffer.GetHandle (), seconds);
|
||||
#endif
|
||||
|
@ -122,24 +110,22 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios13.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (13, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
static extern MPSImageType MPSGetImageType (IntPtr image);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios13.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (13, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
public MPSImageType ImageType => MPSGetImageType (Handle);
|
||||
}
|
||||
|
@ -411,13 +397,10 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
public partial class MPSCnnBinaryConvolutionNode {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (11, 3)]
|
||||
[iOS (11, 3)]
|
||||
#endif
|
||||
public static MPSCnnBinaryConvolutionNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags)
|
||||
{
|
||||
|
@ -431,13 +414,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (11, 3)]
|
||||
[iOS (11, 3)]
|
||||
#endif
|
||||
public MPSCnnBinaryConvolutionNode (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) : base (NSObjectFlag.Empty)
|
||||
{
|
||||
|
@ -453,13 +433,10 @@ namespace MetalPerformanceShaders {
|
|||
|
||||
public partial class MPSCnnBinaryFullyConnectedNode {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (11, 3)]
|
||||
[iOS (11, 3)]
|
||||
#endif
|
||||
public new static MPSCnnBinaryFullyConnectedNode Create (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags)
|
||||
{
|
||||
|
@ -473,13 +450,10 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (11, 3)]
|
||||
[iOS (11, 3)]
|
||||
#endif
|
||||
public MPSCnnBinaryFullyConnectedNode (MPSNNImageNode sourceNode, IMPSCnnConvolutionDataSource weights, float [] outputBiasTerms, float [] outputScaleTerms, float [] inputBiasTerms, float [] inputScaleTerms, MPSCnnBinaryConvolutionType type, MPSCnnBinaryConvolutionFlags flags) : base (NSObjectFlag.Empty)
|
||||
{
|
||||
|
|
|
@ -17,13 +17,10 @@ using Metal;
|
|||
|
||||
namespace MetalPerformanceShaders {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (11, 3)]
|
||||
[TV (11, 3)]
|
||||
#endif
|
||||
public static partial class MPSStateBatch {
|
||||
|
||||
|
@ -54,26 +51,20 @@ namespace MetalPerformanceShaders {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.MetalPerformanceShadersLibrary)]
|
||||
static extern nuint MPSStateBatchResourceSize (IntPtr batch);
|
||||
|
||||
// Using 'NSArray<MPSState>' instead of `MPSState[]` because array 'Handle' matters.
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
#endif
|
||||
public static nuint GetResourceSize (NSArray<MPSState> stateBatch)
|
||||
{
|
||||
|
|
|
@ -258,16 +258,14 @@ namespace MobileCoreServices {
|
|||
static extern unsafe byte /* Boolean */ UTTypeEqual (/* CFStringRef */ IntPtr inUTI1, /* CFStringRef */ IntPtr inUTI2);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[ObsoletedOSPlatform ("tvos14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")]
|
||||
[ObsoletedOSPlatform ("macos11.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")]
|
||||
[ObsoletedOSPlatform ("ios14.0", "Use the 'UniformTypeIdentifiers.UTType' API instead.")]
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public static bool Equals (NSString uti1, NSString uti2)
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace NaturalLanguage {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLTaggerOptions : ulong {
|
||||
OmitWords = 1uL << 0,
|
||||
|
@ -40,7 +40,7 @@ namespace NaturalLanguage {
|
|||
}
|
||||
|
||||
[Native]
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLModelType : long {
|
||||
Classifier,
|
||||
|
@ -48,7 +48,7 @@ namespace NaturalLanguage {
|
|||
}
|
||||
|
||||
[Native]
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLTokenUnit : long {
|
||||
Word,
|
||||
|
@ -60,7 +60,7 @@ namespace NaturalLanguage {
|
|||
|
||||
[Flags]
|
||||
[Native]
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLTokenizerAttributes : ulong {
|
||||
Numeric = 1uL << 0,
|
||||
|
@ -68,7 +68,7 @@ namespace NaturalLanguage {
|
|||
Emoji = 1uL << 2,
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLLanguage {
|
||||
[DefaultEnumValue]
|
||||
|
@ -194,7 +194,7 @@ namespace NaturalLanguage {
|
|||
Kazakh,
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (5, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NLTagScheme {
|
||||
[Field ("NLTagSchemeTokenType")]
|
||||
|
|
|
@ -24,13 +24,11 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace Network {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWAdvertiseDescriptor : NativeObject {
|
||||
|
|
|
@ -46,13 +46,11 @@ namespace Network {
|
|||
public delegate void NWConnectionReceiveReadOnlySpanCompletion (ReadOnlySpan<byte> data, NWContentContext? context, bool isComplete, NWError? error);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWConnection : NativeObject {
|
||||
|
|
|
@ -26,13 +26,11 @@ namespace Network {
|
|||
// available as static properties on this class
|
||||
//
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWContentContext : NativeObject {
|
||||
|
|
|
@ -26,13 +26,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ namespace Network {
|
|||
Cancelled = 3,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWConnectionState {
|
||||
|
@ -71,7 +70,6 @@ namespace Network {
|
|||
Collected = 2,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWEndpointType {
|
||||
|
@ -128,7 +126,7 @@ namespace Network {
|
|||
Stable = 2,
|
||||
}
|
||||
|
||||
[Watch (6, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWIPVersion {
|
||||
Any = 0,
|
||||
|
@ -136,7 +134,6 @@ namespace Network {
|
|||
Version6 = 2,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWInterfaceType {
|
||||
|
@ -147,7 +144,6 @@ namespace Network {
|
|||
Loopback = 4,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWListenerState {
|
||||
|
@ -158,7 +154,6 @@ namespace Network {
|
|||
Cancelled = 4,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWMultiPathService {
|
||||
|
@ -168,7 +163,6 @@ namespace Network {
|
|||
Aggregate = 3,
|
||||
}
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWParametersExpiredDnsBehavior {
|
||||
|
@ -178,7 +172,6 @@ namespace Network {
|
|||
}
|
||||
|
||||
// this maps to `nw_path_status_t` in Network/Headers/path.h (and not the enum from NetworkExtension)
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
public enum NWPathStatus {
|
||||
|
|
|
@ -22,13 +22,11 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace Network {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWError : NativeObject {
|
||||
|
|
|
@ -21,13 +21,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWIPMetadata : NWProtocolMetadata {
|
||||
|
|
|
@ -25,13 +25,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWInterface : NativeObject {
|
||||
|
|
|
@ -24,13 +24,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWListener : NativeObject {
|
||||
|
|
|
@ -28,13 +28,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWParameters : NativeObject {
|
||||
|
|
|
@ -24,13 +24,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWPath : NativeObject {
|
||||
|
|
|
@ -25,13 +25,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWPathMonitor : NativeObject {
|
||||
|
|
|
@ -25,13 +25,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolDefinition : NativeObject {
|
||||
|
|
|
@ -27,13 +27,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolMetadata : NativeObject {
|
||||
|
|
|
@ -26,13 +26,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolOptions : NativeObject {
|
||||
|
|
|
@ -28,13 +28,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolStack : NativeObject {
|
||||
|
|
|
@ -27,13 +27,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolTcpOptions : NWProtocolOptions {
|
||||
|
|
|
@ -26,13 +26,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolTlsOptions : NWProtocolOptions {
|
||||
|
|
|
@ -22,13 +22,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWProtocolUdpOptions : NWProtocolOptions {
|
||||
|
|
|
@ -21,13 +21,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWTcpMetadata : NWProtocolMetadata {
|
||||
|
|
|
@ -22,13 +22,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWTlsMetadata : NWProtocolMetadata {
|
||||
|
|
|
@ -22,13 +22,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Network {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
#endif
|
||||
public class NWUdpMetadata : NWProtocolMetadata {
|
||||
|
|
|
@ -173,21 +173,16 @@ namespace PassKit {
|
|||
[MacCatalyst (13, 1)]
|
||||
Donate,
|
||||
#if NET
|
||||
[iOS (12,0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Checkout,
|
||||
[iOS (12,0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Book,
|
||||
#else
|
||||
[iOS (12, 0)]
|
||||
[Obsolete ("Use 'Book2'.")]
|
||||
Book,
|
||||
[iOS (12, 0)]
|
||||
[Obsolete ("Use 'Checkout2'.")]
|
||||
Checkout,
|
||||
#endif // !NET
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Subscribe,
|
||||
[iOS (14, 0)]
|
||||
|
@ -219,9 +214,7 @@ namespace PassKit {
|
|||
Continue = 16,
|
||||
#if !NET
|
||||
#pragma warning disable 0618 // warning CS0618: 'PKPaymentButtonType.[field]' is obsolete: 'Use '[replacement]'.'
|
||||
[iOS (12, 0)]
|
||||
Book2 = Checkout,
|
||||
[iOS (12, 0)]
|
||||
Checkout2 = Book,
|
||||
#pragma warning restore
|
||||
#endif // !NET
|
||||
|
@ -301,7 +294,6 @@ namespace PassKit {
|
|||
CouponCodeExpired,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[NoWatch] // https://feedbackassistant.apple.com/feedback/6301809 https://github.com/xamarin/maccore/issues/1819
|
||||
[MacCatalyst (13, 1)]
|
||||
|
|
|
@ -377,7 +377,6 @@ namespace SceneKit {
|
|||
}
|
||||
|
||||
[NoWatch]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum SCNTessellationSmoothingMode : long {
|
||||
|
|
|
@ -290,26 +290,22 @@ namespace Security {
|
|||
#endif // !__MACCATALYST__
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.SecurityLibrary)]
|
||||
static extern IntPtr /* SecKeyRef* */ SecCertificateCopyKey (IntPtr /* SecKeyRef* */ key);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public SecKey? GetKey ()
|
||||
|
|
|
@ -28,13 +28,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Security {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public class SecCertificate2 : NativeObject {
|
||||
|
|
|
@ -28,13 +28,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Security {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public class SecIdentity2 : NativeObject {
|
||||
|
|
|
@ -25,13 +25,11 @@ using NativeHandle = System.IntPtr;
|
|||
|
||||
namespace Security {
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public class SecProtocolMetadata : NativeObject {
|
||||
|
@ -56,9 +54,9 @@ namespace Security {
|
|||
public DispatchData? PeerPublicKey => CreateDispatchData (sec_protocol_metadata_copy_peer_public_key (GetCheckedHandle ()));
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'NegotiatedTlsProtocolVersion' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'NegotiatedTlsProtocolVersion' instead.")]
|
||||
|
@ -73,9 +71,9 @@ namespace Security {
|
|||
extern static SslProtocol sec_protocol_metadata_get_negotiated_protocol_version (IntPtr handle);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'NegotiatedTlsProtocolVersion' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'NegotiatedTlsProtocolVersion' instead.")]
|
||||
|
|
|
@ -27,13 +27,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Security {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public class SecProtocolOptions : NativeObject {
|
||||
|
@ -97,9 +95,9 @@ namespace Security {
|
|||
public void AddTlsCipherSuite (TlsCipherSuite cipherSuite) => sec_protocol_options_append_tls_ciphersuite (GetCheckedHandle (), cipherSuite);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'AddTlsCipherSuiteGroup (TlsCipherSuiteGroup)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'AddTlsCipherSuiteGroup (TlsCipherSuiteGroup)' instead.")]
|
||||
|
@ -114,9 +112,9 @@ namespace Security {
|
|||
static extern void sec_protocol_options_add_tls_ciphersuite_group (sec_protocol_options_t handle, SslCipherSuiteGroup cipherSuiteGroup);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'AddTlsCipherSuiteGroup (TlsCipherSuiteGroup)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'AddTlsCipherSuiteGroup (TlsCipherSuiteGroup)' instead.")]
|
||||
|
@ -155,9 +153,9 @@ namespace Security {
|
|||
public void AddTlsCipherSuiteGroup (TlsCipherSuiteGroup cipherSuiteGroup) => sec_protocol_options_append_tls_ciphersuite_group (GetCheckedHandle (), cipherSuiteGroup);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'SetTlsMinVersion (TlsProtocolVersion)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'SetTlsMinVersion (TlsProtocolVersion)' instead.")]
|
||||
|
@ -173,9 +171,9 @@ namespace Security {
|
|||
static extern void sec_protocol_options_set_tls_min_version (sec_protocol_options_t handle, SslProtocol protocol);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'SetTlsMinVersion (TlsProtocolVersion)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'SetTlsMinVersion (TlsProtocolVersion)' instead.")]
|
||||
|
@ -216,9 +214,9 @@ namespace Security {
|
|||
public void SetTlsMinVersion (TlsProtocolVersion protocol) => sec_protocol_options_set_min_tls_protocol_version (GetCheckedHandle (), protocol);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'SetTlsMaxVersion (TlsProtocolVersion)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'SetTlsMaxVersion (TlsProtocolVersion)' instead.")]
|
||||
|
@ -234,9 +232,9 @@ namespace Security {
|
|||
static extern void sec_protocol_options_set_tls_max_version (sec_protocol_options_t handle, SslProtocol protocol);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use 'SetTlsMaxVersion (TlsProtocolVersion)' instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use 'SetTlsMaxVersion (TlsProtocolVersion)' instead.")]
|
||||
|
@ -400,9 +398,9 @@ namespace Security {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use non-DHE cipher suites instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use non-DHE cipher suites instead.")]
|
||||
|
@ -418,9 +416,9 @@ namespace Security {
|
|||
static extern void sec_protocol_options_set_tls_diffie_hellman_parameters (IntPtr handle, IntPtr dispatchDataParameter);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[ObsoletedOSPlatform ("macos10.15", "Use non-DHE cipher suites instead.")]
|
||||
[ObsoletedOSPlatform ("tvos13.0", "Use non-DHE cipher suites instead.")]
|
||||
|
|
|
@ -24,13 +24,11 @@ namespace Security {
|
|||
public static class SecStatusCodeExtensions {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
#else
|
||||
[iOS (11, 3)]
|
||||
[TV (11, 3)]
|
||||
[Watch (4, 3)]
|
||||
#endif
|
||||
[DllImport (Constants.SecurityLibrary)]
|
||||
|
@ -39,13 +37,11 @@ namespace Security {
|
|||
/* void * */ IntPtr reserved); /* always null */
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios11.3")]
|
||||
[SupportedOSPlatform ("tvos11.3")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
#else
|
||||
[iOS (11, 3)] // Since Mac 10,3
|
||||
[TV (11, 3)]
|
||||
[Watch (4, 3)]
|
||||
#endif
|
||||
public static string GetStatusDescription (this SecStatusCode status)
|
||||
|
|
|
@ -313,28 +313,24 @@ namespace Security {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
[DllImport (Constants.SecurityLibrary)]
|
||||
[return: MarshalAs (UnmanagedType.U1)]
|
||||
static extern bool SecTrustEvaluateWithError (/* SecTrustRef */ IntPtr trust, out /* CFErrorRef** */ IntPtr error);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public bool Evaluate (out NSError? error)
|
||||
{
|
||||
|
@ -430,27 +426,23 @@ namespace Security {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.1.1")]
|
||||
[SupportedOSPlatform ("tvos12.1.1")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 1, 1)]
|
||||
[Watch (5, 1, 1)]
|
||||
[TV (12, 1, 1)]
|
||||
#endif
|
||||
[DllImport (Constants.SecurityLibrary)]
|
||||
static extern SecStatusCode /* OSStatus */ SecTrustSetSignedCertificateTimestamps (/* SecTrustRef* */ IntPtr trust, /* CFArrayRef* */ IntPtr sctArray);
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.1.1")]
|
||||
[SupportedOSPlatform ("tvos12.1.1")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 1, 1)]
|
||||
[Watch (5, 1, 1)]
|
||||
[TV (12, 1, 1)]
|
||||
#endif
|
||||
public SecStatusCode SetSignedCertificateTimestamps (IEnumerable<NSData> sct)
|
||||
{
|
||||
|
@ -462,14 +454,12 @@ namespace Security {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.1.1")]
|
||||
[SupportedOSPlatform ("tvos12.1.1")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[iOS (12, 1, 1)]
|
||||
[Watch (5, 1, 1)]
|
||||
[TV (12, 1, 1)]
|
||||
#endif
|
||||
public SecStatusCode SetSignedCertificateTimestamps (NSArray<NSData> sct)
|
||||
{
|
||||
|
|
|
@ -28,13 +28,11 @@ using NativeHandle = System.IntPtr;
|
|||
namespace Security {
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
#endif
|
||||
public class SecTrust2 : NativeObject {
|
||||
|
|
|
@ -61,14 +61,12 @@ namespace SpriteKit {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public static SKNode? Create (string filename, Type [] types, out NSError error)
|
||||
{
|
||||
|
@ -88,14 +86,12 @@ namespace SpriteKit {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("tvos12.0")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
[SupportedOSPlatform ("macos")]
|
||||
[SupportedOSPlatform ("ios12.0")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[Watch (5, 0)]
|
||||
[TV (12, 0)]
|
||||
[iOS (12, 0)]
|
||||
#endif
|
||||
public static SKNode? Create (string filename, NSSet<Class> classes, out NSError error)
|
||||
{
|
||||
|
|
|
@ -98,7 +98,7 @@ namespace StoreKit {
|
|||
Hide,
|
||||
}
|
||||
|
||||
[Watch (6, 2), iOS (11, 2), TV (11, 2)]
|
||||
[Watch (6, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum SKProductPeriodUnit : ulong {
|
||||
|
@ -108,7 +108,7 @@ namespace StoreKit {
|
|||
Year,
|
||||
}
|
||||
|
||||
[Watch (6, 2), iOS (11, 2), TV (11, 2)]
|
||||
[Watch (6, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum SKProductDiscountPaymentMode : ulong {
|
||||
|
|
|
@ -2086,7 +2086,7 @@ namespace UIKit {
|
|||
RightToLeft = UIUserInterfaceLayoutDirection.RightToLeft
|
||||
}
|
||||
|
||||
[NoWatch, iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum UIUserInterfaceStyle : long {
|
||||
|
@ -2483,7 +2483,7 @@ namespace UIKit {
|
|||
NoLocationAvailable = 2,
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum UIGraphicsImageRendererFormatRange : long {
|
||||
|
@ -2493,7 +2493,7 @@ namespace UIKit {
|
|||
Standard,
|
||||
}
|
||||
|
||||
[iOS (12, 0), NoTV, NoWatch]
|
||||
[NoTV, NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum UIPrintErrorCode : long {
|
||||
|
|
|
@ -46,21 +46,17 @@ namespace UIKit {
|
|||
|
||||
#if IOS
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[iOS (12,2)]
|
||||
#endif
|
||||
[DllImport (Constants.UIKitLibrary)]
|
||||
static unsafe extern void UIGuidedAccessConfigureAccessibilityFeatures (/* UIGuidedAccessAccessibilityFeature */ nuint features, byte enabled, BlockLiteral* completion);
|
||||
|
||||
#if NET
|
||||
// [SupportedOSPlatform ("ios12.2")] -- Not valid for Delegates
|
||||
// [SupportedOSPlatform ("ios")] -- Not valid for Delegates
|
||||
// [SupportedOSPlatform ("maccatalyst")]
|
||||
// [SupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[iOS (12,2)]
|
||||
#endif
|
||||
public delegate void UIGuidedAccessConfigureAccessibilityFeaturesCompletionHandler (bool success, NSError error);
|
||||
|
||||
|
@ -89,11 +85,9 @@ namespace UIKit {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[iOS (12,2)]
|
||||
#endif
|
||||
[BindingImpl (BindingImplOptions.Optimizable)]
|
||||
public static void ConfigureAccessibilityFeatures (UIGuidedAccessAccessibilityFeature features, bool enabled, UIGuidedAccessConfigureAccessibilityFeaturesCompletionHandler completionHandler)
|
||||
|
@ -114,11 +108,9 @@ namespace UIKit {
|
|||
}
|
||||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("ios12.2")]
|
||||
[SupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("maccatalyst")]
|
||||
[SupportedOSPlatform ("tvos")]
|
||||
#else
|
||||
[iOS (12,2)]
|
||||
#endif
|
||||
[BindingImpl (BindingImplOptions.Optimizable)]
|
||||
public static Task<(bool Success, NSError Error)> ConfigureAccessibilityFeaturesAsync (UIGuidedAccessAccessibilityFeature features, bool enabled)
|
||||
|
|
55
src/arkit.cs
55
src/arkit.cs
|
@ -57,7 +57,6 @@ namespace ARKit {
|
|||
Initializing,
|
||||
ExcessiveMotion,
|
||||
InsufficientFeatures,
|
||||
[iOS (11, 3)]
|
||||
Relocalizing,
|
||||
}
|
||||
|
||||
|
@ -97,11 +96,9 @@ namespace ARKit {
|
|||
public enum ARHitTestResultType : ulong {
|
||||
FeaturePoint = 1 << 0,
|
||||
EstimatedHorizontalPlane = 1 << 1,
|
||||
[iOS (11, 3)]
|
||||
EstimatedVerticalPlane = 1 << 2,
|
||||
ExistingPlane = 1 << 3,
|
||||
ExistingPlaneUsingExtent = 1 << 4,
|
||||
[iOS (11, 3)]
|
||||
ExistingPlaneUsingGeometry = 1 << 5,
|
||||
}
|
||||
|
||||
|
@ -109,7 +106,6 @@ namespace ARKit {
|
|||
[Native]
|
||||
public enum ARPlaneAnchorAlignment : long {
|
||||
Horizontal,
|
||||
[iOS (11, 3)]
|
||||
Vertical,
|
||||
}
|
||||
|
||||
|
@ -139,11 +135,9 @@ namespace ARKit {
|
|||
public enum ARPlaneDetection : ulong {
|
||||
None = 0,
|
||||
Horizontal = 1 << 0,
|
||||
[iOS (11, 3)]
|
||||
Vertical = 1 << 1,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
public enum AREnvironmentTexturing : long {
|
||||
|
@ -152,7 +146,6 @@ namespace ARKit {
|
|||
Automatic,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
public enum ARWorldMappingStatus : long {
|
||||
|
@ -162,7 +155,6 @@ namespace ARKit {
|
|||
Mapped,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
public enum ARPlaneClassificationStatus : long {
|
||||
|
@ -172,7 +164,6 @@ namespace ARKit {
|
|||
Known,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
public enum ARPlaneClassification : long {
|
||||
|
@ -307,7 +298,6 @@ namespace ARKit {
|
|||
Decoded,
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Protocol]
|
||||
[Advice ("To conform to 'ARAnchorCopying' you need to implement:\n'[Export (\"initWithAnchor:\")]'\n'public YourConstructor (ARAnchor anchor)'")]
|
||||
|
@ -324,7 +314,6 @@ namespace ARKit {
|
|||
[Export ("identifier")]
|
||||
NSUuid Identifier { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NullAllowed, Export ("name")]
|
||||
string Name { get; }
|
||||
|
||||
|
@ -342,13 +331,11 @@ namespace ARKit {
|
|||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
NativeHandle Constructor (Matrix4 transform);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("initWithName:transform:")]
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
NativeHandle Constructor (string name, Matrix4 transform);
|
||||
|
||||
// Inlined from 'ARAnchorCopying' protocol (we can't have constructors in interfaces)
|
||||
[iOS (12, 0)]
|
||||
[Export ("initWithAnchor:")]
|
||||
NativeHandle Constructor (ARAnchor anchor);
|
||||
}
|
||||
|
@ -409,7 +396,6 @@ namespace ARKit {
|
|||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
CGPoint Project (Vector3 point, UIInterfaceOrientation orientation, CGSize viewportSize);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
[Export ("unprojectPoint:ontoPlaneWithTransform:orientation:viewportSize:")]
|
||||
Vector3 Unproject (CGPoint point, Matrix4 planeTransform, UIInterfaceOrientation orientation, CGSize viewportSize);
|
||||
|
@ -460,7 +446,6 @@ namespace ARKit {
|
|||
[NullAllowed, Export ("rawFeaturePoints", ArgumentSemantic.Strong)]
|
||||
ARPointCloud RawFeaturePoints { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("worldMappingStatus")]
|
||||
ARWorldMappingStatus WorldMappingStatus { get; }
|
||||
|
||||
|
@ -550,13 +535,11 @@ namespace ARKit {
|
|||
[DisableDefaultCtor]
|
||||
interface ARPlaneAnchor {
|
||||
// Inlined from 'ARAnchorCopying' protocol (we can't have constructors in interfaces)
|
||||
[iOS (12, 0)]
|
||||
[Export ("initWithAnchor:")]
|
||||
NativeHandle Constructor (ARAnchor anchor);
|
||||
|
||||
// [Export ("initWithTransform:")] marked as NS_UNAVAILABLE
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Static]
|
||||
[Export ("classificationSupported")]
|
||||
bool ClassificationSupported { [Bind ("isClassificationSupported")] get; }
|
||||
|
@ -577,15 +560,12 @@ namespace ARKit {
|
|||
get;
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("geometry", ArgumentSemantic.Strong)]
|
||||
ARPlaneGeometry Geometry { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("classificationStatus", ArgumentSemantic.Assign)]
|
||||
ARPlaneClassificationStatus ClassificationStatus { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("classification", ArgumentSemantic.Assign)]
|
||||
ARPlaneClassification Classification { get; }
|
||||
|
||||
|
@ -594,7 +574,6 @@ namespace ARKit {
|
|||
ARPlaneExtent PlaneExtent { get; }
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface ARPlaneGeometry : NSSecureCoding {
|
||||
|
@ -627,7 +606,6 @@ namespace ARKit {
|
|||
IntPtr GetRawBoundaryVertices ();
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[BaseType (typeof (SCNGeometry))]
|
||||
[DisableDefaultCtor]
|
||||
interface ARSCNPlaneGeometry {
|
||||
|
@ -657,7 +635,6 @@ namespace ARKit {
|
|||
IntPtr GetRawIdentifiers ();
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -689,7 +666,6 @@ namespace ARKit {
|
|||
NSSet<ARReferenceImage> GetReferenceImagesInGroup (string name, [NullAllowed] NSBundle bundle);
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface ARVideoFormat : NSCopying {
|
||||
|
@ -757,7 +733,6 @@ namespace ARKit {
|
|||
[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CreateRaycastQuery' instead.")]
|
||||
ARHitTestResult [] HitTest (CGPoint point, ARHitTestResultType types);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("unprojectPoint:ontoPlaneWithTransform:")]
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
Vector3 Unproject (CGPoint point, Matrix4 planeTransform);
|
||||
|
@ -877,17 +852,14 @@ namespace ARKit {
|
|||
[Export ("removeAnchor:")]
|
||||
void RemoveAnchor (ARAnchor anchor);
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("setWorldOrigin:")]
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
void SetWorldOrigin (Matrix4 relativeTransform);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Async]
|
||||
[Export ("getCurrentWorldMapWithCompletionHandler:")]
|
||||
void GetCurrentWorldMap (Action<ARWorldMap, NSError> completionHandler);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Async]
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
[Export ("createReferenceObjectWithTransform:center:extent:completionHandler:")]
|
||||
|
@ -935,7 +907,6 @@ namespace ARKit {
|
|||
[Export ("sessionInterruptionEnded:")]
|
||||
void InterruptionEnded (ARSession session);
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("sessionShouldAttemptRelocalization:")]
|
||||
bool ShouldAttemptRelocalization (ARSession session);
|
||||
|
||||
|
@ -983,7 +954,6 @@ namespace ARKit {
|
|||
|
||||
#if !NET
|
||||
// even if static - it's abstract
|
||||
[iOS (11, 3)]
|
||||
[Static]
|
||||
[Obsolete ("This is an abstract static method. You need to call 'GetSupportedVideoFormats ()' from a subclass to get results.")]
|
||||
ARVideoFormat [] SupportedVideoFormats {
|
||||
|
@ -993,7 +963,6 @@ namespace ARKit {
|
|||
}
|
||||
#endif
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("videoFormat", ArgumentSemantic.Strong)]
|
||||
ARVideoFormat VideoFormat { get; set; }
|
||||
|
||||
|
@ -1039,16 +1008,13 @@ namespace ARKit {
|
|||
[BaseType (typeof (ARConfiguration))]
|
||||
interface ARWorldTrackingConfiguration {
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Static]
|
||||
[Export ("supportedVideoFormats")]
|
||||
ARVideoFormat [] GetSupportedVideoFormats ();
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("autoFocusEnabled")]
|
||||
bool AutoFocusEnabled { [Bind ("isAutoFocusEnabled")] get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("environmentTexturing", ArgumentSemantic.Assign)]
|
||||
AREnvironmentTexturing EnvironmentTexturing { get; set; }
|
||||
|
||||
|
@ -1059,11 +1025,9 @@ namespace ARKit {
|
|||
[Export ("planeDetection", ArgumentSemantic.Assign)]
|
||||
ARPlaneDetection PlaneDetection { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NullAllowed, Export ("initialWorldMap", ArgumentSemantic.Strong)]
|
||||
ARWorldMap InitialWorldMap { get; set; }
|
||||
|
||||
[iOS (11, 3)]
|
||||
[NullAllowed] //null_resettable
|
||||
[Export ("detectionImages", ArgumentSemantic.Copy)]
|
||||
NSSet<ARReferenceImage> DetectionImages { get; set; }
|
||||
|
@ -1072,11 +1036,9 @@ namespace ARKit {
|
|||
[Export ("automaticImageScaleEstimationEnabled")]
|
||||
bool AutomaticImageScaleEstimationEnabled { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("maximumNumberOfTrackedImages")]
|
||||
nint MaximumNumberOfTrackedImages { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("detectionObjects", ArgumentSemantic.Copy)]
|
||||
NSSet<ARReferenceObject> DetectionObjects { get; set; }
|
||||
|
||||
|
@ -1121,12 +1083,10 @@ namespace ARKit {
|
|||
[BaseType (typeof (ARConfiguration))]
|
||||
interface AROrientationTrackingConfiguration {
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Static]
|
||||
[Export ("supportedVideoFormats")]
|
||||
ARVideoFormat [] GetSupportedVideoFormats ();
|
||||
|
||||
[iOS (11, 3)]
|
||||
[Export ("autoFocusEnabled")]
|
||||
bool AutoFocusEnabled { [Bind ("isAutoFocusEnabled")] get; set; }
|
||||
|
||||
|
@ -1158,7 +1118,6 @@ namespace ARKit {
|
|||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARConfiguration))]
|
||||
interface ARFaceTrackingConfiguration {
|
||||
[iOS (11, 3)]
|
||||
[Static]
|
||||
[Export ("supportedVideoFormats")]
|
||||
ARVideoFormat [] GetSupportedVideoFormats ();
|
||||
|
@ -1293,7 +1252,6 @@ namespace ARKit {
|
|||
|
||||
float NoseSneerRight { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
float TongueOut { get; set; }
|
||||
}
|
||||
|
||||
|
@ -1455,7 +1413,6 @@ namespace ARKit {
|
|||
[Field ("ARBlendShapeLocationNoseSneerRight")]
|
||||
NSString NoseSneerRightKey { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Field ("ARBlendShapeLocationTongueOut")]
|
||||
NSString TongueOutKey { get; }
|
||||
}
|
||||
|
@ -1465,7 +1422,6 @@ namespace ARKit {
|
|||
[DisableDefaultCtor]
|
||||
interface ARFaceAnchor : ARTrackable {
|
||||
// Inlined from 'ARAnchorCopying' protocol (we can't have constructors in interfaces)
|
||||
[iOS (12, 0)]
|
||||
[Export ("initWithAnchor:")]
|
||||
NativeHandle Constructor (ARAnchor anchor);
|
||||
|
||||
|
@ -1478,21 +1434,18 @@ namespace ARKit {
|
|||
[Export ("geometry")]
|
||||
ARFaceGeometry Geometry { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("leftEyeTransform")]
|
||||
Matrix4 LeftEyeTransform {
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
get;
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("rightEyeTransform")]
|
||||
Matrix4 RightEyeTransform {
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
get;
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[Export ("lookAtPoint")]
|
||||
Vector3 LookAtPoint {
|
||||
[MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")]
|
||||
|
@ -1574,13 +1527,11 @@ namespace ARKit {
|
|||
void Update (ARFaceGeometry faceGeometry);
|
||||
}
|
||||
|
||||
[iOS (11, 3)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARAnchor))]
|
||||
[DisableDefaultCtor]
|
||||
interface ARImageAnchor : ARTrackable {
|
||||
// Inlined from 'ARAnchorCopying' protocol (we can't have constructors in interfaces)
|
||||
[iOS (12, 0)]
|
||||
[Export ("initWithAnchor:")]
|
||||
NativeHandle Constructor (ARAnchor anchor);
|
||||
|
||||
|
@ -1609,7 +1560,6 @@ namespace ARKit {
|
|||
nfloat PrimaryLightIntensity { get; }
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARConfiguration))]
|
||||
interface ARImageTrackingConfiguration {
|
||||
|
@ -1632,7 +1582,6 @@ namespace ARKit {
|
|||
bool SupportsFrameSemantics (ARFrameSemantics frameSemantics);
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARConfiguration))]
|
||||
interface ARObjectScanningConfiguration {
|
||||
|
@ -1652,7 +1601,6 @@ namespace ARKit {
|
|||
bool SupportsFrameSemantics (ARFrameSemantics frameSemantics);
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARAnchor))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -1679,7 +1627,6 @@ namespace ARKit {
|
|||
}
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -1735,7 +1682,6 @@ namespace ARKit {
|
|||
NSString ArchiveExtension { get; }
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (ARAnchor))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -1748,7 +1694,6 @@ namespace ARKit {
|
|||
ARReferenceObject ReferenceObject { get; }
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
|
|
@ -292,26 +292,23 @@ namespace AudioUnit {
|
|||
[Export ("MIDIOutputBufferSizeHint")]
|
||||
nint MidiOutputBufferSizeHint { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("profileStateForCable:channel:")]
|
||||
MidiCIProfileState GetProfileState (byte cable, byte channel);
|
||||
|
||||
[iOS (12, 0), NoWatch, NoTV]
|
||||
[NoWatch, NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("profileChangedBlock", ArgumentSemantic.Assign)]
|
||||
AUMidiCIProfileChangedCallback ProfileChangedCallback { get; set; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("disableProfile:cable:onChannel:error:")]
|
||||
bool Disable (MidiCIProfile profile, byte cable, byte channel, [NullAllowed] out NSError outError);
|
||||
|
||||
[iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
|
|
|
@ -37,7 +37,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[Native]
|
||||
[ErrorDomain ("ASCredentialIdentityStoreErrorDomain")]
|
||||
|
@ -50,7 +49,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[Native]
|
||||
[ErrorDomain ("ASExtensionErrorDomain")]
|
||||
|
@ -80,7 +78,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[Native]
|
||||
public enum ASCredentialServiceIdentifierType : long {
|
||||
|
@ -90,7 +87,6 @@ namespace AuthenticationServices {
|
|||
|
||||
[TV (16, 0)]
|
||||
[Watch (6, 2)]
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
[ErrorDomain ("ASWebAuthenticationSessionErrorDomain")]
|
||||
|
@ -175,7 +171,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -232,7 +227,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -249,7 +243,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (NSExtensionContext))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -277,7 +270,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -295,7 +287,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -324,7 +315,6 @@ namespace AuthenticationServices {
|
|||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV]
|
||||
[NoWatch]
|
||||
[iOS (12, 0)]
|
||||
[Mac (11, 0)]
|
||||
[BaseType (typeof (UIViewController))]
|
||||
interface ASCredentialProviderViewController {
|
||||
|
@ -368,7 +358,6 @@ namespace AuthenticationServices {
|
|||
}
|
||||
|
||||
[Watch (6, 0), TV (13, 0)]
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -391,7 +380,6 @@ namespace AuthenticationServices {
|
|||
|
||||
[TV (16, 0)]
|
||||
[Watch (6, 2)]
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
|
|
@ -1077,33 +1077,33 @@ namespace AVFoundation {
|
|||
void DisableManualRenderingMode ();
|
||||
|
||||
#if !WATCH
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("connectMIDI:to:format:block:")]
|
||||
void ConnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler);
|
||||
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("connectMIDI:toNodes:format:block:")]
|
||||
void ConnectMidi (AVAudioNode sourceNode, AVAudioNode [] destinationNodes, [NullAllowed] AVAudioFormat format, [NullAllowed] AUMidiOutputEventBlock tapHandler);
|
||||
#endif
|
||||
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("disconnectMIDI:from:")]
|
||||
void DisconnectMidi (AVAudioNode sourceNode, AVAudioNode destinationNode);
|
||||
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("disconnectMIDI:fromNodes:")]
|
||||
void DisconnectMidi (AVAudioNode sourceNode, AVAudioNode [] destinationNodes);
|
||||
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("disconnectMIDIInput:")]
|
||||
void DisconnectMidiInput (AVAudioNode node);
|
||||
|
||||
[TV (12, 0), iOS (12, 0), NoWatch]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("disconnectMIDIOutput:")]
|
||||
void DisconnectMidiOutput (AVAudioNode node);
|
||||
|
@ -2172,7 +2172,7 @@ namespace AVFoundation {
|
|||
NSString ModeGameChat { get; }
|
||||
|
||||
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
|
||||
[Watch (5, 0), TV (12, 0), NoMac, iOS (12, 0)]
|
||||
[Watch (5, 0), NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVAudioSessionModeVoicePrompt")]
|
||||
NSString VoicePrompt { get; }
|
||||
|
@ -2215,27 +2215,23 @@ namespace AVFoundation {
|
|||
bool SetCategory (string category, string mode, AVAudioSessionCategoryOptions options, out NSError outError);
|
||||
|
||||
[NoMac]
|
||||
[iOS (10, 0), TV (10, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("SetCategory (category.GetConstant ()!, mode, options, out outError)")]
|
||||
bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out NSError outError);
|
||||
|
||||
[return: NullAllowed]
|
||||
[NoMac]
|
||||
[iOS (10, 0), TV (10, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("SetCategory (category.GetConstant ()!, mode, options, out var outError) ? null : outError")]
|
||||
NSError SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options);
|
||||
|
||||
[NoMac]
|
||||
[iOS (10, 0), TV (10, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("SetCategory (category.GetConstant ()!, mode.GetConstant ()!, options, out outError)")]
|
||||
bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out NSError outError);
|
||||
|
||||
[return: NullAllowed]
|
||||
[NoMac]
|
||||
[iOS (10, 0), TV (10, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("SetCategory (category.GetConstant ()!, mode.GetConstant ()!, options, out var outError) ? null : outError")]
|
||||
NSError SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options);
|
||||
|
@ -2632,12 +2628,12 @@ namespace AVFoundation {
|
|||
[Wrap ("SetCategory (category.GetConstant ()!, mode, policy, options, out outError)")]
|
||||
bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, [NullAllowed] out NSError outError);
|
||||
|
||||
[TV (11, 0), Watch (5, 0), iOS (11, 0), NoMac]
|
||||
[Watch (5, 0), NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("SetCategory (category.GetConstant ()!, mode.GetConstant ()!, policy, options, out outError)")]
|
||||
bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, [NullAllowed] out NSError outError);
|
||||
|
||||
[TV (11, 0), Watch (5, 0), iOS (11, 0), NoMac]
|
||||
[Watch (5, 0), NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("routeSharingPolicy")]
|
||||
AVAudioSessionRouteSharingPolicy RouteSharingPolicy { get; }
|
||||
|
@ -2647,7 +2643,7 @@ namespace AVFoundation {
|
|||
[Export ("activateWithOptions:completionHandler:")]
|
||||
void Activate (AVAudioSessionActivationOptions options, Action<bool, NSError> handler);
|
||||
|
||||
[Watch (5, 2), TV (12, 2), NoMac, iOS (12, 2)]
|
||||
[Watch (5, 2), NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("promptStyle")]
|
||||
AVAudioSessionPromptStyle PromptStyle { get; }
|
||||
|
@ -2780,12 +2776,11 @@ namespace AVFoundation {
|
|||
[Field ("AVAudioSessionModeVideoChat")]
|
||||
VideoChat,
|
||||
|
||||
[iOS (9, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVAudioSessionModeSpokenAudio")]
|
||||
SpokenAudio,
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVAudioSessionModeVoicePrompt")]
|
||||
VoicePrompt,
|
||||
|
@ -3350,7 +3345,7 @@ namespace AVFoundation {
|
|||
NSNumber [] AvailableEncodeChannelLayoutTags { get; }
|
||||
}
|
||||
|
||||
[TV (11, 2), NoWatch, NoMac, NoiOS]
|
||||
[NoWatch, NoMac, NoiOS]
|
||||
[NoMacCatalyst]
|
||||
[Abstract]
|
||||
[BaseType (typeof (NSObject))]
|
||||
|
@ -3382,7 +3377,7 @@ namespace AVFoundation {
|
|||
[Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use 'NaturalSize/PreferredTransform' as appropriate on the video track instead.")]
|
||||
CGSize NaturalSize { get; }
|
||||
|
||||
[TV (11, 2), NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[NoWatch, NoMac, NoiOS, NoMacCatalyst]
|
||||
[Export ("preferredDisplayCriteria")]
|
||||
AVDisplayCriteria PreferredDisplayCriteria { get; }
|
||||
|
||||
|
@ -3532,13 +3527,13 @@ namespace AVFoundation {
|
|||
[Notification, Field ("AVAssetMediaSelectionGroupsDidChangeNotification")]
|
||||
NSString MediaSelectionGroupsDidChangeNotification { get; }
|
||||
|
||||
[TV (12, 0), NoWatch, iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVAssetContainsFragmentsDidChangeNotification")]
|
||||
[Notification]
|
||||
NSString ContainsFragmentsDidChangeNotification { get; }
|
||||
|
||||
[TV (12, 0), NoWatch, iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVAssetWasDefragmentedNotification")]
|
||||
[Notification]
|
||||
|
@ -3601,7 +3596,7 @@ namespace AVFoundation {
|
|||
interface IAVFragmentMinding { }
|
||||
|
||||
[Protocol]
|
||||
[iOS (12, 0), TV (12, 0), Watch (6, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
interface AVFragmentMinding {
|
||||
|
||||
|
@ -3612,7 +3607,7 @@ namespace AVFoundation {
|
|||
bool IsAssociatedWithFragmentMinder ();
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (6, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (AVUrlAsset))]
|
||||
|
@ -3629,7 +3624,7 @@ namespace AVFoundation {
|
|||
AVFragmentedAssetTrack [] Tracks { get; }
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (6, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Category]
|
||||
[BaseType (typeof (AVFragmentedAsset))]
|
||||
|
@ -3668,7 +3663,7 @@ namespace AVFoundation {
|
|||
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (6, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVFragmentedAssetMinder {
|
||||
|
@ -3694,7 +3689,7 @@ namespace AVFoundation {
|
|||
void RemoveFragmentedAsset (AVAsset asset);
|
||||
}
|
||||
|
||||
[iOS (12, 0), TV (12, 0), Watch (6, 0)]
|
||||
[Watch (6, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (AVAssetTrack))]
|
||||
|
@ -3930,13 +3925,11 @@ namespace AVFoundation {
|
|||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface AVSampleBufferRenderSynchronizer {
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVSampleBufferRenderSynchronizerRateDidChangeNotification")]
|
||||
[Notification]
|
||||
NSString RateDidChangeNotification { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("currentTime")]
|
||||
CMTime CurrentTime { get; }
|
||||
|
@ -4497,7 +4490,6 @@ namespace AVFoundation {
|
|||
[Export ("finishLoading")]
|
||||
void FinishLoading ();
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("requestor")]
|
||||
AVAssetResourceLoadingRequestor Requestor { get; }
|
||||
|
@ -4529,7 +4521,7 @@ namespace AVFoundation {
|
|||
[Export ("renewalDate", ArgumentSemantic.Copy), NullAllowed]
|
||||
NSDate RenewalDate { get; set; }
|
||||
|
||||
[Watch (4, 2), TV (11, 2), iOS (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("allowedContentTypes")]
|
||||
string [] AllowedContentTypes { get; }
|
||||
|
@ -8351,12 +8343,10 @@ namespace AVFoundation {
|
|||
[Export ("insertTimeRanges:ofTracks:atTime:error:")]
|
||||
bool InsertTimeRanges (NSValue [] cmTimeRanges, AVAssetTrack [] tracks, CMTime startTime, out NSError error);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("addTrackAssociationToTrack:type:")]
|
||||
void AddTrackAssociation (AVCompositionTrack compositionTrack, string trackAssociationType);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("removeTrackAssociationToTrack:type:")]
|
||||
void RemoveTrackAssociation (AVCompositionTrack compositionTrack, string trackAssociationType);
|
||||
|
@ -9485,7 +9475,7 @@ namespace AVFoundation {
|
|||
[Export ("automaticallyConfiguresCaptureDeviceForWideColor")]
|
||||
bool AutomaticallyConfiguresCaptureDeviceForWideColor { get; set; }
|
||||
|
||||
[iOS (11, 1), NoMac]
|
||||
[NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("AVCaptureSessionInterruptionSystemPressureStateKey")]
|
||||
NSString InterruptionSystemPressureStateKey { get; }
|
||||
|
@ -9809,7 +9799,7 @@ namespace AVFoundation {
|
|||
[Export ("initWithDevice:error:")]
|
||||
NativeHandle Constructor (AVCaptureDevice device, out NSError error);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("unifiedAutoExposureDefaultsEnabled")]
|
||||
bool UnifiedAutoExposureDefaultsEnabled { get; set; }
|
||||
|
@ -10391,7 +10381,7 @@ namespace AVFoundation {
|
|||
void DidOutputMetadataObjects (AVCaptureMetadataOutput captureOutput, AVMetadataObject [] metadataObjects, AVCaptureConnection connection);
|
||||
}
|
||||
|
||||
[NoTV, NoWatch, iOS (12, 0)]
|
||||
[NoTV, NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Internal]
|
||||
[Static]
|
||||
|
@ -10407,7 +10397,7 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
|
||||
[NoTV, NoWatch, iOS (12, 0)]
|
||||
[NoTV, NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[StrongDictionary ("AVCapturePhotoSettingsThumbnailFormatKeys")]
|
||||
interface AVCapturePhotoSettingsThumbnailFormat {
|
||||
|
@ -10555,23 +10545,23 @@ namespace AVFoundation {
|
|||
NSDictionary EmbeddedThumbnailPhotoFormat { get; set; }
|
||||
#endif
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("portraitEffectsMatteDeliveryEnabled")]
|
||||
bool PortraitEffectsMatteDeliveryEnabled { [Bind ("isPortraitEffectsMatteDeliveryEnabled")] get; set; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("embedsPortraitEffectsMatteInPhoto")]
|
||||
bool EmbedsPortraitEffectsMatteInPhoto { get; set; }
|
||||
|
||||
[BindAs (typeof (AVVideoCodecType []))]
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("availableRawEmbeddedThumbnailPhotoCodecTypes")]
|
||||
NSString [] AvailableRawEmbeddedThumbnailPhotoCodecTypes { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[NullAllowed, Export ("rawEmbeddedThumbnailPhotoFormat", ArgumentSemantic.Copy)]
|
||||
NSDictionary WeakRawEmbeddedThumbnailPhotoFormat { get; set; }
|
||||
|
@ -10581,7 +10571,7 @@ namespace AVFoundation {
|
|||
[Wrap ("WeakRawEmbeddedThumbnailPhotoFormat")]
|
||||
AVCapturePhotoSettingsThumbnailFormat RawEmbeddedThumbnailPhotoFormat { get; set; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("autoRedEyeReductionEnabled")]
|
||||
bool AutoRedEyeReductionEnabled { [Bind ("isAutoRedEyeReductionEnabled")] get; set; }
|
||||
|
@ -10692,17 +10682,17 @@ namespace AVFoundation {
|
|||
[Export ("expectedPhotoCount")]
|
||||
nuint ExpectedPhotoCount { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("portraitEffectsMatteDimensions")]
|
||||
CMVideoDimensions PortraitEffectsMatteDimensions { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("rawEmbeddedThumbnailDimensions")]
|
||||
CMVideoDimensions RawEmbeddedThumbnailDimensions { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("redEyeReductionEnabled")]
|
||||
bool RedEyeReductionEnabled { [Bind ("isRedEyeReductionEnabled")] get; }
|
||||
|
@ -11000,17 +10990,17 @@ namespace AVFoundation {
|
|||
[Export ("cameraCalibrationDataDeliverySupported")]
|
||||
bool CameraCalibrationDataDeliverySupported { [Bind ("isCameraCalibrationDataDeliverySupported")] get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("portraitEffectsMatteDeliverySupported")]
|
||||
bool PortraitEffectsMatteDeliverySupported { [Bind ("isPortraitEffectsMatteDeliverySupported")] get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("portraitEffectsMatteDeliveryEnabled")]
|
||||
bool PortraitEffectsMatteDeliveryEnabled { [Bind ("isPortraitEffectsMatteDeliveryEnabled")] get; set; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("autoRedEyeReductionSupported")]
|
||||
bool AutoRedEyeReductionSupported { [Bind ("isAutoRedEyeReductionSupported")] get; }
|
||||
|
@ -11107,7 +11097,7 @@ namespace AVFoundation {
|
|||
[Export ("setOutputSettings:forConnection:")]
|
||||
void SetOutputSettings ([NullAllowed] NSDictionary outputSettings, AVCaptureConnection connection);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("supportedOutputSettingsKeysForConnection:")]
|
||||
string [] GetSupportedOutputSettingsKeys (AVCaptureConnection connection);
|
||||
|
@ -11268,7 +11258,7 @@ namespace AVFoundation {
|
|||
[Field ("AVCaptureDeviceTypeBuiltInDualCamera")]
|
||||
BuiltInDualCamera,
|
||||
|
||||
[iOS (11, 1), NoMac]
|
||||
[NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Field ("AVCaptureDeviceTypeBuiltInTrueDepthCamera")]
|
||||
BuiltInTrueDepthCamera,
|
||||
|
@ -11949,7 +11939,7 @@ namespace AVFoundation {
|
|||
nfloat MaxAvailableVideoZoomFactor { get; }
|
||||
|
||||
// From AVCaptureDevice (AVCaptureDeviceSystemPressure) Category
|
||||
[NoWatch, NoTV, NoMac, iOS (11, 1)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("systemPressureState")]
|
||||
AVCaptureSystemPressureState SystemPressureState { get; }
|
||||
|
@ -11963,13 +11953,13 @@ namespace AVFoundation {
|
|||
|
||||
// From @interface AVCaptureDeviceDepthSupport (AVCaptureDevice)
|
||||
|
||||
[NoMac, iOS (12, 0), NoWatch]
|
||||
[NoMac, NoWatch]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("activeDepthDataMinFrameDuration", ArgumentSemantic.Assign)]
|
||||
CMTime ActiveDepthDataMinFrameDuration { get; set; }
|
||||
|
||||
// From @interface AVCaptureDeviceExposure (AVCaptureDevice)
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("activeMaxExposureDuration", ArgumentSemantic.Assign)]
|
||||
CMTime ActiveMaxExposureDuration { get; set; }
|
||||
|
@ -12116,7 +12106,7 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoTV, iOS (11, 1), NoMac, NoWatch]
|
||||
[NoTV, NoMac, NoWatch]
|
||||
enum AVCaptureSystemPressureLevel {
|
||||
[Field ("AVCaptureSystemPressureLevelNominal")]
|
||||
Nominal,
|
||||
|
@ -12135,7 +12125,7 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (11, 1)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVCaptureSystemPressureState {
|
||||
|
@ -12273,7 +12263,7 @@ namespace AVFoundation {
|
|||
Class [] UnsupportedCaptureOutputClasses { get; }
|
||||
|
||||
// from @interface AVCaptureDeviceFormatDepthDataAdditions (AVCaptureDeviceFormat)
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("portraitEffectsMatteStillImageDeliverySupported")]
|
||||
bool PortraitEffectsMatteStillImageDeliverySupported { [Bind ("isPortraitEffectsMatteStillImageDeliverySupported")] get; }
|
||||
|
@ -12657,13 +12647,13 @@ namespace AVFoundation {
|
|||
|
||||
// From AVPlayer (AVPlayerPlaybackCapabilities) Category
|
||||
|
||||
[TV (11, 2), NoWatch, NoMac, iOS (11, 2)]
|
||||
[NoWatch, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("availableHDRModes")]
|
||||
AVPlayerHdrMode AvailableHdrModes { get; }
|
||||
|
||||
[TV (11, 2), NoWatch, NoMac, iOS (11, 2)]
|
||||
[NoWatch, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("AVPlayerAvailableHDRModesDidChangeNotification")]
|
||||
[Notification]
|
||||
|
@ -12677,7 +12667,7 @@ namespace AVFoundation {
|
|||
|
||||
// From AVPlayerVideoDisplaySleepPrevention (AVPlayer) Category
|
||||
|
||||
[TV (12, 0), NoWatch, iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("preventsDisplaySleepDuringVideoPlayback")]
|
||||
bool PreventsDisplaySleepDuringVideoPlayback { get; set; }
|
||||
|
@ -14337,7 +14327,7 @@ namespace AVFoundation {
|
|||
|
||||
// AVSampleBufferDisplayLayerImageProtection
|
||||
|
||||
[TV (12, 2), NoWatch, iOS (12, 2)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("preventsCapture")]
|
||||
bool PreventsCapture { get; set; }
|
||||
|
@ -15265,12 +15255,10 @@ namespace AVFoundation {
|
|||
[Export ("contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:")]
|
||||
void DidUpdate (AVContentKeySession session, NSData persistableContentKey, NSObject keyIdentifier);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("contentKeySession:contentKeyRequestDidSucceed:")]
|
||||
void DidSucceed (AVContentKeySession session, AVContentKeyRequest keyRequest);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("contentKeySessionDidGenerateExpiredSessionReport:")]
|
||||
void DidGenerateExpiredSessionReport (AVContentKeySession session);
|
||||
|
@ -15350,25 +15338,25 @@ namespace AVFoundation {
|
|||
void MakeSecureToken (NSData persistableContentKeyData, Action<NSData, NSError> handler);
|
||||
|
||||
[Async]
|
||||
[NoTV, iOS (12, 2)]
|
||||
[NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("invalidatePersistableContentKey:options:completionHandler:")]
|
||||
void InvalidatePersistableContentKey (NSData persistableContentKeyData, [NullAllowed] NSDictionary options, Action<NSData, NSError> handler);
|
||||
|
||||
[Async]
|
||||
[NoTV, NoMac, iOS (12, 2)]
|
||||
[NoTV, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("InvalidatePersistableContentKey (persistableContentKeyData, options.GetDictionary (), handler)")]
|
||||
void InvalidatePersistableContentKey (NSData persistableContentKeyData, [NullAllowed] AVContentKeySessionServerPlaybackContextOptions options, Action<NSData, NSError> handler);
|
||||
|
||||
[Async]
|
||||
[NoTV, iOS (12, 2)]
|
||||
[NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("invalidateAllPersistableContentKeysForApp:options:completionHandler:")]
|
||||
void InvalidateAllPersistableContentKeys (NSData appIdentifier, [NullAllowed] NSDictionary options, Action<NSData, NSError> handler);
|
||||
|
||||
[Async]
|
||||
[NoTV, NoMac, iOS (12, 2)]
|
||||
[NoTV, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Wrap ("InvalidateAllPersistableContentKeys (appIdentifier, options.GetDictionary (), handler)")]
|
||||
void InvalidateAllPersistableContentKeys (NSData appIdentifier, [NullAllowed] AVContentKeySessionServerPlaybackContextOptions options, Action<NSData, NSError> handler);
|
||||
|
@ -15389,7 +15377,7 @@ namespace AVFoundation {
|
|||
|
||||
[Static]
|
||||
[Internal]
|
||||
[Watch (7, 0), NoTV, iOS (12, 2)]
|
||||
[Watch (7, 0), NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
interface AVContentKeySessionServerPlaybackContextOptionKeys {
|
||||
[Field ("AVContentKeySessionServerPlaybackContextOptionProtocolVersions")]
|
||||
|
@ -15400,7 +15388,7 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
[StrongDictionary ("AVContentKeySessionServerPlaybackContextOptionKeys")]
|
||||
[Watch (7, 0), NoTV, NoMac, iOS (12, 2)]
|
||||
[Watch (7, 0), NoTV, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
interface AVContentKeySessionServerPlaybackContextOptions {
|
||||
NSNumber [] ProtocolVersions { get; }
|
||||
|
@ -15458,7 +15446,7 @@ namespace AVFoundation {
|
|||
[Export ("canProvidePersistableContentKey")]
|
||||
bool CanProvidePersistableContentKey { get; }
|
||||
|
||||
[TV (12, 2), iOS (12, 2), Watch (7, 0)]
|
||||
[Watch (7, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("options", ArgumentSemantic.Copy)]
|
||||
NSDictionary<NSString, NSObject> Options { get; }
|
||||
|
@ -15485,7 +15473,7 @@ namespace AVFoundation {
|
|||
[Deprecated (PlatformName.MacCatalyst, 13, 1, message: "Use the 'NSError' overload instead.")]
|
||||
void RespondByRequestingPersistableContentKeyRequest ();
|
||||
|
||||
[Watch (7, 0), NoTV, iOS (11, 2)]
|
||||
[Watch (7, 0), NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("respondByRequestingPersistableContentKeyRequestAndReturnError:")]
|
||||
bool RespondByRequestingPersistableContentKeyRequest ([NullAllowed] out NSError error);
|
||||
|
@ -15598,7 +15586,7 @@ namespace AVFoundation {
|
|||
interface IAVCapturePhotoFileDataRepresentationCustomizer { }
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Protocol]
|
||||
interface AVCapturePhotoFileDataRepresentationCustomizer {
|
||||
[Export ("replacementMetadataForPhoto:")]
|
||||
|
@ -15725,12 +15713,12 @@ namespace AVFoundation {
|
|||
[NullAllowed, Export ("previewCGImageRepresentation")]
|
||||
CGImage PreviewCGImageRepresentation { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[NullAllowed, Export ("portraitEffectsMatte")]
|
||||
AVPortraitEffectsMatte PortraitEffectsMatte { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("fileDataRepresentationWithCustomizer:")]
|
||||
[return: NullAllowed]
|
||||
|
@ -15744,7 +15732,7 @@ namespace AVFoundation {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[Watch (6, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (6, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVPortraitEffectsMatte {
|
||||
|
@ -15771,7 +15759,7 @@ namespace AVFoundation {
|
|||
CVPixelBuffer MattingImage { get; }
|
||||
}
|
||||
|
||||
[NoWatch, TV (12, 0), iOS (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
|
10
src/avkit.cs
10
src/avkit.cs
|
@ -291,7 +291,7 @@ namespace AVKit {
|
|||
[Export ("customInfoViewController", ArgumentSemantic.Assign)]
|
||||
UIViewController CustomInfoViewController { get; set; }
|
||||
|
||||
[NoiOS, TV (11, 2), NoMac, NoWatch]
|
||||
[NoiOS, NoMac, NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[Export ("appliesPreferredDisplayCriteriaAutomatically")]
|
||||
bool AppliesPreferredDisplayCriteriaAutomatically { get; set; }
|
||||
|
@ -901,25 +901,22 @@ namespace AVKit {
|
|||
void DidEndPresentingRoutes (AVRoutePickerView routePickerView);
|
||||
}
|
||||
|
||||
[TV (11, 2), NoiOS, NoMac, NoWatch]
|
||||
[NoiOS, NoMac, NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface AVDisplayManager {
|
||||
|
||||
[TV (11, 3)]
|
||||
[NoMacCatalyst]
|
||||
[Field ("AVDisplayManagerModeSwitchStartNotification")]
|
||||
[Notification]
|
||||
NSString ModeSwitchStartNotification { get; }
|
||||
|
||||
[TV (11, 3)]
|
||||
[NoMacCatalyst]
|
||||
[Field ("AVDisplayManagerModeSwitchEndNotification")]
|
||||
[Notification]
|
||||
NSString ModeSwitchEndNotification { get; }
|
||||
|
||||
[TV (11, 3)]
|
||||
[NoMacCatalyst]
|
||||
[Field ("AVDisplayManagerModeSwitchSettingsChangedNotification")]
|
||||
[Notification]
|
||||
|
@ -931,13 +928,12 @@ namespace AVKit {
|
|||
[Export ("displayModeSwitchInProgress")]
|
||||
bool DisplayModeSwitchInProgress { [Bind ("isDisplayModeSwitchInProgress")] get; }
|
||||
|
||||
[TV (11, 3)]
|
||||
[NoMacCatalyst]
|
||||
[Export ("displayCriteriaMatchingEnabled")]
|
||||
bool DisplayCriteriaMatchingEnabled { [Bind ("isDisplayCriteriaMatchingEnabled")] get; }
|
||||
}
|
||||
|
||||
[TV (11, 2), NoiOS, NoMac, NoWatch]
|
||||
[NoiOS, NoMac, NoWatch]
|
||||
[NoMacCatalyst]
|
||||
[Category]
|
||||
[BaseType (typeof (UIWindow))]
|
||||
|
|
|
@ -26,7 +26,6 @@ namespace BusinessChat {
|
|||
|
||||
[Deprecated (PlatformName.MacOSX, 13, 1)]
|
||||
[Deprecated (PlatformName.iOS, 16, 2)]
|
||||
[iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Deprecated (PlatformName.MacCatalyst, 16, 2)]
|
||||
[BaseType (typeof (UIControl))]
|
||||
|
@ -40,7 +39,6 @@ namespace BusinessChat {
|
|||
|
||||
[Deprecated (PlatformName.MacOSX, 13, 1)]
|
||||
[Deprecated (PlatformName.iOS, 16, 2)]
|
||||
[iOS (11, 3)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Deprecated (PlatformName.MacCatalyst, 16, 2)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace CarPlay {
|
|||
// Just to please the generator that at this point does not know the hierarchy
|
||||
interface NSUnitLength : NSUnit { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPAlertActionStyle : ulong {
|
||||
Default = 0,
|
||||
|
@ -31,14 +31,14 @@ namespace CarPlay {
|
|||
Destructive,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPBarButtonType : ulong {
|
||||
Text,
|
||||
Image,
|
||||
}
|
||||
|
||||
[Flags, NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[Flags, NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPPanDirection : long {
|
||||
None = 0,
|
||||
|
@ -48,7 +48,7 @@ namespace CarPlay {
|
|||
Down = 1L << 3,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPNavigationAlertDismissalContext : ulong {
|
||||
Timeout = 0,
|
||||
|
@ -56,7 +56,7 @@ namespace CarPlay {
|
|||
SystemDismissed,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPTripPauseReason : ulong {
|
||||
Arrived = 1,
|
||||
|
@ -66,7 +66,7 @@ namespace CarPlay {
|
|||
ProceedToRoute = 5,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Flags]
|
||||
[Native]
|
||||
enum CPLimitableUserInterface : ulong {
|
||||
|
@ -82,7 +82,7 @@ namespace CarPlay {
|
|||
Dark = 1uL << 1,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Flags]
|
||||
[Native]
|
||||
enum CPManeuverDisplayStyle : long {
|
||||
|
@ -93,7 +93,7 @@ namespace CarPlay {
|
|||
InstructionOnly,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPTimeRemainingColor : ulong {
|
||||
Default = 0,
|
||||
|
@ -102,7 +102,7 @@ namespace CarPlay {
|
|||
Red,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Native]
|
||||
enum CPTripEstimateStyle : ulong {
|
||||
Light = 0,
|
||||
|
@ -192,7 +192,7 @@ namespace CarPlay {
|
|||
UserPreference,
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPAlertAction : NSSecureCoding {
|
||||
|
@ -221,7 +221,7 @@ namespace CarPlay {
|
|||
|
||||
delegate void CPBarButtonHandler (CPBarButton button);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPBarButton : NSSecureCoding {
|
||||
|
@ -258,7 +258,7 @@ namespace CarPlay {
|
|||
|
||||
interface ICPBarButtonProviding { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[Protocol]
|
||||
interface CPBarButtonProviding {
|
||||
|
||||
|
@ -273,12 +273,11 @@ namespace CarPlay {
|
|||
#if NET
|
||||
[Abstract]
|
||||
#endif
|
||||
[iOS (12, 2)]
|
||||
[NullAllowed, Export ("backButton", ArgumentSemantic.Strong)]
|
||||
CPBarButton BackButton { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPGridButton : NSSecureCoding {
|
||||
|
@ -297,7 +296,7 @@ namespace CarPlay {
|
|||
string [] TitleVariants { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPGridTemplate : CPBarButtonProviding {
|
||||
|
@ -324,7 +323,7 @@ namespace CarPlay {
|
|||
nuint MaximumItems { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPInterfaceController {
|
||||
|
@ -423,7 +422,7 @@ namespace CarPlay {
|
|||
|
||||
interface ICPInterfaceControllerDelegate { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -473,7 +472,7 @@ namespace CarPlay {
|
|||
void DidSelectManeuver (UIApplication application, CPManeuver maneuver);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPListItem : CPSelectableListItem, NSSecureCoding {
|
||||
|
@ -552,7 +551,7 @@ namespace CarPlay {
|
|||
void SetText (string text);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPListSection : NSSecureCoding {
|
||||
|
@ -626,7 +625,7 @@ namespace CarPlay {
|
|||
CGSize MaximumImageSize { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPListTemplate : CPBarButtonProviding {
|
||||
|
@ -696,7 +695,7 @@ namespace CarPlay {
|
|||
interface ICPListTemplateDelegate { }
|
||||
|
||||
[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CPListItem.Handler' instead.")]
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -710,7 +709,7 @@ namespace CarPlay {
|
|||
void DidSelectListItem (CPListTemplate listTemplate, CPListItem item, Action completionHandler);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CPManeuver : NSCopying, NSSecureCoding {
|
||||
|
||||
|
@ -739,7 +738,6 @@ namespace CarPlay {
|
|||
[NullAllowed, Export ("userInfo", ArgumentSemantic.Strong)]
|
||||
NSObject UserInfo { get; set; }
|
||||
|
||||
[iOS (12, 2)]
|
||||
[NullAllowed, Export ("junctionImage", ArgumentSemantic.Strong)]
|
||||
UIImage JunctionImage { get; set; }
|
||||
|
||||
|
@ -775,7 +773,7 @@ namespace CarPlay {
|
|||
NSAttributedString [] NotificationAttributedInstructionVariants { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPMapButton : NSSecureCoding {
|
||||
|
@ -797,7 +795,7 @@ namespace CarPlay {
|
|||
UIImage FocusedImage { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPMapTemplate : CPBarButtonProviding {
|
||||
|
@ -868,7 +866,7 @@ namespace CarPlay {
|
|||
|
||||
interface ICPMapTemplateDelegate { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -938,7 +936,7 @@ namespace CarPlay {
|
|||
CPManeuverDisplayStyle GetDisplayStyle (CPMapTemplate mapTemplate, CPManeuver maneuver);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPNavigationAlert : NSSecureCoding {
|
||||
|
@ -978,7 +976,7 @@ namespace CarPlay {
|
|||
double Duration { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPNavigationSession {
|
||||
|
@ -1006,7 +1004,7 @@ namespace CarPlay {
|
|||
void UpdateTravelEstimates (CPTravelEstimates estimates, CPManeuver maneuver);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
interface CPSearchTemplate {
|
||||
|
||||
|
@ -1021,7 +1019,7 @@ namespace CarPlay {
|
|||
interface ICPSearchTemplateDelegate { }
|
||||
delegate void CPSearchTemplateDelegateUpdateHandler (CPListItem [] searchResults);
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -1042,7 +1040,7 @@ namespace CarPlay {
|
|||
void SearchButtonPressed (CPSearchTemplate searchTemplate);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPSessionConfiguration {
|
||||
|
@ -1068,7 +1066,7 @@ namespace CarPlay {
|
|||
|
||||
interface ICPSessionConfigurationDelegate { }
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
#if NET
|
||||
[Protocol, Model]
|
||||
#else
|
||||
|
@ -1089,7 +1087,7 @@ namespace CarPlay {
|
|||
}
|
||||
|
||||
[Abstract]
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CPTemplate : NSSecureCoding {
|
||||
[NullAllowed, Export ("userInfo", ArgumentSemantic.Strong)]
|
||||
|
@ -1114,7 +1112,7 @@ namespace CarPlay {
|
|||
bool ShowsTabBadge { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPRouteChoice : NSCopying, NSSecureCoding {
|
||||
|
@ -1138,7 +1136,7 @@ namespace CarPlay {
|
|||
NSObject UserInfo { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPTrip : NSSecureCoding {
|
||||
|
@ -1160,7 +1158,7 @@ namespace CarPlay {
|
|||
NSObject UserInfo { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CPVoiceControlState : NSSecureCoding {
|
||||
|
||||
|
@ -1180,7 +1178,7 @@ namespace CarPlay {
|
|||
bool Repeats { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPVoiceControlTemplate {
|
||||
|
@ -1198,7 +1196,7 @@ namespace CarPlay {
|
|||
string ActiveStateIdentifier { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPImageSet : NSSecureCoding {
|
||||
|
@ -1276,7 +1274,7 @@ namespace CarPlay {
|
|||
NSString SessionRoleApplication { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (UIWindow))]
|
||||
interface CPWindow {
|
||||
|
||||
|
@ -1291,7 +1289,7 @@ namespace CarPlay {
|
|||
CPTemplateApplicationScene TemplateApplicationScene { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPTravelEstimates : NSSecureCoding {
|
||||
|
@ -1307,7 +1305,7 @@ namespace CarPlay {
|
|||
double TimeRemaining { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CPTripPreviewTextConfiguration : NSSecureCoding {
|
||||
|
||||
|
@ -1324,7 +1322,7 @@ namespace CarPlay {
|
|||
string OverviewButtonTitle { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPActionSheetTemplate {
|
||||
|
@ -1342,7 +1340,7 @@ namespace CarPlay {
|
|||
CPAlertAction [] Actions { get; }
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, NoMac, iOS (12, 0)]
|
||||
[NoWatch, NoTV, NoMac]
|
||||
[BaseType (typeof (CPTemplate))]
|
||||
[DisableDefaultCtor]
|
||||
interface CPAlertTemplate {
|
||||
|
|
|
@ -20,19 +20,18 @@ using NativeHandle = System.IntPtr;
|
|||
namespace ClassKit {
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Native]
|
||||
enum CLSBinaryValueType : long {
|
||||
TrueFalse = 0,
|
||||
PassFail,
|
||||
YesNo,
|
||||
[iOS (12, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
CorrectIncorrect,
|
||||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Native]
|
||||
enum CLSContextType : long {
|
||||
None = 0,
|
||||
|
@ -60,7 +59,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Native]
|
||||
[ErrorDomain ("CLSErrorCodeDomain")]
|
||||
public enum CLSErrorCode : long {
|
||||
|
@ -79,7 +78,7 @@ namespace ClassKit {
|
|||
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
enum CLSContextTopic {
|
||||
[Field ("CLSContextTopicMath")]
|
||||
Math,
|
||||
|
@ -115,7 +114,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Static]
|
||||
interface CLSErrorUserInfoKeys {
|
||||
|
||||
|
@ -131,7 +130,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Static]
|
||||
interface CLSPredicateKeyPath {
|
||||
[Field ("CLSPredicateKeyPathDateCreated")]
|
||||
|
@ -154,7 +153,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSObject : NSSecureCoding {
|
||||
|
@ -167,7 +166,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSActivity {
|
||||
|
@ -210,7 +209,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSActivityItem {
|
||||
|
@ -223,7 +222,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSBinaryItem {
|
||||
|
@ -240,7 +239,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSContext {
|
||||
|
@ -377,7 +376,7 @@ namespace ClassKit {
|
|||
interface ICLSDataStoreDelegate { }
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CLSDataStoreDelegate {
|
||||
|
@ -389,7 +388,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSDataStore {
|
||||
|
@ -418,7 +417,6 @@ namespace ClassKit {
|
|||
[Export ("saveWithCompletion:")]
|
||||
void Save ([NullAllowed] Action<NSError> completion);
|
||||
|
||||
[iOS (12, 2)]
|
||||
[MacCatalyst (14, 0)]
|
||||
[Export ("completeAllAssignedActivitiesMatching:")]
|
||||
void CompleteAllAssignedActivitiesMatching (string [] contextPath);
|
||||
|
@ -445,7 +443,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSQuantityItem {
|
||||
|
@ -459,7 +457,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (11, 4)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[BaseType (typeof (CLSActivityItem))]
|
||||
[DisableDefaultCtor]
|
||||
interface CLSScoreItem {
|
||||
|
@ -476,7 +474,7 @@ namespace ClassKit {
|
|||
}
|
||||
|
||||
[Introduced (PlatformName.MacCatalyst, 14, 0)]
|
||||
[NoWatch, NoTV, Mac (11, 0), iOS (12, 2)]
|
||||
[NoWatch, NoTV, Mac (11, 0)]
|
||||
[Protocol]
|
||||
interface CLSContextProvider {
|
||||
[Abstract]
|
||||
|
|
|
@ -109,7 +109,7 @@ namespace CloudKit {
|
|||
[Export ("rootRecordID", ArgumentSemantic.Copy)]
|
||||
CKRecordID RootRecordID { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("participantRole", ArgumentSemantic.Assign)]
|
||||
CKShareParticipantRole ParticipantRole { get; }
|
||||
|
@ -199,7 +199,7 @@ namespace CloudKit {
|
|||
[Export ("userIdentity", ArgumentSemantic.Strong)]
|
||||
CKUserIdentity UserIdentity { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("role", ArgumentSemantic.Assign)]
|
||||
CKShareParticipantRole Role { get; set; }
|
||||
|
@ -663,7 +663,7 @@ namespace CloudKit {
|
|||
[Export ("initWithRecordZoneIDs:optionsByRecordZoneID:")]
|
||||
NativeHandle Constructor (CKRecordZoneID [] recordZoneIDs, [NullAllowed] NSDictionary<CKRecordZoneID, CKFetchRecordZoneChangesOptions> optionsByRecordZoneID);
|
||||
|
||||
[iOS (12, 0), Watch (5, 0), TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("initWithRecordZoneIDs:configurationsByRecordZoneID:")]
|
||||
NativeHandle Constructor (CKRecordZoneID [] recordZoneIDs, [NullAllowed] NSDictionary<CKRecordZoneID, CKFetchRecordZoneChangesConfiguration> configurationsByRecordZoneID);
|
||||
|
@ -680,7 +680,7 @@ namespace CloudKit {
|
|||
[NullAllowed, Export ("optionsByRecordZoneID", ArgumentSemantic.Copy)]
|
||||
NSDictionary<CKRecordZoneID, CKFetchRecordZoneChangesOptions> OptionsByRecordZoneID { get; set; }
|
||||
|
||||
[iOS (12, 0), Watch (5, 0), TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("configurationsByRecordZoneID", ArgumentSemantic.Copy)]
|
||||
NSDictionary<CKRecordZoneID, CKFetchRecordZoneChangesConfiguration> ConfigurationsByRecordZoneID { get; set; }
|
||||
|
@ -732,7 +732,7 @@ namespace CloudKit {
|
|||
string [] DesiredKeys { get; set; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface CKFetchRecordZoneChangesConfiguration : NSSecureCoding, NSCopying {
|
||||
|
|
|
@ -722,8 +722,6 @@ namespace CoreAnimation {
|
|||
bool AllowsNextDrawableTimeout { get; set; }
|
||||
|
||||
[NoWatch] // headers not updated
|
||||
[TV (11, 2)]
|
||||
[iOS (11, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("maximumDrawableCount")]
|
||||
nuint MaximumDrawableCount { get; set; }
|
||||
|
@ -1548,15 +1546,11 @@ namespace CoreAnimation {
|
|||
[Field ("kCAGradientLayerAxial")]
|
||||
Axial,
|
||||
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCAGradientLayerRadial")]
|
||||
Radial,
|
||||
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCAGradientLayerConic")]
|
||||
|
|
|
@ -190,8 +190,6 @@ namespace CoreBluetooth {
|
|||
NSString OptionNotifyOnNotificationKey { get; }
|
||||
#endif
|
||||
|
||||
[iOS (11, 2)]
|
||||
[TV (11, 2)]
|
||||
[Watch (4, 2)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("CBConnectPeripheralOptionStartDelayKey")]
|
||||
|
|
|
@ -270,8 +270,6 @@ namespace CoreGraphics {
|
|||
[Field ("kCGColorSpaceExtendedDisplayP3")]
|
||||
NSString ExtendedDisplayP3 { get; }
|
||||
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[Deprecated (PlatformName.MacOSX, 10, 15, 4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
[Deprecated (PlatformName.iOS, 13, 4, message: "Use 'Itur_2100_PQ' instead.")]
|
||||
|
|
|
@ -534,21 +534,18 @@ namespace CoreImage {
|
|||
[BaseType (typeof (CIContext))]
|
||||
interface CIContext_CIDepthBlurEffect {
|
||||
// as per the docs: The 'options' parameter is a key value/pair reserved for future use.
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("depthBlurEffectFilterForImageURL:options:")]
|
||||
[return: NullAllowed]
|
||||
CIFilter GetDepthBlurEffectFilter (NSUrl url, [NullAllowed] NSDictionary options);
|
||||
|
||||
// as per the docs: The 'options' parameter is a key value/pair reserved for future use.
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("depthBlurEffectFilterForImageData:options:")]
|
||||
[return: NullAllowed]
|
||||
CIFilter GetDepthBlurEffectFilter (NSData data, [NullAllowed] NSDictionary options);
|
||||
|
||||
// as per the docs: The 'options' parameter is a key value/pair reserved for future use.
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:orientation:options:")]
|
||||
[return: NullAllowed]
|
||||
|
@ -1266,12 +1263,10 @@ namespace CoreImage {
|
|||
[Field ("kCIInputDisparityImageKey", "+CoreImage")]
|
||||
NSString DisparityImage { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCIInputMatteImageKey", "+CoreImage")]
|
||||
NSString MatteImage { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCIInputAmountKey", "+CoreImage")]
|
||||
NSString Amount { get; }
|
||||
|
@ -1620,7 +1615,6 @@ namespace CoreImage {
|
|||
[MacCatalyst (13, 1)]
|
||||
bool AuxiliaryDisparity { get; set; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
bool AuxiliaryPortraitEffectsMatte { get; set; }
|
||||
|
||||
|
@ -1677,7 +1671,6 @@ namespace CoreImage {
|
|||
[Field ("kCIImageAuxiliaryDisparity")]
|
||||
NSString AuxiliaryDisparityKey { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCIImageAuxiliaryPortraitEffectsMatte")]
|
||||
NSString AuxiliaryPortraitEffectsMatteKey { get; }
|
||||
|
@ -2339,41 +2332,34 @@ namespace CoreImage {
|
|||
[Export ("imageTransformForCGOrientation:")]
|
||||
CGAffineTransform GetImageTransform (CGImagePropertyOrientation orientation);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("imageByInsertingIntermediate")]
|
||||
CIImage CreateByInsertingIntermediate ();
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("imageByInsertingIntermediate:")]
|
||||
CIImage CreateByInsertingIntermediate (bool cache);
|
||||
|
||||
// CIImage_AVPortraitEffectsMatte category
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("portraitEffectsMatte")]
|
||||
AVPortraitEffectsMatte PortraitEffectsMatte { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("initWithPortaitEffectsMatte:options:")] // selector typo, rdar filled 42894821
|
||||
NativeHandle Constructor (AVPortraitEffectsMatte matte, [NullAllowed] NSDictionary options);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("initWithPortaitEffectsMatte:")] // selector typo, rdar filled 42894821
|
||||
NativeHandle Constructor (AVPortraitEffectsMatte matte);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("imageWithPortaitEffectsMatte:options:")] // selector typo, rdar filled 42894821
|
||||
[return: NullAllowed]
|
||||
CIImage FromPortraitEffectsMatte (AVPortraitEffectsMatte matte, [NullAllowed] NSDictionary options);
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("imageWithPortaitEffectsMatte:")] // selector typo, rdar filled 42894821
|
||||
|
@ -6120,12 +6106,10 @@ namespace CoreImage {
|
|||
[Field ("kCIImageRepresentationDisparityImage")]
|
||||
NSString DisparityImageKey { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCIImageRepresentationAVPortraitEffectsMatte")]
|
||||
NSString AVPortraitEffectsMatteKey { get; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Field ("kCIImageRepresentationPortraitEffectsMatteImage")]
|
||||
NSString PortraitEffectsMatteImageKey { get; }
|
||||
|
@ -6191,11 +6175,9 @@ namespace CoreImage {
|
|||
|
||||
CIImage DisparityImage { get; set; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
CIImage PortraitEffectsMatteImage { get; set; }
|
||||
|
||||
[TV (12, 0), iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
AVPortraitEffectsMatte AVPortraitEffectsMatte { get; set; }
|
||||
|
||||
|
@ -6229,8 +6211,6 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIReductionFilter))]
|
||||
interface CIAreaMinMax : CIAreaReductionFilterProtocol {
|
||||
|
@ -6245,16 +6225,12 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CIDither : CIDitherProtocol {
|
||||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CIGuidedFilter {
|
||||
|
@ -6273,24 +6249,18 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CIMeshGenerator : CIMeshGeneratorProtocol {
|
||||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CIMix : CIMixProtocol {
|
||||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CISampleNearest {
|
||||
|
@ -6300,8 +6270,6 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CICameraCalibrationLensCorrection {
|
||||
|
@ -6317,8 +6285,6 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CICoreMLModelFilter {
|
||||
|
@ -6337,8 +6303,6 @@ namespace CoreImage {
|
|||
}
|
||||
|
||||
[CoreImageFilter]
|
||||
[iOS (12, 0)]
|
||||
[TV (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (CIFilter))]
|
||||
interface CISaliencyMapFilter : CISaliencyMapProtocol {
|
||||
|
|
|
@ -301,7 +301,7 @@ namespace CoreMidi {
|
|||
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, iOS (12, 0)]
|
||||
[NoWatch, NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject), Name = "MIDICIProfile")]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -321,7 +321,7 @@ namespace CoreMidi {
|
|||
NativeHandle Constructor (NSData data);
|
||||
}
|
||||
|
||||
[NoWatch, NoTV, iOS (12, 0)]
|
||||
[NoWatch, NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject), Name = "MIDICIProfileState")]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -355,7 +355,7 @@ namespace CoreMidi {
|
|||
delegate void MidiCIProfileSpecificDataHandler (MidiCISession session, byte channel, MidiCIProfile profile, NSData data);
|
||||
delegate void MidiCISessionDisconnectHandler (MidiCISession session, NSError error);
|
||||
|
||||
[NoWatch, NoTV, iOS (12, 0)]
|
||||
[NoWatch, NoTV]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject), Name = "MIDICISession")]
|
||||
[DisableDefaultCtor]
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace CoreML {
|
|||
Image = 4,
|
||||
MultiArray = 5,
|
||||
Dictionary = 6,
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
Sequence = 7,
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ namespace CoreML {
|
|||
Int32 = 0x20000 | 32,
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MLImageSizeConstraintType : long {
|
||||
|
@ -89,7 +89,7 @@ namespace CoreML {
|
|||
Range = 3,
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MLMultiArrayShapeConstraintType : long {
|
||||
|
@ -98,7 +98,7 @@ namespace CoreML {
|
|||
Range = 3,
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Native]
|
||||
public enum MLComputeUnits : long {
|
||||
|
@ -167,7 +167,7 @@ namespace CoreML {
|
|||
[NullAllowed, Export ("dictionaryConstraint", ArgumentSemantic.Assign)]
|
||||
MLDictionaryConstraint DictionaryConstraint { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("sequenceConstraint")]
|
||||
MLSequenceConstraint SequenceConstraint { get; }
|
||||
|
@ -217,7 +217,7 @@ namespace CoreML {
|
|||
[NullAllowed, Export ("imageBufferValue")]
|
||||
CVPixelBuffer ImageBufferValue { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[NullAllowed, Export ("sequenceValue")]
|
||||
MLSequence SequenceValue { get; }
|
||||
|
@ -226,7 +226,7 @@ namespace CoreML {
|
|||
[Export ("featureValueWithPixelBuffer:")]
|
||||
MLFeatureValue Create (CVPixelBuffer value);
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("featureValueWithSequence:")]
|
||||
|
@ -403,7 +403,7 @@ namespace CoreML {
|
|||
[Export ("modelDescription")]
|
||||
MLModelDescription ModelDescription { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("configuration")]
|
||||
MLModelConfiguration Configuration { get; }
|
||||
|
@ -413,7 +413,7 @@ namespace CoreML {
|
|||
[return: NullAllowed]
|
||||
MLModel Create (NSUrl url, out NSError error);
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("modelWithContentsOfURL:configuration:error:")]
|
||||
|
@ -434,7 +434,7 @@ namespace CoreML {
|
|||
[return: NullAllowed]
|
||||
IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, [NullAllowed] out NSError error);
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("predictionsFromBatch:options:error:")]
|
||||
[return: NullAllowed]
|
||||
|
@ -684,7 +684,7 @@ namespace CoreML {
|
|||
[Export ("pixelFormatType")]
|
||||
uint PixelFormatType { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("sizeConstraint")]
|
||||
MLImageSizeConstraint SizeConstraint { get; }
|
||||
|
@ -702,7 +702,7 @@ namespace CoreML {
|
|||
[Export ("dataType")]
|
||||
MLMultiArrayDataType DataType { get; }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Export ("shapeConstraint")]
|
||||
MLMultiArrayShapeConstraint ShapeConstraint { get; }
|
||||
|
@ -726,7 +726,7 @@ namespace CoreML {
|
|||
NSDictionary OutputBackings { get; set; }
|
||||
}
|
||||
|
||||
[NoWatch, TV (11, 2), iOS (11, 2)]
|
||||
[NoWatch]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Protocol]
|
||||
interface MLCustomLayer {
|
||||
|
@ -753,7 +753,7 @@ namespace CoreML {
|
|||
bool Encode (IMTLCommandBuffer commandBuffer, IMTLTexture [] inputs, IMTLTexture [] outputs, [NullAllowed] out NSError error);
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -771,7 +771,7 @@ namespace CoreML {
|
|||
|
||||
interface IMLBatchProvider { }
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Protocol]
|
||||
interface MLBatchProvider {
|
||||
|
@ -785,7 +785,7 @@ namespace CoreML {
|
|||
IMLFeatureProvider GetFeatures (nint index);
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
#if NET
|
||||
|
@ -809,7 +809,7 @@ namespace CoreML {
|
|||
IMLBatchProvider GetPredictions (IMLBatchProvider inputBatch, MLPredictionOptions options, out NSError error);
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -822,7 +822,7 @@ namespace CoreML {
|
|||
nint PixelsHigh { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -841,7 +841,7 @@ namespace CoreML {
|
|||
MLImageSize [] EnumeratedImageSizes { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -857,7 +857,7 @@ namespace CoreML {
|
|||
NSArray<NSNumber> [] EnumeratedShapes { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -885,7 +885,7 @@ namespace CoreML {
|
|||
NSNumber [] Int64Values { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -898,7 +898,7 @@ namespace CoreML {
|
|||
NSRange CountRange { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), TV (12, 0), iOS (12, 0)]
|
||||
[Watch (5, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface MLModelConfiguration : NSCopying, NSSecureCoding {
|
||||
|
|
|
@ -550,7 +550,7 @@ namespace CoreMotion {
|
|||
CMPedometerEventType Type { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), NoTV, NoMac, iOS (12, 0)]
|
||||
[Watch (5, 0), NoTV, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
@ -569,7 +569,7 @@ namespace CoreMotion {
|
|||
float PercentLikely { get; }
|
||||
}
|
||||
|
||||
[Watch (5, 0), NoTV, NoMac, iOS (12, 0)]
|
||||
[Watch (5, 0), NoTV, NoMac]
|
||||
[MacCatalyst (13, 1)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
|
|
|
@ -711,7 +711,6 @@ namespace CoreNFC {
|
|||
double RetryInterval { get; set; }
|
||||
}
|
||||
|
||||
[iOS (12, 0)]
|
||||
[MacCatalyst (13, 1)]
|
||||
[Category]
|
||||
[BaseType (typeof (NSUserActivity))]
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче