編輯

共用方式為


SKCloudServiceController.RequestPersonalizationToken Method

Definition

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

[Foundation.Export("requestPersonalizationTokenForClientToken:withCompletionHandler:")]
[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 void RequestPersonalizationToken (string clientToken, Action<Foundation.NSString,Foundation.NSError> completionHandler);
abstract member RequestPersonalizationToken : string * Action<Foundation.NSString, Foundation.NSError> -> unit
override this.RequestPersonalizationToken : string * Action<Foundation.NSString, Foundation.NSError> -> unit

Parameters

clientToken
String
completionHandler
Action<NSString,NSError>
Attributes

Applies to