VSAccountManager.CheckAccessStatusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CheckAccessStatusAsync(NSDictionary) |
Checks whether the user has provided permission for the app to access their subscription information. |
CheckAccessStatusAsync(VSAccountManagerAccessOptions) |
Asynchronously checks whether the user has provided permission for the app to access their subscription information. |
CheckAccessStatusAsync(NSDictionary)
Checks whether the user has provided permission for the app to access their subscription information.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<VideoSubscriberAccount.VSAccountAccessStatus> CheckAccessStatusAsync (Foundation.NSDictionary options);
abstract member CheckAccessStatusAsync : Foundation.NSDictionary -> System.Threading.Tasks.Task<VideoSubscriberAccount.VSAccountAccessStatus>
override this.CheckAccessStatusAsync : Foundation.NSDictionary -> System.Threading.Tasks.Task<VideoSubscriberAccount.VSAccountAccessStatus>
Parameters
- options
- NSDictionary
If not empty, may contain the key .
Returns
A task that represents the asynchronous CheckAccessStatus operation. The value of the TResult parameter is of type System.Action<VideoSubscriberAccount.VSAccountAccessStatus,Foundation.NSError>.
- Attributes
Applies to
CheckAccessStatusAsync(VSAccountManagerAccessOptions)
Asynchronously checks whether the user has provided permission for the app to access their subscription information.
public System.Threading.Tasks.Task<VideoSubscriberAccount.VSAccountAccessStatus> CheckAccessStatusAsync (VideoSubscriberAccount.VSAccountManagerAccessOptions accessOptions);
member this.CheckAccessStatusAsync : VideoSubscriberAccount.VSAccountManagerAccessOptions -> System.Threading.Tasks.Task<VideoSubscriberAccount.VSAccountAccessStatus>
Parameters
- accessOptions
- VSAccountManagerAccessOptions