From 1086dd6cec4a3e5e47346c4ab29622fced9ed99a Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Tue, 14 Jul 2026 11:31:56 -0400 Subject: [PATCH] [BackgroundAssets] Update bindings up to Xcode 27 beta 3 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 71e563ea-16c1-43f7-aff9-4538e7264a36 --- src/backgroundassets.cs | 153 ++++++++++++++++++ .../Documentation.KnownFailures.txt | 5 + .../MacCatalyst-BackgroundAssets.todo | 23 --- .../iOS-BackgroundAssets.todo | 23 --- .../macOS-BackgroundAssets.todo | 23 --- .../tvOS-BackgroundAssets.todo | 23 --- 6 files changed, 158 insertions(+), 92 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BackgroundAssets.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-BackgroundAssets.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-BackgroundAssets.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/tvOS-BackgroundAssets.todo diff --git a/src/backgroundassets.cs b/src/backgroundassets.cs index 3c31cd5079d0..7342603a853d 100644 --- a/src/backgroundassets.cs +++ b/src/backgroundassets.cs @@ -26,6 +26,9 @@ public enum BAContentRequest : long { Install = 1, Update, Periodic, + /// A content request resulting from a change to the application's preferred language. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + LanguageChange = 4, } [TV (18, 4), iOS (17, 0), MacCatalyst (17, 0)] @@ -70,6 +73,8 @@ public enum BAAssetPackStatus : ulong { public enum BAManagedErrorCode : long { AssetPackNotFound, FileNotFound, + /// The system couldn't ensure local availability for some or all of the requested asset packs. + LocalAvailabilityFailure = 2, } [TV (18, 4), iOS (16, 0), MacCatalyst (16, 0)] @@ -285,6 +290,13 @@ interface BAAssetPack { [Export ("version")] nint Version { get; } + /// Gets the BCP-47 identifier for the language in which the asset pack is localized. + /// The language identifier, or if the asset pack isn't language-specific. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [NullAllowed] + [Export ("language")] + string Language { get; } + [NullAllowed, Export ("userInfo", ArgumentSemantic.Copy)] NSData UserInfo { get; } @@ -297,14 +309,34 @@ interface BAAssetPack { [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0), Mac (26, 0)] [Field ("BAAssetPackIdentifierErrorKey")] NSString IdentifierErrorKey { get; } + + /// Gets the error user-info key whose value contains the asset packs made available successfully. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Field ("BASuccessesErrorKey")] + NSString SuccessesErrorKey { get; } + + /// Gets the error user-info key whose value maps unavailable asset packs to their underlying errors. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Field ("BAFailuresErrorKey")] + NSString FailuresErrorKey { get; } } delegate void BAAssetPackManagerGetAllAssetPacksCompletionHandler ([NullAllowed] NSSet assetPacks, [NullAllowed] NSError error); delegate void BAAssetPackManagerGetAssetPackCompletionHandler ([NullAllowed] BAAssetPack assetPack, [NullAllowed] NSError error); delegate void BAAssetPackManagerGetStatusCompletionHandler ([NullAllowed] BAAssetPackStatus status, [NullAllowed] NSError error); + /// Completion handler invoked with an asset-pack manifest or an error. + /// The asset-pack manifest, or if an error occurred. + /// The error, or if the operation succeeded. + delegate void BAAssetPackManagerGetManifestCompletionHandler ([NullAllowed] BAAssetPackManifest manifest, [NullAllowed] NSError error); /// Completion handler invoked with the local status of an asset pack. /// The of the asset pack on the local device. delegate void BAAssetPackManagerGetLocalStatusCompletionHandler (BAAssetPackStatus status); + /// Completion handler invoked with the languages used by locally available asset packs. + /// The BCP-47 language identifiers. + delegate void BAAssetPackManagerGetLocallyAvailableLanguagesCompletionHandler (string [] languageIdentifiers); + /// Completion handler invoked after reconciling locally available asset packs with the preferred languages. + /// The error, or if the operation succeeded. + delegate void BAAssetPackManagerReconcilePreferredLanguagesCompletionHandler ([NullAllowed] NSError error); delegate void BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler ([NullAllowed] NSError error); delegate void BAAssetPackManagerCheckForUpdatesCompletionHandler ([NullAllowed] NSSet updatingIdentifiers, [NullAllowed] NSSet removedIdentifiers, [NullAllowed] NSError error); delegate void BAAssetPackManagerRemoveAssetPackCompletionHandler ([NullAllowed] NSError error); @@ -324,10 +356,31 @@ interface BAAssetPackManager { [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] NSObject WeakDelegate { get; set; } + /// Gets or sets the BCP-47 identifier for the language whose localized asset packs the system manages automatically. + /// The resolved language identifier, or to use the system-wide language preference. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [NullAllowed, Export ("resolvedLanguage", ArgumentSemantic.Copy)] + string ResolvedLanguage { get; set; } + + /// Gets the manifest of asset packs that are available to download. + /// A completion handler called with the manifest or an error. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("getManifestWithCompletionHandler:")] + [Async] + void GetManifest (BAAssetPackManagerGetManifestCompletionHandler completionHandler); + + [Deprecated (PlatformName.iOS, 27, 0, message: "Use 'GetManifest' and then its 'AssetPacks' property instead.")] + [Deprecated (PlatformName.MacOSX, 27, 0, message: "Use 'GetManifest' and then its 'AssetPacks' property instead.")] + [Deprecated (PlatformName.TvOS, 27, 0, message: "Use 'GetManifest' and then its 'AssetPacks' property instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "Use 'GetManifest' and then its 'AssetPacks' property instead.")] [Export ("getAllAssetPacksWithCompletionHandler:")] [Async] void GetAllAssetPacks (BAAssetPackManagerGetAllAssetPacksCompletionHandler completionHandler); + [Deprecated (PlatformName.iOS, 27, 0, message: "Use 'GetManifest' and then 'BAAssetPackManifest.GetAssetPack' instead.")] + [Deprecated (PlatformName.MacOSX, 27, 0, message: "Use 'GetManifest' and then 'BAAssetPackManifest.GetAssetPack' instead.")] + [Deprecated (PlatformName.TvOS, 27, 0, message: "Use 'GetManifest' and then 'BAAssetPackManifest.GetAssetPack' instead.")] + [Deprecated (PlatformName.MacCatalyst, 27, 0, message: "Use 'GetManifest' and then 'BAAssetPackManifest.GetAssetPack' instead.")] [Export ("getAssetPackWithIdentifier:completionHandler:")] [Async] void GetAssetPack (string assetPackIdentifier, BAAssetPackManagerGetAssetPackCompletionHandler completionHandler); @@ -352,13 +405,43 @@ interface BAAssetPackManager { [return: NullAllowed] NSData GetContents (string path, [NullAllowed] string assetPackIdentifier, NSDataReadingOptions options, [NullAllowed] out NSError error); + /// Gets the contents of a localized asset file at the specified relative path. + /// The relative path to the asset file. + /// The BCP-47 identifier used to select localized asset packs. + /// The options used to read the file. + /// The error, or if the operation succeeded. + /// The file contents, or if an error occurred. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("contentsAtPath:asLocalizedForLanguage:options:error:")] + [return: NullAllowed] + NSData GetLocalizedContents (string path, string languageIdentifier, NSDataReadingOptions options, [NullAllowed] out NSError error); + [Export ("fileDescriptorForPath:searchingInAssetPackWithIdentifier:error:")] int GetFileDescriptor (string path, [NullAllowed] string assetPackIdentifier, [NullAllowed] out NSError error); + /// Opens a localized asset file and returns its file descriptor. + /// The relative path to the asset file. + /// The BCP-47 identifier used to select localized asset packs. + /// The error, or if the operation succeeded. + /// The file descriptor, or -1 if an error occurred. The caller must close a successful descriptor. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("fileDescriptorForPath:asLocalizedForLanguage:error:")] + int GetLocalizedFileDescriptor (string path, string languageIdentifier, [NullAllowed] out NSError error); + [Export ("URLForPath:error:")] [return: NullAllowed] NSUrl GetUrl (string path, [NullAllowed] out NSError error); + /// Gets a URL for an item in localized asset packs. + /// The relative path to the item. + /// The BCP-47 identifier used to select localized asset packs. + /// The error, or if the operation succeeded. + /// The item URL, or if an error occurred. Don't persist the URL beyond the current process. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("URLForPath:asLocalizedForLanguage:error:")] + [return: NullAllowed] + NSUrl GetLocalizedUrl (string path, string languageIdentifier, [NullAllowed] out NSError error); + [Export ("removeAssetPackWithIdentifier:completionHandler:")] [Async] void RemoveAssetPack (string assetPackIdentifier, [NullAllowed] BAAssetPackManagerRemoveAssetPackCompletionHandler completionHandler); @@ -386,6 +469,20 @@ interface BAAssetPackManager { [Export ("assetPackIsAvailableLocallyWithIdentifier:")] bool IsAssetPackAvailableLocally (string assetPackIdentifier); + /// Gets the languages used by localized asset packs that are available locally. + /// A completion handler called with the BCP-47 language identifiers. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("getLocallyAvailableLanguagesWithCompletionHandler:")] + [Async] + void GetLocallyAvailableLanguages (BAAssetPackManagerGetLocallyAvailableLanguagesCompletionHandler completionHandler); + + /// Reconciles locally available asset packs with the current preferred languages. + /// A completion handler called when reconciliation finishes or an error occurs. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("reconcilePreferredLanguagesWithCompletionHandler:")] + [Async] + void ReconcilePreferredLanguages (BAAssetPackManagerReconcilePreferredLanguagesCompletionHandler completionHandler); + /// Ensures that an asset pack is available locally, optionally requiring the latest version. /// The to make available. /// If , checks for updates before making the asset pack available. @@ -394,6 +491,23 @@ interface BAAssetPackManager { [Export ("ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler:")] [Async] void EnsureLocalAvailability (BAAssetPack assetPack, bool requireLatestVersion, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler); + + /// Ensures that the specified asset packs are available locally. + /// The asset packs to make available. + /// A completion handler called when all requested asset packs are available or an error occurs. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("ensureLocalAvailabilityOfAssetPacks:completionHandler:")] + [Async] + void EnsureLocalAvailability (NSSet assetPacks, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler); + + /// Ensures that the latest versions of the specified asset packs are available locally. + /// The asset packs to make available. + /// If , checks for updates before making the asset packs available. + /// A completion handler called when all requested asset packs are available or an error occurs. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler:")] + [Async] + void EnsureLocalAvailability (NSSet assetPacks, bool requireLatestVersions, BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler completionHandler); } [TV (26, 0), iOS (26, 0), MacCatalyst (26, 0), Mac (26, 0)] @@ -403,6 +517,30 @@ interface BAAssetPackManifest { [Export ("assetPacks", ArgumentSemantic.Copy)] NSSet AssetPacks { get; } + /// Gets the application's primary language as a BCP-47 identifier. + /// The primary language identifier, or if one isn't configured. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [NullAllowed] + [Export ("primaryLanguage")] + string PrimaryLanguage { get; } + + /// Gets the BCP-47 identifiers for languages with localized asset packs in the manifest. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("availableLanguages", ArgumentSemantic.Copy)] + string [] AvailableLanguages { get; } + + /// Gets the language whose localized asset packs the system manages automatically. + /// The resolved BCP-47 language identifier, or if no localized asset packs are available. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [NullAllowed] + [Export ("resolvedLanguage")] + string ResolvedLanguage { get; } + + /// Gets the asset packs that best match the current preferred languages. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("localizedAssetPacks", ArgumentSemantic.Copy)] + NSSet LocalizedAssetPacks { get; } + [Internal] [Export ("initWithContentsOfURL:applicationGroupIdentifier:error:")] NativeHandle _InitWithContentsOfUrl (NSUrl url, string applicationGroupIdentifier, [NullAllowed] out NSError error); @@ -411,6 +549,21 @@ interface BAAssetPackManifest { [Export ("initFromData:applicationGroupIdentifier:error:")] NativeHandle _InitFromData (NSData data, string applicationGroupIdentifier, [NullAllowed] out NSError error); + /// Gets the asset pack with the specified identifier. + /// The asset-pack identifier. + /// The matching asset pack, or if the manifest doesn't contain it. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("assetPackWithIdentifier:")] + [return: NullAllowed] + BAAssetPack GetAssetPack (string assetPackIdentifier); + + /// Gets the asset packs that best match the specified language. + /// The BCP-47 language identifier. + /// The localized asset packs. + [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)] + [Export ("localizedAssetPacksForLanguage:")] + NSSet GetLocalizedAssetPacks (string languageIdentifier); + [Export ("allDownloads")] NSSet GetAllDownloads (); diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 05a6c46adb64..c8c369f4f50e 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -14595,17 +14595,22 @@ M:BackgroundAssets.BAAssetPackManager.Dispose(System.Boolean) M:BackgroundAssets.BAAssetPackManager.EnsureLocalAvailability(BackgroundAssets.BAAssetPack,BackgroundAssets.BAAssetPackManagerEnsureLocalAvailabilityCompletionHandler) M:BackgroundAssets.BAAssetPackManager.EnsureLocalAvailabilityAsync(BackgroundAssets.BAAssetPack,System.Boolean) M:BackgroundAssets.BAAssetPackManager.EnsureLocalAvailabilityAsync(BackgroundAssets.BAAssetPack) +M:BackgroundAssets.BAAssetPackManager.EnsureLocalAvailabilityAsync(Foundation.NSSet{BackgroundAssets.BAAssetPack},System.Boolean) +M:BackgroundAssets.BAAssetPackManager.EnsureLocalAvailabilityAsync(Foundation.NSSet{BackgroundAssets.BAAssetPack}) M:BackgroundAssets.BAAssetPackManager.GetAllAssetPacks(BackgroundAssets.BAAssetPackManagerGetAllAssetPacksCompletionHandler) M:BackgroundAssets.BAAssetPackManager.GetAllAssetPacksAsync M:BackgroundAssets.BAAssetPackManager.GetAssetPack(System.String,BackgroundAssets.BAAssetPackManagerGetAssetPackCompletionHandler) M:BackgroundAssets.BAAssetPackManager.GetAssetPackAsync(System.String) M:BackgroundAssets.BAAssetPackManager.GetContents(System.String,System.String,Foundation.NSDataReadingOptions,Foundation.NSError@) M:BackgroundAssets.BAAssetPackManager.GetFileDescriptor(System.String,System.String,Foundation.NSError@) +M:BackgroundAssets.BAAssetPackManager.GetLocallyAvailableLanguagesAsync M:BackgroundAssets.BAAssetPackManager.GetLocalStatusAsync(System.String) +M:BackgroundAssets.BAAssetPackManager.GetManifestAsync M:BackgroundAssets.BAAssetPackManager.GetRelativeStatusAsync(BackgroundAssets.BAAssetPack) M:BackgroundAssets.BAAssetPackManager.GetStatus(System.String,BackgroundAssets.BAAssetPackManagerGetStatusCompletionHandler) M:BackgroundAssets.BAAssetPackManager.GetStatusAsync(System.String) M:BackgroundAssets.BAAssetPackManager.GetUrl(System.String,Foundation.NSError@) +M:BackgroundAssets.BAAssetPackManager.ReconcilePreferredLanguagesAsync M:BackgroundAssets.BAAssetPackManager.RemoveAssetPack(System.String,BackgroundAssets.BAAssetPackManagerRemoveAssetPackCompletionHandler) M:BackgroundAssets.BAAssetPackManager.RemoveAssetPackAsync(System.String) M:BackgroundAssets.BAAssetPackManifest.GetAllDownloads diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BackgroundAssets.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BackgroundAssets.todo deleted file mode 100644 index 2ef7a9130fc8..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-BackgroundAssets.todo +++ /dev/null @@ -1,23 +0,0 @@ -!deprecated-attribute-missing! BAAssetPackManager::getAllAssetPacksWithCompletionHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! BAAssetPackManager::getAssetPackWithIdentifier:completionHandler: missing a [Deprecated] attribute -!missing-enum-value! BAContentRequest native value BAContentRequestLanguageChange = 4 not bound -!missing-enum-value! BAManagedErrorCode native value BAManagedErrorCodeLocalAvailabilityFailure = 2 not bound -!missing-field! BAFailuresErrorKey not bound -!missing-field! BASuccessesErrorKey not bound -!missing-selector! BAAssetPack::language not bound -!missing-selector! BAAssetPackManager::contentsAtPath:asLocalizedForLanguage:options:error: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:completionHandler: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler: not bound -!missing-selector! BAAssetPackManager::fileDescriptorForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManager::getLocallyAvailableLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::getManifestWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::reconcilePreferredLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::resolvedLanguage not bound -!missing-selector! BAAssetPackManager::setResolvedLanguage: not bound -!missing-selector! BAAssetPackManager::URLForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManifest::assetPackWithIdentifier: not bound -!missing-selector! BAAssetPackManifest::availableLanguages not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacks not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacksForLanguage: not bound -!missing-selector! BAAssetPackManifest::primaryLanguage not bound -!missing-selector! BAAssetPackManifest::resolvedLanguage not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-BackgroundAssets.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-BackgroundAssets.todo deleted file mode 100644 index 2ef7a9130fc8..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-BackgroundAssets.todo +++ /dev/null @@ -1,23 +0,0 @@ -!deprecated-attribute-missing! BAAssetPackManager::getAllAssetPacksWithCompletionHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! BAAssetPackManager::getAssetPackWithIdentifier:completionHandler: missing a [Deprecated] attribute -!missing-enum-value! BAContentRequest native value BAContentRequestLanguageChange = 4 not bound -!missing-enum-value! BAManagedErrorCode native value BAManagedErrorCodeLocalAvailabilityFailure = 2 not bound -!missing-field! BAFailuresErrorKey not bound -!missing-field! BASuccessesErrorKey not bound -!missing-selector! BAAssetPack::language not bound -!missing-selector! BAAssetPackManager::contentsAtPath:asLocalizedForLanguage:options:error: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:completionHandler: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler: not bound -!missing-selector! BAAssetPackManager::fileDescriptorForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManager::getLocallyAvailableLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::getManifestWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::reconcilePreferredLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::resolvedLanguage not bound -!missing-selector! BAAssetPackManager::setResolvedLanguage: not bound -!missing-selector! BAAssetPackManager::URLForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManifest::assetPackWithIdentifier: not bound -!missing-selector! BAAssetPackManifest::availableLanguages not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacks not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacksForLanguage: not bound -!missing-selector! BAAssetPackManifest::primaryLanguage not bound -!missing-selector! BAAssetPackManifest::resolvedLanguage not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-BackgroundAssets.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-BackgroundAssets.todo deleted file mode 100644 index 2ef7a9130fc8..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-BackgroundAssets.todo +++ /dev/null @@ -1,23 +0,0 @@ -!deprecated-attribute-missing! BAAssetPackManager::getAllAssetPacksWithCompletionHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! BAAssetPackManager::getAssetPackWithIdentifier:completionHandler: missing a [Deprecated] attribute -!missing-enum-value! BAContentRequest native value BAContentRequestLanguageChange = 4 not bound -!missing-enum-value! BAManagedErrorCode native value BAManagedErrorCodeLocalAvailabilityFailure = 2 not bound -!missing-field! BAFailuresErrorKey not bound -!missing-field! BASuccessesErrorKey not bound -!missing-selector! BAAssetPack::language not bound -!missing-selector! BAAssetPackManager::contentsAtPath:asLocalizedForLanguage:options:error: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:completionHandler: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler: not bound -!missing-selector! BAAssetPackManager::fileDescriptorForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManager::getLocallyAvailableLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::getManifestWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::reconcilePreferredLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::resolvedLanguage not bound -!missing-selector! BAAssetPackManager::setResolvedLanguage: not bound -!missing-selector! BAAssetPackManager::URLForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManifest::assetPackWithIdentifier: not bound -!missing-selector! BAAssetPackManifest::availableLanguages not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacks not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacksForLanguage: not bound -!missing-selector! BAAssetPackManifest::primaryLanguage not bound -!missing-selector! BAAssetPackManifest::resolvedLanguage not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BackgroundAssets.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BackgroundAssets.todo deleted file mode 100644 index 2ef7a9130fc8..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-BackgroundAssets.todo +++ /dev/null @@ -1,23 +0,0 @@ -!deprecated-attribute-missing! BAAssetPackManager::getAllAssetPacksWithCompletionHandler: missing a [Deprecated] attribute -!deprecated-attribute-missing! BAAssetPackManager::getAssetPackWithIdentifier:completionHandler: missing a [Deprecated] attribute -!missing-enum-value! BAContentRequest native value BAContentRequestLanguageChange = 4 not bound -!missing-enum-value! BAManagedErrorCode native value BAManagedErrorCodeLocalAvailabilityFailure = 2 not bound -!missing-field! BAFailuresErrorKey not bound -!missing-field! BASuccessesErrorKey not bound -!missing-selector! BAAssetPack::language not bound -!missing-selector! BAAssetPackManager::contentsAtPath:asLocalizedForLanguage:options:error: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:completionHandler: not bound -!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPacks:requireLatestVersions:completionHandler: not bound -!missing-selector! BAAssetPackManager::fileDescriptorForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManager::getLocallyAvailableLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::getManifestWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::reconcilePreferredLanguagesWithCompletionHandler: not bound -!missing-selector! BAAssetPackManager::resolvedLanguage not bound -!missing-selector! BAAssetPackManager::setResolvedLanguage: not bound -!missing-selector! BAAssetPackManager::URLForPath:asLocalizedForLanguage:error: not bound -!missing-selector! BAAssetPackManifest::assetPackWithIdentifier: not bound -!missing-selector! BAAssetPackManifest::availableLanguages not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacks not bound -!missing-selector! BAAssetPackManifest::localizedAssetPacksForLanguage: not bound -!missing-selector! BAAssetPackManifest::primaryLanguage not bound -!missing-selector! BAAssetPackManifest::resolvedLanguage not bound