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 CancelIgnoringOuyaResponseListener<T>

    java.lang.Object
      tv.ouya.console.api.CancelIgnoringOuyaResponseListener<T>

All Implemented Interfaces:
  OuyaResponseListener<T>

    public abstract class CancelIgnoringOuyaResponseListener<T>

extends java.lang.Object
implements OuyaResponseListener<T>

Utility base class for listeners that don't expect to receive cancel notifications or which don't have to do anything if the user clicks "Cancel." This class implements an empty onCancel() method so that you don't have to litter your code with onCancel() methods that will never be called.

Constructor Summary
`CancelIgnoringOuyaResponseListener()`

Method Summary
`void` | `onCancel()` Called when the user selects Cancel.

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

Methods inherited from interface tv.ouya.console.api.OuyaResponseListener
`onFailure, onSuccess`

Constructor Detail

### CancelIgnoringOuyaResponseListener

    public CancelIgnoringOuyaResponseListener()

Method Detail

### onCancel

    public final void onCancel()

  Called when the user selects Cancel. Implemented to do nothing.

  Note: onCancel() is final in order to prevent overriding, thereby forcing the use of a different Listener type if an inheriting class needs to do something when the user clicks "Cancel."

  Specified by:
    `onCancel` in interface `OuyaResponseListener<T>`

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.