[TVServices] Add support for Xcode 14 beta 1, 2 & 3 (#15553)
This commit is contained in:
Родитель
7a3729f94b
Коммит
af04116098
|
@ -110,6 +110,7 @@ namespace TVServices {
|
|||
NSString DidChangeNotification { get; }
|
||||
}
|
||||
|
||||
[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
|
||||
[TV (13,0)]
|
||||
[BaseType (typeof(NSObject))]
|
||||
[DisableDefaultCtor] // Name property can't be null
|
||||
|
@ -307,16 +308,20 @@ namespace TVServices {
|
|||
[BaseType (typeof (NSObject))]
|
||||
interface TVUserManager {
|
||||
|
||||
[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
|
||||
[NullAllowed, Export ("currentUserIdentifier")]
|
||||
string CurrentUserIdentifier { get; }
|
||||
|
||||
[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
|
||||
[Export ("userIdentifiersForCurrentProfile", ArgumentSemantic.Copy)]
|
||||
string[] UserIdentifiersForCurrentProfile { get; set; }
|
||||
|
||||
[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
|
||||
[Async]
|
||||
[Export ("presentProfilePreferencePanelWithCurrentSettings:availableProfiles:completion:")]
|
||||
void PresentProfilePreferencePanel (NSDictionary<NSString, TVAppProfileDescriptor> currentSettings, TVAppProfileDescriptor[] availableProfiles, Action<NSDictionary<NSString, TVAppProfileDescriptor>> completion);
|
||||
|
||||
[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
|
||||
[Async]
|
||||
[Export ("shouldStorePreferenceForCurrentUserToProfile:completion:")]
|
||||
void ShouldStorePreferenceForCurrentUser (TVAppProfileDescriptor profile, Action<bool> completion);
|
||||
|
@ -324,6 +329,10 @@ namespace TVServices {
|
|||
[Notification]
|
||||
[Field ("TVUserManagerCurrentUserIdentifierDidChangeNotification")]
|
||||
NSString CurrentUserIdentifierDidChangeNotification { get; }
|
||||
|
||||
[TV (16, 0)]
|
||||
[Export ("shouldStorePreferencesForCurrentUser")]
|
||||
bool ShouldStorePreferencesForCurrentUser { get; }
|
||||
}
|
||||
|
||||
[TV (13,0)]
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
!deprecated-attribute-missing! TVAppProfileDescriptor missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::currentUserIdentifier missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::presentProfilePreferencePanelWithCurrentSettings:availableProfiles:completion: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::setUserIdentifiersForCurrentProfile: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::shouldStorePreferenceForCurrentUserToProfile:completion: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::userIdentifiersForCurrentProfile missing a [Deprecated] attribute
|
||||
!missing-selector! TVUserManager::shouldStorePreferencesForCurrentUser not bound
|
|
@ -1,7 +0,0 @@
|
|||
!deprecated-attribute-missing! TVAppProfileDescriptor missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::currentUserIdentifier missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::presentProfilePreferencePanelWithCurrentSettings:availableProfiles:completion: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::setUserIdentifiersForCurrentProfile: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::shouldStorePreferenceForCurrentUserToProfile:completion: missing a [Deprecated] attribute
|
||||
!deprecated-attribute-missing! TVUserManager::userIdentifiersForCurrentProfile missing a [Deprecated] attribute
|
||||
!missing-selector! TVUserManager::shouldStorePreferencesForCurrentUser not bound
|
Загрузка…
Ссылка в новой задаче