편집

다음을 통해 공유


SKCloudServiceController.RequestStorefrontCountryCode Method

Definition

Requests the country code for the user's iTunes account and passes the code and an error, if present, to the provided handler.

[Foundation.Export("requestStorefrontCountryCodeWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestStorefrontCountryCode (Action<Foundation.NSString,Foundation.NSError> completionHandler);
abstract member RequestStorefrontCountryCode : Action<Foundation.NSString, Foundation.NSError> -> unit
override this.RequestStorefrontCountryCode : Action<Foundation.NSString, Foundation.NSError> -> unit

Parameters

completionHandler
Action<NSString,NSError>

A handler that receives an error, if one occurred.

Attributes

Applies to