public class


extends Object

Class Overview

Represents the result of an in-app billing operation. A result is composed of a response code (an integer) and possibly a message (String). You can get those by calling getResponse() and getMessage(), respectively. You can also inquire whether a result is a success or a failure by calling isSuccess() and isFailure().


Public Constructors
IabResult(int response, String message)
Public Methods
String getMessage()
int getResponse()
boolean isFailure()
boolean isSuccess()
String toString()
Inherited Methods
From class java.lang.Object

Public Constructors

public IabResult (int response, String message)

Public Methods

public String getMessage ()

public int getResponse ()

public boolean isFailure ()

public boolean isSuccess ()

public String toString ()