Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/tvservices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ interface TVTopShelfItems {
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
Expand Down Expand Up @@ -307,23 +308,31 @@ enum TVTopShelfItemImageTraits : ulong {
[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);

[Notification]
[Field ("TVUserManagerCurrentUserIdentifierDidChangeNotification")]
NSString CurrentUserIdentifierDidChangeNotification { get; }

[TV (16, 0)]
[Export ("shouldStorePreferencesForCurrentUser")]
bool ShouldStorePreferencesForCurrentUser { get; }
}

[TV (13,0)]
Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/tvOS-TVServices.todo

This file was deleted.