public class IabBroadcastReceiver
extends android.content.BroadcastReceiver
It is possible that an in-app item may be acquired without the application calling getBuyIntent(), for example if the item can be redeemed from inside the Play Store using a promotional code. If this application isn't running at the time, then when it is started a call to getPurchases() will be sufficient notification. However, if the application is already running in the background when the item is acquired, a message to this BroadcastReceiver will indicate that the an item has been acquired.
Modifier and Type | Class and Description |
---|---|
static interface |
IabBroadcastReceiver.IabBroadcastListener
Listener interface for received broadcast messages.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION
The Intent action that this Receiver should filter for.
|
Constructor and Description |
---|
IabBroadcastReceiver(IabBroadcastReceiver.IabBroadcastListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String ACTION
public IabBroadcastReceiver(IabBroadcastReceiver.IabBroadcastListener listener)