BillingResult

public final class BillingResult
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.BillingResult


Params containing the response code and the debug message from In-app Billing API response.

Summary

Nested classes

class BillingResult.Builder

Helps to construct BillingResult that are used to return response from IAB api. 

Public constructors

BillingResult()

Public methods

String getDebugMessage()

Debug message returned in In-app Billing API calls.

int getResponseCode()

Response code returned in In-app Billing API calls.

static BillingResult.Builder newBuilder()

Constructs a new BillingResult.Builder instance.

Inherited methods

From class java.lang.Object

Public constructors

BillingResult

BillingResult ()

Public methods

getDebugMessage

String getDebugMessage ()

Debug message returned in In-app Billing API calls.

Returns
String

getResponseCode

int getResponseCode ()

Response code returned in In-app Billing API calls.

Returns
int

newBuilder

BillingResult.Builder newBuilder ()

Constructs a new BillingResult.Builder instance.

Returns
BillingResult.Builder