BillingResult
public final class BillingResult
Params containing the response code and the debug message from In-app Billing API response.
Summary
Nested types |
|---|
public class BillingResult.BuilderHelps to construct |
Public constructors |
|---|
Public methods |
|
|---|---|
String |
Debug message returned in In-app Billing API calls. |
int |
An optional sub response code returned in |
int |
Response code returned in In-app Billing API calls. |
static BillingResult.Builder |
Constructs a new |
String |
toString() |
Public constructors
Public methods
getOnPurchasesUpdatedSubResponseCode
public int getOnPurchasesUpdatedSubResponseCode()
An optional sub response code returned in PurchasesUpdatedListener.onPurchasesUpdated.
| Returns | |
|---|---|
int |
The |
getResponseCode
public int getResponseCode()
Response code returned in In-app Billing API calls.
| Returns | |
|---|---|
int |
The |
newBuilder
public static BillingResult.Builder newBuilder()
Constructs a new BillingResult.Builder instance.