GetConsumptionCredit

Metered.GetConsumptionCredit method

检索消耗的积分数。

public static decimal GetConsumptionCredit()

例子

以下示例演示了如何检索消耗的积分数。

string publicKey = "Public Key";
string privateKey = "Private Key";

Metered metered = new Metered();
metered.SetMeteredKey(publicKey, privateKey);

decimal creditsConsumed = Metered.GetConsumptionCredit();

也可以看看