SKCloudServiceController.RequestPersonalizationTokenAsync(String) Method

Definition

Developers should not use this deprecated method. Developers should use 'RequestUserToken' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RequestUserToken' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RequestUserToken' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSString> RequestPersonalizationTokenAsync (string clientToken);
abstract member RequestPersonalizationTokenAsync : string -> System.Threading.Tasks.Task<Foundation.NSString>
override this.RequestPersonalizationTokenAsync : string -> System.Threading.Tasks.Task<Foundation.NSString>

Parameters

clientToken
String

Returns

Task<NSString>

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

Attributes

Applies to