O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

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 In-app Billing 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 The BillingClient.BillingResponseCode corresponding to the result.

newBuilder

BillingResult.Builder newBuilder ()

Constructs a new BillingResult.Builder instance.

Returns
BillingResult.Builder