Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 14 additions & 0 deletions src/videosubscriberaccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//

using System;
using System.ComponentModel;
using Foundation;
using ObjCRuntime;
#if MONOMAC
Expand Down Expand Up @@ -50,12 +51,16 @@ public enum VSAccountAccessStatus : long {
Granted = 3
}

#if !XAMCORE_5_0
[EditorBrowsable (EditorBrowsableState.Never)]
[Obsolete ("Use 'VSUserAccountQueryOptions' instead.")]
[TV (16, 0), Mac (13, 0), iOS (16, 0), NoMacCatalyst]
[Native]
enum VSUserAccountQueryOption : ulong {
None = 0,
AllDevices,
}
#endif // !XAMCORE_5_0

[TV (16, 0), NoMacCatalyst, iOS (16, 0), Mac (13, 0)]
[Flags]
Expand Down Expand Up @@ -316,6 +321,9 @@ enum VSAccountProviderAuthenticationScheme {
Api,
}

[Deprecated (PlatformName.iOS, 18, 0, message: "Use the 'VSUserAccountType' enum instead.")]
[Deprecated (PlatformName.TvOS, 18, 0, message: "Use the 'VSUserAccountType' enum instead.")]
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use the 'VSUserAccount' type instead.")]
[NoMacCatalyst]
[Native]
public enum VSSubscriptionAccessLevel : long {
Expand All @@ -324,6 +332,9 @@ public enum VSSubscriptionAccessLevel : long {
Paid,
}

[Deprecated (PlatformName.iOS, 18, 0, message: "Use the 'VSUserAccount' type instead.")]
[Deprecated (PlatformName.TvOS, 18, 0, message: "Use the 'VSUserAccount' type instead.")]
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use the 'VSUserAccount' type instead.")]
[NoMacCatalyst]
[BaseType (typeof (NSObject))]
interface VSSubscription {
Expand All @@ -343,6 +354,9 @@ interface VSSubscription {
string BillingIdentifier { get; set; }
}

[Deprecated (PlatformName.iOS, 18, 0, message: "Use the 'VSUserAccountManager' type instead.")]
[Deprecated (PlatformName.TvOS, 18, 0, message: "Use the 'VSUserAccountManager' type instead.")]
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use the 'VSUserAccount' type instead.")]
[NoMacCatalyst]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
Expand Down
1 change: 0 additions & 1 deletion tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83123,7 +83123,6 @@ T:VideoSubscriberAccount.VSSubscriptionAccessLevel
T:VideoSubscriberAccount.VSSubscriptionRegistrationCenter
T:VideoSubscriberAccount.VSUserAccount
T:VideoSubscriberAccount.VSUserAccountManager
T:VideoSubscriberAccount.VSUserAccountQueryOption
T:VideoSubscriberAccount.VSUserAccountQueryOptions
T:VideoSubscriberAccount.VSUserAccountType
T:VideoToolbox.HdrMetadataInsertionMode
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/common-VideoSubscriberAccount.ignore

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-VideoSubscriberAccount.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/tvOS-VideoSubscriberAccount.todo

This file was deleted.