示例#1
0
	public void OnSPDeltaOfCoinsRequestFailed(SponsorPay.RequestError error)
	{
		showToast("An error occurred while requesting currency");
	}
 // OnSPDeltaOfCoinsRequestFailed: Registered to be called if an error is triggered by the delta of coins request
 public void OnSPDeltaOfCoinsRequestFailed(SponsorPay.RequestError error)
 {
     // Update the UI with information about the error
     coinsLabel = String.Format("Delta of coins request failed.\n"
         + "Error Type: {0}\nError Code: {1}\nError Message: {2}",
         error.Type, error.Code, error.Message);
 }
 public void SetLogLevel(SponsorPay.SPLogLevel logLevel)
 {
     _SPSetLogLevel(logLevelMapping[logLevel]);
 }