Method LinkWithAppleGameCenterAsync
LinkWithAppleGameCenterAsync(string, string, string, string, ulong, LinkOptions)
Link the current player with the AppleGameCenter account using AppleGameCenter's teamPlayerId.
Declaration
Task LinkWithAppleGameCenterAsync(string signature, string teamPlayerId, string publicKeyURL, string salt, ulong timestamp, LinkOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | signature | AppleGameCenter's signature |
string | teamPlayerId | AppleGameCenter's teamPlayerId |
string | publicKeyURL | AppleGameCenter's publicKeyURL |
string | salt | AppleGameCenter's salt |
ulong | timestamp | AppleGameCenter's timestamp |
LinkOptions | options | Options for the link operations. |
Returns
Type | Description |
---|---|
Task | Task for the operation |
Exceptions
Type | Condition |
---|---|
AuthenticationException | The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.
|
RequestFailedException | The task fails with the exception when the task cannot complete successfully.
|