A B C D G H I M O P R S T

A

AXIS_L2 - Static variable in class tv.ouya.console.api.OuyaController
Code for the left trigger axis.
AXIS_LS_X - Static variable in class tv.ouya.console.api.OuyaController
Code for the left joystick x axis.
AXIS_LS_Y - Static variable in class tv.ouya.console.api.OuyaController
Code for the left joystick y axis.
AXIS_R2 - Static variable in class tv.ouya.console.api.OuyaController
Code for the right trigger axis.
AXIS_RS_X - Static variable in class tv.ouya.console.api.OuyaController
Code for the right joystick x axis.
AXIS_RS_Y - Static variable in class tv.ouya.console.api.OuyaController
Code for the right joystick y axis.

B

bindRequestHasBeenMade() - Method in class tv.ouya.console.api.OuyaFacade
Deprecated. 
BUTTON_A - Static variable in class tv.ouya.console.api.OuyaController
Code for the A button.
BUTTON_DPAD_DOWN - Static variable in class tv.ouya.console.api.OuyaController
Code for the D-pad down button.
BUTTON_DPAD_LEFT - Static variable in class tv.ouya.console.api.OuyaController
Code for the D-pad left button.
BUTTON_DPAD_RIGHT - Static variable in class tv.ouya.console.api.OuyaController
Code for the D-pad right button.
BUTTON_DPAD_UP - Static variable in class tv.ouya.console.api.OuyaController
Code for the D-pad up button.
BUTTON_L1 - Static variable in class tv.ouya.console.api.OuyaController
Code for the left bumper button.
BUTTON_L2 - Static variable in class tv.ouya.console.api.OuyaController
Deprecated. This code is unreliable on some controller firmwares. Use of analog axis value is recommended.
BUTTON_L3 - Static variable in class tv.ouya.console.api.OuyaController
Code for left joystick button.
BUTTON_MENU - Static variable in class tv.ouya.console.api.OuyaController
Code for a short press of the system button.
BUTTON_O - Static variable in class tv.ouya.console.api.OuyaController
Code for the O button.
BUTTON_R1 - Static variable in class tv.ouya.console.api.OuyaController
Code for the right bumper button.
BUTTON_R2 - Static variable in class tv.ouya.console.api.OuyaController
Deprecated. This code is unreliable on some controller firmwares. Use of analog axis value is recommended.
BUTTON_R3 - Static variable in class tv.ouya.console.api.OuyaController
Code for right joystick button.
BUTTON_U - Static variable in class tv.ouya.console.api.OuyaController
Code for the U button.
BUTTON_Y - Static variable in class tv.ouya.console.api.OuyaController
Code for the Y button.
buttonChangedThisFrame(int) - Method in class tv.ouya.console.api.OuyaController
Checks if a button state changed within the current frame loop (as signaled by calling startOfFrame).

C

CancelIgnoringOuyaResponseListener<T> - Class in tv.ouya.console.api
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.
CancelIgnoringOuyaResponseListener() - Constructor for class tv.ouya.console.api.CancelIgnoringOuyaResponseListener
 

D

decryptProductResponse(String, byte[]) - Static method in class tv.ouya.console.api.OuyaEncryptionHelper
Decrypt a Product response from the server using the supplied application public key.
decryptPurchaseResponse(JSONObject, PublicKey) - Method in class tv.ouya.console.api.OuyaEncryptionHelper
Decrypt a purchase response from the server using the supplied application public key.
decryptReceiptResponse(JSONObject, PublicKey) - Method in class tv.ouya.console.api.OuyaEncryptionHelper
Decrypt a receipt response from the server using the supplied application public key.

G

getAxisValue(int) - Method in class tv.ouya.console.api.OuyaController
 
getButton(int) - Method in class tv.ouya.console.api.OuyaController
 
getControllerByDeviceId(int) - Static method in class tv.ouya.console.api.OuyaController
Get the current state of a controller
getControllerByPlayer(int) - Static method in class tv.ouya.console.api.OuyaController
Get the controller for a specific player number
getDevice() - Method in class tv.ouya.console.api.OuyaController
 
getDeviceId() - Method in class tv.ouya.console.api.OuyaController
 
getGameData(String) - Method in class tv.ouya.console.api.OuyaFacade
Get a piece of previously stored game data.
getInstance() - Static method in class tv.ouya.console.api.OuyaFacade
Returns the OuyaFacade singleton.
getOdkVersionNumber() - Static method in class tv.ouya.console.api.OuyaFacade
 
getPlayerNum() - Method in class tv.ouya.console.api.OuyaController
 
getPlayerNumByDeviceId(int) - Static method in class tv.ouya.console.api.OuyaController
Get the player number for a specific device, in the range [0, MAX_CONTROLLERS), or -1 if no player found.
getSuspendedPurchase(Context) - Static method in class tv.ouya.console.api.OuyaPurchaseHelper
Get any purchase which has been suspended.

H

handleError(Activity, int, String, Bundle, int, OuyaResponseListener<Void>) - Static method in class tv.ouya.console.api.OuyaAuthenticationHelper
Handle an error from the server.

I

init(Context) - Static method in class tv.ouya.console.api.OuyaController
 
init(Context, String) - Method in class tv.ouya.console.api.OuyaFacade
Initializes the facade.
isInitialized() - Method in class tv.ouya.console.api.OuyaFacade
Returns whether the OuyaFacade has been initialized.
isRunningOnOUYAHardware() - Method in class tv.ouya.console.api.OuyaFacade
Test to see if we're running on an OUYA console.

M

MAX_CONTROLLERS - Static variable in class tv.ouya.console.api.OuyaController
The maximum number of connected controllers.

O

onCancel() - Method in class tv.ouya.console.api.CancelIgnoringOuyaResponseListener
Called when the user selects Cancel.
onCancel() - Method in interface tv.ouya.console.api.OuyaResponseListener
Called when the request is canceled by the user via confirmation, authentication or related dialog.
onFailure(int, String, Bundle) - Method in interface tv.ouya.console.api.OuyaResponseListener
Called when the request fails.
onGenericMotionEvent(MotionEvent) - Static method in class tv.ouya.console.api.OuyaController
Called by the application to update the controller state
onKeyDown(int, KeyEvent) - Static method in class tv.ouya.console.api.OuyaController
Called by the application to update the controller state
onKeyUp(int, KeyEvent) - Static method in class tv.ouya.console.api.OuyaController
Called by the application to update the controller state
onServiceConnected(ComponentName, IBinder) - Method in class tv.ouya.console.api.OuyaFacade
Called when the service is connected.
onServiceDisconnected(ComponentName) - Method in class tv.ouya.console.api.OuyaFacade
Called when the service is disconnected.
onSuccess(T) - Method in interface tv.ouya.console.api.OuyaResponseListener
Called when the request succeeds.
OUYA_ACCOUNT_TYPE - Static variable in class tv.ouya.console.api.OuyaAuthenticationHelper
The account type for OUYA accounts.
OuyaAuthenticationHelper - Class in tv.ouya.console.api
This class can handle any authentication errors which come from the server and bring up user account request prompts appropriately.
OuyaAuthenticationHelper() - Constructor for class tv.ouya.console.api.OuyaAuthenticationHelper
 
OuyaController - Class in tv.ouya.console.api
Utility class that contains codes for console buttons and axes.
OuyaEncryptionHelper - Class in tv.ouya.console.api
 
OuyaEncryptionHelper() - Constructor for class tv.ouya.console.api.OuyaEncryptionHelper
 
OuyaFacade - Class in tv.ouya.console.api
Entry point for the OUYA API.
OuyaPurchaseHelper - Class in tv.ouya.console.api
Helper for OUYA purchases.
OuyaPurchaseHelper() - Constructor for class tv.ouya.console.api.OuyaPurchaseHelper
 
OuyaResponseListener<T> - Interface in tv.ouya.console.api
Represents a listener for asynchronous replies from the Ouya server to requests made through the OuyaFacade.

P

parseJSONReceiptResponse(String) - Method in class tv.ouya.console.api.OuyaEncryptionHelper
Parse the receipt JSON.
parseJSONReceiptResponse(JSONArray) - Method in class tv.ouya.console.api.OuyaEncryptionHelper
Parse a JSONArray holding Receipts.
putGameData(String, String) - Method in class tv.ouya.console.api.OuyaFacade
Store some game data.

R

requestGamerUuid(OuyaResponseListener<String>) - Method in class tv.ouya.console.api.OuyaFacade
Requests the current gamer's UUID.
requestProductList(List<Purchasable>, OuyaResponseListener<ArrayList<Product>>) - Method in class tv.ouya.console.api.OuyaFacade
Returns a list of Product objects that describe the products (including current price) associated with the specified list of Purchasables.
requestPurchase(Purchasable, OuyaResponseListener<String>) - Method in class tv.ouya.console.api.OuyaFacade
Requests that the specified Purchasable be purchased on behalf of the current user.
requestReceipts(OuyaResponseListener<String>) - Method in class tv.ouya.console.api.OuyaFacade
Requests receipts for all of the purchases that the current gamer has made from a particular vendor.

S

setTestMode() - Method in class tv.ouya.console.api.OuyaFacade
Enables 'test mode' for making purchases without charging real money.
shutdown() - Method in class tv.ouya.console.api.OuyaFacade
Shuts down the facade.
startOfFrame() - Static method in class tv.ouya.console.api.OuyaController
Signals the start of a new frame loop.
STICK_DEADZONE - Static variable in class tv.ouya.console.api.OuyaController
The deadzone amount to use for the analog sticks.
suspendPurchase(Context, String) - Static method in class tv.ouya.console.api.OuyaPurchaseHelper
Store the details of a purchase so it can be resumed later.

T

tv.ouya.console.api - package tv.ouya.console.api
Ouya Public API

A B C D G H I M O P R S T

Copyright © 2012 OUYA, Inc. All Rights Reserved.