Skip to content

Commit cc242d2

Browse files
authored
[VideoSubscriberAccount] Make VSCheckAccessOptionKeys public. (#23493)
This way xml docs can reference the type or any of its members.
1 parent 23435c2 commit cc242d2

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/videosubscriberaccount.cs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,18 +190,16 @@ interface VSAccountManager {
190190
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
191191
IVSAccountManagerDelegate Delegate { get; set; }
192192

193+
/// <summary>Checks whether the user has provided permission for the app to access their subscription information.</summary>
193194
/// <param name="options">If not empty, may contain the key <see cref="VideoSubscriberAccount.VSCheckAccessOptionKeys" />.</param>
194-
/// <param name="completionHandler">Called by the system with the results of the permission check.</param>
195-
/// <summary>Checks whether the user has provided permission for the app to access their subscription information.</summary>
196-
/// <remarks>To be added.</remarks>
195+
/// <param name="completionHandler">Called by the system with the results of the permission check.</param>
197196
[NoMac]
198197
[Async (XmlDocs = """
199-
<param name="options">If not empty, may contain the key .</param>
200198
<summary>Checks whether the user has provided permission for the app to access their subscription information.</summary>
199+
<param name="options">If not empty, may contain the key <see cref="VideoSubscriberAccount.VSCheckAccessOptionKeys" />.</param>
201200
<returns>
202-
<para class="improve-task-t-return-type-description">A task that represents the asynchronous CheckAccessStatus operation. The value of the TResult parameter is of type System.Action&lt;VideoSubscriberAccount.VSAccountAccessStatus,Foundation.NSError&gt;.</para>
203-
</returns>
204-
<remarks>To be added.</remarks>
201+
<para class="improve-task-t-return-type-description">A task that represents the asynchronous CheckAccessStatus operation. The value of the TResult parameter is of type System.Action&lt;VideoSubscriberAccount.VSAccountAccessStatus,Foundation.NSError&gt;.</para>
202+
</returns>
205203
""")]
206204
[Export ("checkAccessStatusWithOptions:completionHandler:")]
207205
void CheckAccessStatus (NSDictionary options, Action<VSAccountAccessStatus, NSError> completionHandler);
@@ -241,7 +239,6 @@ interface VSAccountManager {
241239
}
242240

243241
[Static]
244-
[Internal]
245242
[NoMacCatalyst]
246243
interface VSCheckAccessOptionKeys {
247244

tests/cecil-tests/Documentation.KnownFailures.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28380,6 +28380,7 @@ T:VideoSubscriberAccount.VSAccountApplicationProvider
2838028380
T:VideoSubscriberAccount.VSAccountProviderAuthenticationScheme
2838128381
T:VideoSubscriberAccount.VSAccountProviderResponse
2838228382
T:VideoSubscriberAccount.VSAppleSubscription
28383+
T:VideoSubscriberAccount.VSCheckAccessOptionKeys
2838328384
T:VideoSubscriberAccount.VSErrorInfo
2838428385
T:VideoSubscriberAccount.VSOriginatingDeviceCategory
2838528386
T:VideoSubscriberAccount.VSSubscription

0 commit comments

Comments
 (0)