Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## tv.ouya.console.api
Class OuyaPurchaseHelper

    java.lang.Object
      tv.ouya.console.api.OuyaPurchaseHelper

    public class OuyaPurchaseHelper

extends java.lang.Object

Helper for OUYA purchases.

Constructor Summary
`OuyaPurchaseHelper()`

Method Summary
`static java.lang.String` | `getSuspendedPurchase(android.content.Context context)` Get any purchase which has been suspended.
`static void` | `suspendPurchase(android.content.Context context, java.lang.String purchasableId)` Store the details of a purchase so it can be resumed later.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OuyaPurchaseHelper

    public OuyaPurchaseHelper()

Method Detail

### suspendPurchase

    public static final void suspendPurchase(android.content.Context context,
                                             java.lang.String purchasableId)

  Store the details of a purchase so it can be resumed later.

  Parameters:
    `context` - The context in which we're operating.
    `purchasableId` - The ID of the purchasable object to store.

### getSuspendedPurchase

    public static java.lang.String getSuspendedPurchase(android.content.Context context)

  Get any purchase which has been suspended.

  Returns:
    The Id of the suspended purchase or null if no purchase has been suspended.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 OUYA, Inc. All Rights Reserved.