SKCloudServiceController.RequestStorefrontCountryCodeAsync 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.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSString> RequestStorefrontCountryCodeAsync ();
abstract member RequestStorefrontCountryCodeAsync : unit -> System.Threading.Tasks.Task<Foundation.NSString>
override this.RequestStorefrontCountryCodeAsync : unit -> System.Threading.Tasks.Task<Foundation.NSString>

Returns

A task that represents the asynchronous RequestStorefrontCountryCode operation. The value of the TResult parameter is of type System.Action<Foundation.NSString,Foundation.NSError>.

Attributes

Applies to