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 |
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 |
String
|
toString()
|
Inherited methods | |
---|---|
Public constructors
BillingResult
public BillingResult ()
Public methods
getDebugMessage
public String getDebugMessage ()
Debug message returned in In-app Billing API calls.
Returns | |
---|---|
String |
getResponseCode
public int getResponseCode ()
Response code returned in In-app Billing API calls.
Returns | |
---|---|
int |
The BillingClient.BillingResponseCode corresponding to the result.
|
newBuilder
public static BillingResult.Builder newBuilder ()
Constructs a new BillingResult.Builder
instance.
Returns | |
---|---|
BillingResult.Builder |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-02-23 UTC.