-
-
Save vs-mobiletools-engineering-service2/96857220949d1b274f82cdbde73c8da9 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index 274d253..da2ba21 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
@@ -13,7 +13,7 @@ using System.Reflection; | |
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f1cbbccaa8cc27d6f755b4f2ddaed8ae36b7f6b")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5fa0e7aa229d3d221cc3052babfcef3977ca6e33")] | |
[assembly: System.Reflection.AssemblyProductAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
index 5672c1c..5723a6a 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
@@ -1 +1 @@ | |
-{"documents":{"/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/4f1cbbccaa8cc27d6f755b4f2ddaed8ae36b7f6b/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/1/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/5fa0e7aa229d3d221cc3052babfcef3977ca6e33/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHErrorCode.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHErrorCode.g.cs | |
index aa29e05..081f234 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHErrorCode.g.cs | |
@@ -64,6 +64,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaItem.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaItem.g.cs | |
index 9d8d01b..16e580f 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaItem.g.cs | |
@@ -274,6 +274,27 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ public virtual NSDate? CreationDate { | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ #endif | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaItemProperty.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
index 3cf8147..3564ef3 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -78,6 +78,11 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
FrequencySkewRanges = 15, | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ CreationDate = 16, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
@@ -85,7 +90,7 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -206,6 +211,17 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -258,6 +274,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -297,6 +316,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaLibrary.g.cs b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
index ba9b156..edd347f 100644 | |
--- a/old/dotnet/ios/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/dotnet/ios/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
@@ -54,6 +54,10 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos14.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
#if ARCH_32 | |
diff --git a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHErrorCode.g.cs b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHErrorCode.g.cs | |
index 72e311a..87ca641 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHErrorCode.g.cs | |
@@ -64,6 +64,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
diff --git a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItem.g.cs b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItem.g.cs | |
index e015ecc..6553115 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItem.g.cs | |
@@ -232,6 +232,23 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ public virtual NSDate? CreationDate { | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItemProperty.g.cs b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
index 3cd2664..b0d9826 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -78,6 +78,11 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
FrequencySkewRanges = 15, | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ CreationDate = 16, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
@@ -85,7 +90,7 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -206,6 +211,17 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -258,6 +274,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -297,6 +316,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaLibrary.g.cs b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
index d7dc87c..41beaf8 100644 | |
--- a/old/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/dotnet/maccatalyst/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
@@ -54,6 +54,10 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos14.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly NativeHandle class_ptr = Class.GetHandle ("SHMediaLibrary"); | |
diff --git a/old/dotnet/macos/generated-sources/ShazamKit/SHErrorCode.g.cs b/new/dotnet/macos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
index e4871a5..6527729 100644 | |
--- a/old/dotnet/macos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/dotnet/macos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
@@ -59,6 +59,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
diff --git a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaItem.g.cs b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
index f383b23..7634e68 100644 | |
--- a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
@@ -66,6 +66,9 @@ namespace ShazamKit { | |
const string selCopyWithZone_X = "copyWithZone:"; | |
static readonly NativeHandle selCopyWithZone_XHandle = Selector.GetHandle ("copyWithZone:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selCreationDateX = "creationDate"; | |
+ static readonly NativeHandle selCreationDateXHandle = Selector.GetHandle ("creationDate"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selEncodeWithCoder_X = "encodeWithCoder:"; | |
static readonly NativeHandle selEncodeWithCoder_XHandle = Selector.GetHandle ("encodeWithCoder:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
@@ -290,6 +293,23 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ public virtual NSDate? CreationDate { | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, selCreationDateXHandle))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, selCreationDateXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
index 1e0ad76..f84a6ba 100644 | |
--- a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -73,6 +73,11 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
FrequencySkewRanges = 15, | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ CreationDate = 16, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
@@ -80,7 +85,7 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -201,6 +206,17 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -253,6 +269,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -292,6 +311,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaLibrary.g.cs b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
index e700d69..5a742ad 100644 | |
--- a/old/dotnet/macos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/dotnet/macos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
@@ -49,6 +49,10 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos14.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selAddMediaItems_CompletionHandler_X = "addMediaItems:completionHandler:"; | |
diff --git a/old/dotnet/tvos/generated-sources/ShazamKit/SHErrorCode.g.cs b/new/dotnet/tvos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
index 2d35010..11911d3 100644 | |
--- a/old/dotnet/tvos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/ShazamKit/SHErrorCode.g.cs | |
@@ -55,6 +55,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
diff --git a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaItem.g.cs b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
index 5c5f622..0d23d30 100644 | |
--- a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaItem.g.cs | |
@@ -223,6 +223,23 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ public virtual NSDate? CreationDate { | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
index e3b9910..1dc68bc 100644 | |
--- a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -69,6 +69,11 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("ios16.0")] | |
[SupportedOSPlatform ("maccatalyst16.0")] | |
FrequencySkewRanges = 15, | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ CreationDate = 16, | |
} | |
[SupportedOSPlatform ("ios15.0")] | |
[SupportedOSPlatform ("macos12.0")] | |
@@ -76,7 +81,7 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -197,6 +202,17 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [SupportedOSPlatform ("tvos17.0")] | |
+ [SupportedOSPlatform ("macos14.0")] | |
+ [SupportedOSPlatform ("ios17.0")] | |
+ [SupportedOSPlatform ("maccatalyst17.0")] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -249,6 +265,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -288,6 +307,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaLibrary.g.cs b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
index 65aa2df..a53a9e9 100644 | |
--- a/old/dotnet/tvos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/dotnet/tvos/generated-sources/ShazamKit/SHMediaLibrary.g.cs | |
@@ -45,6 +45,10 @@ namespace ShazamKit { | |
[SupportedOSPlatform ("macos12.0")] | |
[SupportedOSPlatform ("tvos15.0")] | |
[SupportedOSPlatform ("maccatalyst15.0")] | |
+ [ObsoletedOSPlatform ("macos14.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("ios17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("tvos17.0", "Use SHLibrary instead.")] | |
+ [ObsoletedOSPlatform ("maccatalyst17.0", "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly NativeHandle class_ptr = Class.GetHandle ("SHMediaLibrary"); | |
diff --git a/old/ios/native/ShazamKit/SHErrorCode.g.cs b/new/ios/native/ShazamKit/SHErrorCode.g.cs | |
index 8df9a2a..b5d3491 100644 | |
--- a/old/ios/native/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/ios/native/ShazamKit/SHErrorCode.g.cs | |
@@ -64,6 +64,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/ios/native/ShazamKit/SHMediaItem.g.cs b/new/ios/native/ShazamKit/SHMediaItem.g.cs | |
index b4f6b09..17c93f0 100644 | |
--- a/old/ios/native/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/ios/native/ShazamKit/SHMediaItem.g.cs | |
@@ -266,6 +266,33 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public virtual NSDate? CreationDate { | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ #endif | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/ios/native/ShazamKit/SHMediaItemProperty.g.cs b/new/ios/native/ShazamKit/SHMediaItemProperty.g.cs | |
index f00fac0..341a82e 100644 | |
--- a/old/ios/native/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/ios/native/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -80,6 +80,12 @@ namespace ShazamKit { | |
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
FrequencySkewRanges = 15, | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ CreationDate = 16, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
@@ -88,7 +94,7 @@ namespace ShazamKit { | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -211,6 +217,18 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -263,6 +281,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -302,6 +323,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/ios/native/ShazamKit/SHMediaLibrary.g.cs b/new/ios/native/ShazamKit/SHMediaLibrary.g.cs | |
index e646ebf..2f3a757 100644 | |
--- a/old/ios/native/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/ios/native/ShazamKit/SHMediaLibrary.g.cs | |
@@ -54,6 +54,11 @@ namespace ShazamKit { | |
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.WatchOS, 10,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
#if ARCH_32 | |
diff --git a/old/mac/full/ShazamKit/SHErrorCode.g.cs b/new/mac/full/ShazamKit/SHErrorCode.g.cs | |
index a837f07..2c70fb8 100644 | |
--- a/old/mac/full/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/mac/full/ShazamKit/SHErrorCode.g.cs | |
@@ -59,6 +59,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/mac/full/ShazamKit/SHMediaItem.g.cs b/new/mac/full/ShazamKit/SHMediaItem.g.cs | |
index 456a88d..bd57903 100644 | |
--- a/old/mac/full/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/mac/full/ShazamKit/SHMediaItem.g.cs | |
@@ -66,6 +66,9 @@ namespace ShazamKit { | |
const string selCopyWithZone_X = "copyWithZone:"; | |
static readonly IntPtr selCopyWithZone_XHandle = Selector.GetHandle ("copyWithZone:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selCreationDateX = "creationDate"; | |
+ static readonly IntPtr selCreationDateXHandle = Selector.GetHandle ("creationDate"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selEncodeWithCoder_X = "encodeWithCoder:"; | |
static readonly IntPtr selEncodeWithCoder_XHandle = Selector.GetHandle ("encodeWithCoder:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
@@ -282,6 +285,29 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public virtual NSDate? CreationDate { | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selCreationDateXHandle))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selCreationDateXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/mac/full/ShazamKit/SHMediaItemProperty.g.cs b/new/mac/full/ShazamKit/SHMediaItemProperty.g.cs | |
index 98b3063..cfbf907 100644 | |
--- a/old/mac/full/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/mac/full/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -75,6 +75,12 @@ namespace ShazamKit { | |
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
FrequencySkewRanges = 15, | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ CreationDate = 16, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
@@ -83,7 +89,7 @@ namespace ShazamKit { | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -206,6 +212,18 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -258,6 +276,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -297,6 +318,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/mac/full/ShazamKit/SHMediaLibrary.g.cs b/new/mac/full/ShazamKit/SHMediaLibrary.g.cs | |
index d65491f..6178c6a 100644 | |
--- a/old/mac/full/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/mac/full/ShazamKit/SHMediaLibrary.g.cs | |
@@ -49,6 +49,11 @@ namespace ShazamKit { | |
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.WatchOS, 10,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selAddMediaItems_CompletionHandler_X = "addMediaItems:completionHandler:"; | |
diff --git a/old/mac/mobile/ShazamKit/SHErrorCode.g.cs b/new/mac/mobile/ShazamKit/SHErrorCode.g.cs | |
index a837f07..2c70fb8 100644 | |
--- a/old/mac/mobile/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/mac/mobile/ShazamKit/SHErrorCode.g.cs | |
@@ -59,6 +59,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/mac/mobile/ShazamKit/SHMediaItem.g.cs b/new/mac/mobile/ShazamKit/SHMediaItem.g.cs | |
index 456a88d..bd57903 100644 | |
--- a/old/mac/mobile/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/mac/mobile/ShazamKit/SHMediaItem.g.cs | |
@@ -66,6 +66,9 @@ namespace ShazamKit { | |
const string selCopyWithZone_X = "copyWithZone:"; | |
static readonly IntPtr selCopyWithZone_XHandle = Selector.GetHandle ("copyWithZone:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ const string selCreationDateX = "creationDate"; | |
+ static readonly IntPtr selCreationDateXHandle = Selector.GetHandle ("creationDate"); | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selEncodeWithCoder_X = "encodeWithCoder:"; | |
static readonly IntPtr selEncodeWithCoder_XHandle = Selector.GetHandle ("encodeWithCoder:"); | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
@@ -282,6 +285,29 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public virtual NSDate? CreationDate { | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selCreationDateXHandle))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selCreationDateXHandle))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/mac/mobile/ShazamKit/SHMediaItemProperty.g.cs b/new/mac/mobile/ShazamKit/SHMediaItemProperty.g.cs | |
index 98b3063..cfbf907 100644 | |
--- a/old/mac/mobile/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/mac/mobile/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -75,6 +75,12 @@ namespace ShazamKit { | |
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
FrequencySkewRanges = 15, | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ CreationDate = 16, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
@@ -83,7 +89,7 @@ namespace ShazamKit { | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -206,6 +212,18 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -258,6 +276,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -297,6 +318,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/mac/mobile/ShazamKit/SHMediaLibrary.g.cs b/new/mac/mobile/ShazamKit/SHMediaLibrary.g.cs | |
index d65491f..6178c6a 100644 | |
--- a/old/mac/mobile/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/mac/mobile/ShazamKit/SHMediaLibrary.g.cs | |
@@ -49,6 +49,11 @@ namespace ShazamKit { | |
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.WatchOS, 10,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
const string selAddMediaItems_CompletionHandler_X = "addMediaItems:completionHandler:"; | |
diff --git a/old/tvos/tvos/ShazamKit/SHErrorCode.g.cs b/new/tvos/tvos/ShazamKit/SHErrorCode.g.cs | |
index efa5b2b..4fb1b35 100644 | |
--- a/old/tvos/tvos/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/tvos/tvos/ShazamKit/SHErrorCode.g.cs | |
@@ -55,6 +55,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/tvos/tvos/ShazamKit/SHMediaItem.g.cs b/new/tvos/tvos/ShazamKit/SHMediaItem.g.cs | |
index 0f15232..8530a65 100644 | |
--- a/old/tvos/tvos/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/tvos/tvos/ShazamKit/SHMediaItem.g.cs | |
@@ -215,6 +215,29 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public virtual NSDate? CreationDate { | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/tvos/tvos/ShazamKit/SHMediaItemProperty.g.cs b/new/tvos/tvos/ShazamKit/SHMediaItemProperty.g.cs | |
index b1bcd41..85ac691 100644 | |
--- a/old/tvos/tvos/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/tvos/tvos/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -71,6 +71,12 @@ namespace ShazamKit { | |
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
FrequencySkewRanges = 15, | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ CreationDate = 16, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
@@ -79,7 +85,7 @@ namespace ShazamKit { | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -202,6 +208,18 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -254,6 +272,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -293,6 +314,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/tvos/tvos/ShazamKit/SHMediaLibrary.g.cs b/new/tvos/tvos/ShazamKit/SHMediaLibrary.g.cs | |
index c5628dd..90a0c14 100644 | |
--- a/old/tvos/tvos/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/tvos/tvos/ShazamKit/SHMediaLibrary.g.cs | |
@@ -45,6 +45,11 @@ namespace ShazamKit { | |
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.WatchOS, 10,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly IntPtr class_ptr = Class.GetHandle ("SHMediaLibrary"); | |
diff --git a/old/watch/watch/ShazamKit/SHErrorCode.g.cs b/new/watch/watch/ShazamKit/SHErrorCode.g.cs | |
index 8544f11..2d02b83 100644 | |
--- a/old/watch/watch/ShazamKit/SHErrorCode.g.cs | |
+++ b/new/watch/watch/ShazamKit/SHErrorCode.g.cs | |
@@ -46,6 +46,7 @@ namespace ShazamKit { | |
CustomCatalogInvalidURL = 301, | |
MediaLibrarySyncFailed = 400, | |
InternalError = 500, | |
+ MediaItemFetchFailed = 600, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
diff --git a/old/watch/watch/ShazamKit/SHMediaItem.g.cs b/new/watch/watch/ShazamKit/SHMediaItem.g.cs | |
index 4f4c90f..5cddb24 100644 | |
--- a/old/watch/watch/ShazamKit/SHMediaItem.g.cs | |
+++ b/new/watch/watch/ShazamKit/SHMediaItem.g.cs | |
@@ -206,6 +206,29 @@ namespace ShazamKit { | |
} | |
} | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ public virtual NSDate? CreationDate { | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Export ("creationDate", ArgumentSemantic.Retain)] | |
+ get { | |
+ NSDate? ret; | |
+ if (IsDirectBinding) { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("creationDate")))!; | |
+ } else { | |
+ ret = Runtime.GetNSObject<NSDate> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("creationDate")))!; | |
+ } | |
+ return ret!; | |
+ } | |
+ } | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public virtual bool ExplicitContent { | |
[Export ("explicitContent")] | |
get { | |
diff --git a/old/watch/watch/ShazamKit/SHMediaItemProperty.g.cs b/new/watch/watch/ShazamKit/SHMediaItemProperty.g.cs | |
index 2b9ceb4..a66847b 100644 | |
--- a/old/watch/watch/ShazamKit/SHMediaItemProperty.g.cs | |
+++ b/new/watch/watch/ShazamKit/SHMediaItemProperty.g.cs | |
@@ -62,6 +62,12 @@ namespace ShazamKit { | |
[Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)] | |
FrequencySkewRanges = 15, | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ CreationDate = 16, | |
} | |
[Introduced (PlatformName.iOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacOSX, 12,0, ObjCRuntime.PlatformArchitecture.All)] | |
@@ -70,7 +76,7 @@ namespace ShazamKit { | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static public partial class SHMediaItemPropertyExtensions { | |
- static IntPtr[] values = new IntPtr [16]; | |
+ static IntPtr[] values = new IntPtr [17]; | |
[Field ("SHMediaItemShazamID", "ShazamKit")] | |
internal unsafe static IntPtr SHMediaItemShazamID { | |
get { | |
@@ -193,6 +199,18 @@ namespace ShazamKit { | |
return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemFrequencySkewRanges", storage); | |
} | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Field ("SHMediaItemCreationDate", "ShazamKit")] | |
+ internal unsafe static IntPtr SHMediaItemCreationDate { | |
+ get { | |
+ fixed (IntPtr *storage = &values [16]) | |
+ return Dlfcn.CachePointer (Libraries.ShazamKit.Handle, "SHMediaItemCreationDate", storage); | |
+ } | |
+ } | |
public static NSString? GetConstant (this SHMediaItemProperty self) | |
{ | |
IntPtr ptr = IntPtr.Zero; | |
@@ -245,6 +263,9 @@ namespace ShazamKit { | |
case 15: // SHMediaItemProperty.FrequencySkewRanges | |
ptr = SHMediaItemFrequencySkewRanges; | |
break; | |
+ case 16: // SHMediaItemProperty.CreationDate | |
+ ptr = SHMediaItemCreationDate; | |
+ break; | |
} | |
return (NSString?) Runtime.GetNSObject (ptr); | |
} | |
@@ -284,6 +305,8 @@ namespace ShazamKit { | |
return SHMediaItemProperty.TimeRanges; | |
if (constant.IsEqualTo (SHMediaItemFrequencySkewRanges)) | |
return SHMediaItemProperty.FrequencySkewRanges; | |
+ if (constant.IsEqualTo (SHMediaItemCreationDate)) | |
+ return SHMediaItemProperty.CreationDate; | |
throw new NotSupportedException ($"{constant} has no associated enum value on this platform."); | |
} | |
} | |
diff --git a/old/watch/watch/ShazamKit/SHMediaLibrary.g.cs b/new/watch/watch/ShazamKit/SHMediaLibrary.g.cs | |
index c72f95e..39b751f 100644 | |
--- a/old/watch/watch/ShazamKit/SHMediaLibrary.g.cs | |
+++ b/new/watch/watch/ShazamKit/SHMediaLibrary.g.cs | |
@@ -36,6 +36,11 @@ namespace ShazamKit { | |
[Introduced (PlatformName.WatchOS, 8,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.TvOS, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
[Introduced (PlatformName.MacCatalyst, 15,0, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Deprecated (PlatformName.MacOSX, 14,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.iOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.TvOS, 17,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.WatchOS, 10,0, message: "Use SHLibrary instead.")] | |
+ [Deprecated (PlatformName.MacCatalyst, 17,0, message: "Use SHLibrary instead.")] | |
public unsafe partial class SHMediaLibrary : NSObject { | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
static readonly IntPtr class_ptr = Class.GetHandle ("SHMediaLibrary"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment