Class ConnectionKit
ConnectionKit is the base for Pley Connect, allowing you to get an account link code for connecting your users to their mobile account.
Inheritance
System.Object
ConnectionKit
Namespace: Pley
Assembly: Pley.dll
Syntax
public static class ConnectionKit : object
Methods
GetAccountLinkCode()
Get the account link code.
Declaration
public static string GetAccountLinkCode()
Returns
Type | Description |
---|---|
System.String | Returns the account link code. |
GetAccountLinkCode(out String)
Get the account link code.
Declaration
public static PleyResult GetAccountLinkCode(out string accountLinkCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | accountLinkCode | Returns the account link code. |
Returns
Type | Description |
---|---|
PleyResult | Returns whether succeedes or not to retrieve the account link code. |
SetAccountLinkResultAsync(PleyAccountLinkResult)
Declaration
public static async Task<PleyResult> SetAccountLinkResultAsync(PleyAccountLinkResult result)
Parameters
Type | Name | Description |
---|---|---|
PleyAccountLinkResult | result |
Returns
Type | Description |
---|---|
Task<PleyResult> |
Events
OnAccountLinkCode
Declaration
public static event ConnectionKit.AccountLinkCodeCallback OnAccountLinkCode
Event Type
Type | Description |
---|---|
ConnectionKit.AccountLinkCodeCallback |