.NET Client Reference
Class PublishingNetworkPayments
Namespace: PlayerIOClient
Language: C# / .NET
The PlayerIO Publishing Network payments service
Methods | |||
---|---|---|---|
public void |
Shows a dialog for buying coins. |
||
public void |
Shows a dialog for buying coins. |
||
public void |
Shows a dialog for buying items. |
||
public void |
Shows a dialog for buying items. |
PublishingNetworkPayments.ShowBuyCoinsDialog
public void |
|
Shows a dialog for buying coins.
Arguments
int | coinAmount |
The amount of coins to buy. | |
Dictionary<string, string> | purchaseArguments |
Any additional information that is needed to show the payment dialog. | |
Callback<Dictionary<string, string>> | successCallback |
Callback that will be called with the result of the payment dialog. | |
Callback<PlayerIOError> | errorCallback |
Callback that will be called if the dialog fails. |
PublishingNetworkPayments.ShowBuyCoinsDialog
public void |
|
Shows a dialog for buying coins.
Arguments
int | coinAmount |
The amount of coins to buy. | |
Dictionary<string, string> | purchaseArguments |
Any additional information that is needed to show the payment dialog. | |
Callback<Dictionary<string, string>> | successCallback |
Callback that will be called with the result of the payment dialog. |
PublishingNetworkPayments.ShowBuyItemsDialog
public void |
|
Shows a dialog for buying items.
Arguments
BuyItemInfo[] | items |
Each BuyItemInfo instance contains the key of the item to buy and any additional payload. | |
Dictionary<string, string> | purchaseArguments |
Any additional information that is needed to show the payment dialog. | |
Callback<Dictionary<string, string>> | successCallback |
Callback that will be called with the result of the payment dialog. | |
Callback<PlayerIOError> | errorCallback |
Callback that will be called if the dialog fails. |
PublishingNetworkPayments.ShowBuyItemsDialog
public void |
|
Shows a dialog for buying items.
Arguments
BuyItemInfo[] | items |
Each BuyItemInfo instance contains the key of the item to buy and any additional payload. | |
Dictionary<string, string> | purchaseArguments |
Any additional information that is needed to show the payment dialog. | |
Callback<Dictionary<string, string>> | successCallback |
Callback that will be called with the result of the payment dialog. |