編輯

共用方式為


VSAccountManager.CheckAccessStatus Method

Definition

Overloads

CheckAccessStatus(NSDictionary, Action<VSAccountAccessStatus,NSError>)

Checks whether the user has provided permission for the app to access their subscription information.

CheckAccessStatus(VSAccountManagerAccessOptions, Action<VSAccountAccessStatus,NSError>)

Checks whether the user has provided permission for the app to access their subscription information.

CheckAccessStatus(NSDictionary, Action<VSAccountAccessStatus,NSError>)

Checks whether the user has provided permission for the app to access their subscription information.

[Foundation.Export("checkAccessStatusWithOptions:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void CheckAccessStatus (Foundation.NSDictionary options, Action<VideoSubscriberAccount.VSAccountAccessStatus,Foundation.NSError> completionHandler);
abstract member CheckAccessStatus : Foundation.NSDictionary * Action<VideoSubscriberAccount.VSAccountAccessStatus, Foundation.NSError> -> unit
override this.CheckAccessStatus : Foundation.NSDictionary * Action<VideoSubscriberAccount.VSAccountAccessStatus, Foundation.NSError> -> unit

Parameters

options
NSDictionary

If not empty, may contain the key P:VideoSubscriberAccount.VSCheckAccessOptionKeys.

completionHandler
Action<VSAccountAccessStatus,NSError>

Called by the system with the results of the permission check.

Attributes

Applies to

CheckAccessStatus(VSAccountManagerAccessOptions, Action<VSAccountAccessStatus,NSError>)

Checks whether the user has provided permission for the app to access their subscription information.

public void CheckAccessStatus (VideoSubscriberAccount.VSAccountManagerAccessOptions accessOptions, Action<VideoSubscriberAccount.VSAccountAccessStatus,Foundation.NSError> completionHandler);
member this.CheckAccessStatus : VideoSubscriberAccount.VSAccountManagerAccessOptions * Action<VideoSubscriberAccount.VSAccountAccessStatus, Foundation.NSError> -> unit

Parameters

accessOptions
VSAccountManagerAccessOptions

If not empty, may contain the key P:VideoSubscriberAccount.VSCheckAccessOptionKeys.

completionHandler
Action<VSAccountAccessStatus,NSError>

Called by the system with the results of the permission check.

Applies to