# Index

A C D E F G I L M O P R S T U
All Classes and Interfaces|All Packages|Constant Field Values

## A

actionComplete(String) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.1.0. Informs the Tapjoy server that the specified Pay-Per-Action was completed. Should be called whenever a user completes an in-game action.
addUserTag(String) - Static method in class com.tapjoy.Tapjoy
  Adds the given tag to the user if it is not already present.
ALLOW_LEGACY_ID_FALLBACK - Static variable in class com.tapjoy.TapjoyConnectFlag
  New in SDK 12.2.1, which defaults against fallback use of persistent identifiers for advertising.
awardCurrency(int, TJAwardCurrencyListener) - Static method in class com.tapjoy.Tapjoy
  Awards virtual currency.

## C

cancelled() - Method in interface com.tapjoy.TJActionRequest
  Deprecated.
  Called when the request is cancelled.
clearUserTags() - Static method in class com.tapjoy.Tapjoy
  Removes all tags from the user.
code - Variable in class com.tapjoy.TJError
  The error code.
com.tapjoy - package com.tapjoy
completed() - Method in interface com.tapjoy.TJActionRequest
  Deprecated.
  Called when the request is completed.
connect(Context, String) - Static method in class com.tapjoy.Tapjoy
  Connects to the Tapjoy Server
connect(Context, String, Hashtable<String, ?>) - Static method in class com.tapjoy.Tapjoy
  Connects to the Tapjoy Server
connect(Context, String, Hashtable<String, ?>, TJConnectListener) - Static method in class com.tapjoy.Tapjoy
  Performs the Tapjoy Connect call to the Tapjoy server to notify it that this device is running your application.
  This method should be called in the onCreate() method of your first activity and before any other TapjoyConnect methods.
  For special flags, this is a hashtable of special flags to send to enable non-standard settings.
CONNECT_FLAG_DEFAULTS - Static variable in class com.tapjoy.TapjoyConnectFlag
  Default values for the connect flags.

## D

DISABLE_ADVERTISING_ID - Static variable in class com.tapjoy.TapjoyConnectFlag
  Turns off advertising_id from sending as params in network requests
DISABLE_ADVERTISING_ID_CHECK - Static variable in class com.tapjoy.TapjoyConnectFlag
  Turns off integration check for Android Advertising ID; when enabled, persistent identifier (GAID) is sent/called automatically.
DISABLE_AUTOMATIC_SESSION_TRACKING - Static variable in class com.tapjoy.TapjoyConnectFlag
  Turns off automatic session tracking.
DISABLE_PERSISTENT_IDS - Static variable in class com.tapjoy.TapjoyConnectFlag
  Deprecated.
  This legacy flag was deprecated as of SDK 12.2.1, which added integration check for Android Advertising ID. To enable fallback use of persistent IDs for advertising where no Android Advertising ID exists, enable ALLOW_LEGACY_ID_FALLBACK.
dismissContent() - Static method in class com.tapjoy.TJPlacement
  Dismiss content which is showing

## E

ENABLE_LOGGING - Static variable in class com.tapjoy.TapjoyConnectFlag
  Deprecated.
  Deprecated since 14.3.0 Enables or disables Tapjoy SDK logging. False by default. Same functionality as `Tapjoy.setDebugEnabled(boolean)`. Use "true" to enable logging or "false" to disable logging.
endSession() - Static method in class com.tapjoy.Tapjoy
  Manual session tracking.

## F

FLAG_ARRAY - Static variable in class com.tapjoy.TapjoyConnectFlag
  Array of possible values used to check Manifest meta-data tags.

## G

getBelowConsentAge() - Method in class com.tapjoy.TJPrivacyPolicy
  Returns the consent age (COPPA) flag applied to the user.
getCurrencyAmountRequired(String) - Method in class com.tapjoy.TJPlacement
  Gets the currency amount required
getCurrencyBalance(TJGetCurrencyBalanceListener) - Static method in class com.tapjoy.Tapjoy
  Gets the virtual currency data from the server for this device.
getCurrencyBalance(String) - Method in class com.tapjoy.TJPlacement
  Gets the currency balance
getCustomParameter() - Static method in class com.tapjoy.Tapjoy
  Returns the currently set custom parameter.
getEntryPoint() - Method in class com.tapjoy.TJPlacement
  Gets the entry point for this placement instance.
getGUID() - Method in class com.tapjoy.TJPlacement
  Returns the unique identifier assigned for this placement.
getInstance() - Static method in class com.tapjoy.TJPrivacyPolicy
  Returns the default instance of this class.
getListener() - Method in class com.tapjoy.TJPlacement
  The `TJPlacementListener` listener for this placement.
getLoggingLevel() - Static method in class com.tapjoy.Tapjoy
  Gets the level of Tapjoy logs
getMaxLevel() - Static method in class com.tapjoy.Tapjoy
  Gets the maximum level of the user.
getName() - Method in class com.tapjoy.TJPlacement
  Returns the name of this placement.
getOptOutAdvertisingID(Context) - Static method in class com.tapjoy.Tapjoy
  Returns the currently set opt out advertising id value
getPlacement(String, TJPlacementListener) - Static method in class com.tapjoy.Tapjoy
  Creates a TJPlacement object used for requesting content
getPrivacyPolicy() - Static method in class com.tapjoy.Tapjoy
  Returns the TJPrivacyPolicy instance for calling methods to set GDPR, User's consent, below consent age ,and US Privacy policy flags
getRequestId() - Method in interface com.tapjoy.TJActionRequest
  Deprecated.
  Used to get the identifier for the request.
getSubjectToGDPR() - Method in class com.tapjoy.TJPrivacyPolicy
  Returns configured GDPR value.
getSupportURL() - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.2.0 Returns URL to Tapjoy support web page. This will use your default currency.
getSupportURL(String) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.2.0 Returns URL to Tapjoy support web page for specified currency You can get your currencyId from the Tapjoy Dashboard under the currency section.
getToken() - Method in interface com.tapjoy.TJActionRequest
  Deprecated.
  Used to get the token for the request.
getUsageStatsConsent() - Method in class com.tapjoy.TJPrivacyPolicy
  WARNING: EXPERIMENTAL API - DO NOT USE IT
getUserConsent() - Method in class com.tapjoy.TJPrivacyPolicy
  Returns user's consent to behavioral advertising such as in the context of GDPR The consent value can be TJStatus.FALSE (User has not provided consent), TJStatus.TRUE (User has provided consent).
getUserID() - Static method in class com.tapjoy.Tapjoy
  Gets the ID of the user.
getUserLevel() - Static method in class com.tapjoy.Tapjoy
  Gets the level of the user.
getUserRevenue(TJGetUserRevenueListener) - Static method in class com.tapjoy.Tapjoy
  Gets the impression-level revenue data from the server for this user.
getUserSegment() - Static method in class com.tapjoy.Tapjoy
  Sets the segment of the user
getUserTags() - Static method in class com.tapjoy.Tapjoy
  Returns a String set which contains tags on the user.
getUSPrivacy() - Method in class com.tapjoy.TJPrivacyPolicy
  Returns US Privacy value to behavioral advertising such as in the context of CCPA
getVersion() - Static method in class com.tapjoy.Tapjoy
  Returns the version name of this SDK release.

## I

isConnected() - Static method in class com.tapjoy.Tapjoy
  Helper function to check if SDK is initialized
isContentAvailable() - Method in class com.tapjoy.TJPlacement
  Whether or not content for this placement has been returned and is ready to be presented
isContentReady() - Method in class com.tapjoy.TJPlacement
  Whether or not the pre-loaded content for this placement has been cached and is ready to be presented

## L

loadSharedLibrary() - Static method in class com.tapjoy.Tapjoy
  Load the native shared library of the SDK to use C++ API.

## M

message - Variable in class com.tapjoy.TJError
  The message of the error.

## O

onActivityStart(Activity) - Static method in class com.tapjoy.Tapjoy
  Semi-auto session tracking.
onActivityStop(Activity) - Static method in class com.tapjoy.Tapjoy
  Semi-auto session tracking.
onAwardCurrencyResponse(String, int) - Method in interface com.tapjoy.TJAwardCurrencyListener
  Callback containing the virtual currency name and balance currency information.
onAwardCurrencyResponseFailure(String) - Method in interface com.tapjoy.TJAwardCurrencyListener
  Call containing error message if awardCurrency fails.
onClick(TJPlacement) - Method in interface com.tapjoy.TJPlacementListener
  Deprecated.
  Deprecated since 14.2.0 Called when a click event has occurred
onConnectFailure(int, String) - Method in class com.tapjoy.TJConnectListener
  Callback when connect fails.
onConnectSuccess() - Method in class com.tapjoy.TJConnectListener
  Callback when connect is successful.
onConnectWarning(int, String) - Method in class com.tapjoy.TJConnectListener
  Callback when there is a warning during connect.
onContentDismiss(TJPlacement) - Method in interface com.tapjoy.TJPlacementListener
  Called when a content for the given placement is dismissed.
onContentReady(TJPlacement) - Method in interface com.tapjoy.TJPlacementListener
  Called when a content for the given placement is ready to show.
onContentShow(TJPlacement) - Method in interface com.tapjoy.TJPlacementListener
  Called when a content for the given placement is showing.
onEarnedCurrency(String, int) - Method in interface com.tapjoy.TJEarnedCurrencyListener
  Callback whenever virtual currency has been earned.
onGetCurrencyBalanceResponse(String, int) - Method in interface com.tapjoy.TJGetCurrencyBalanceListener
  Callback containing the virtual currency name and total balance information.
onGetCurrencyBalanceResponseFailure(String) - Method in interface com.tapjoy.TJGetCurrencyBalanceListener
  Call containing error message if getCurrencyBalance() fails.
onGetUserRevenueResponse(TJUserRevenue) - Method in interface com.tapjoy.TJGetUserRevenueListener
  Callback containing the impression-level revenue data.
onGetUserRevenueResponseFailure(String) - Method in interface com.tapjoy.TJGetUserRevenueListener
  Call containing error message if getUserRevenue() fails.
onPurchaseRequest(TJPlacement, TJActionRequest, String) - Method in interface com.tapjoy.TJPlacementListener
  Deprecated.
  Deprecated since 14.5.0 Called when a purchase has been requested.
onRequestFailure(TJPlacement, TJError) - Method in interface com.tapjoy.TJPlacementListener
  Called when given placement request has failed.
onRequestSuccess(TJPlacement) - Method in interface com.tapjoy.TJPlacementListener
  Called when given placement request has succeeded.
onRewardRequest(TJPlacement, TJActionRequest, String, int) - Method in interface com.tapjoy.TJPlacementListener
  Deprecated.
  Deprecated since 14.5.0 Called when a reward unlock has been requested.
onSetUserIDFailure(int, String) - Method in interface com.tapjoy.TJSetUserIDListener
  Callback when setUserID fails.
onSetUserIDFailure(String) - Method in interface com.tapjoy.TJSetUserIDListener
  Deprecated.
  Deprecated since 13.4.0 Use `TJSetUserIDListener.onSetUserIDFailure(int, String)` instead. Callback when setUserID fails.
onSetUserIDSuccess() - Method in interface com.tapjoy.TJSetUserIDListener
  Callback when setUserID is successful.
onSpendCurrencyResponse(String, int) - Method in interface com.tapjoy.TJSpendCurrencyListener
  Callback containing the virtual currency name and balance currency information.
onSpendCurrencyResponseFailure(String) - Method in interface com.tapjoy.TJSpendCurrencyListener
  Call containing error message if spendCurrency fails.
optOutAdvertisingID(Context, boolean) - Static method in class com.tapjoy.Tapjoy
  This is to opt out passing advertising_id param in the subsequent network requests

## P

PLACEMENT_URL - Static variable in class com.tapjoy.TapjoyConnectFlag
  Sets the base URL for the Tapjoy placement.

## R

removeUserTag(String) - Static method in class com.tapjoy.Tapjoy
  Removes the given tag from the user if it is present.
requestContent() - Method in class com.tapjoy.TJPlacement
  Send an event from the app to the server.

## S

SERVICE_URL - Static variable in class com.tapjoy.TapjoyConnectFlag
  Sets the base URL for the Tapjoy server.
setActivity(Activity) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.0.0 Sets the current activity
setBelowConsentAge(TJStatus) - Method in class com.tapjoy.TJPrivacyPolicy
  In the US, the Children’s Online Privacy Protection Act (COPPA) imposes certain requirements on operators of online services that (a) have actual knowledge that the connected user is a child under 13 years of age, or (b) operate services (including apps) that are directed to children under 13.
setCurrencyAmountRequired(String, int, TJSetCurrencyAmountRequiredListener) - Method in class com.tapjoy.TJPlacement
  Sets the currency amount required
setCurrencyBalance(String, int, TJSetCurrencyBalanceListener) - Method in class com.tapjoy.TJPlacement
  Sets the currency balance
setCustomParameter(String) - Static method in class com.tapjoy.Tapjoy
  Assign a custom parameter associated with any following placement requests that contains an ad type.
setDebugEnabled(boolean) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.3.0 Enables or disables Tapjoy logging
setEarnedCurrencyListener(TJEarnedCurrencyListener) - Static method in class com.tapjoy.Tapjoy
  Sets the listener which gets informed whenever virtual currency is earned.
setEntryPoint(TJEntryPoint) - Method in class com.tapjoy.TJPlacement
  Sets the entry point for this placement instance.
setGLSurfaceView(GLSurfaceView) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.0.0. Sets the GLSurfaceView to receive callbacks in the GL thread.
setLoggingLevel(TJLogLevel) - Static method in class com.tapjoy.Tapjoy
  Sets the level of Tapjoy logs
setMaxLevel(int) - Static method in class com.tapjoy.Tapjoy
  Sets the maximum level of the user.
setSubjectToGDPR(TJStatus) - Method in class com.tapjoy.TJPrivacyPolicy
  This can be used by the integrating App to indicate if the user falls in any of the GDPR applicable countries (European Economic Area).
setUsageStatsConsent(TJStatus) - Method in class com.tapjoy.TJPrivacyPolicy
  WARNING: EXPERIMENTAL API - DO NOT USE IT
setUserConsent(TJStatus) - Method in class com.tapjoy.TJPrivacyPolicy
  This is used for sending User's consent to behavioral advertising such as in the context of GDPR The consent value can be TJStatus.FALSE (User has not provided consent), TJStatus.TRUE (User has provided consent)
setUserID(String, TJSetUserIDListener) - Static method in class com.tapjoy.Tapjoy
  Assigns a user ID for this user/device.
setUserLevel(int) - Static method in class com.tapjoy.Tapjoy
  Sets the level of the user.
setUserSegment(TJSegment) - Static method in class com.tapjoy.Tapjoy
  Sets the segment of the user
setUserTags(Set<String>) - Static method in class com.tapjoy.Tapjoy
  Sets tags for the user.
setUSPrivacy(String) - Method in class com.tapjoy.TJPrivacyPolicy
  This is used for sending US Privacy value to behavioral advertising such as in the context of GDPR The value can be in IAB's US Privacy String Format consists of specification version to encode the string in number, explicit notice or opportunity to opt out in enum, opt-out sale in enum, LSPA covered transaction in enum .
showContent() - Method in class com.tapjoy.TJPlacement
  Shows the content that was received from the server requesting content
spendCurrency(int, TJSpendCurrencyListener) - Static method in class com.tapjoy.Tapjoy
  Spends virtual currency.
startSession() - Static method in class com.tapjoy.Tapjoy
  Manual session tracking.

## T

Tapjoy - Class in com.tapjoy
  Created by Tapjoy.
  Copyright 2020 Tapjoy.com All rights reserved.
  For information about SDK integration, best practices and FAQs, please go to http://dev.tapjoy.com
Tapjoy() - Constructor for class com.tapjoy.Tapjoy
TapjoyConnectFlag - Class in com.tapjoy
  Flags used in `Tapjoy.connect(android.content.Context, String, java.util.Hashtable)` to define special startup options.
  These flags can also be defined in the meta-data tags in AndroidManifest.xml.
TapjoyConnectFlag() - Constructor for class com.tapjoy.TapjoyConnectFlag
TJActionRequest - Interface in com.tapjoy
  Deprecated.
  Deprecated since 14.5.0 Interface definition for a request of action to be performed.
TJAwardCurrencyListener - Interface in com.tapjoy
  Any class calling `Tapjoy.awardCurrency(int, TJAwardCurrencyListener)` should implement TJAwardCurrencyListener so it can receive the callback containing the virtual currency name/balance info.
TJC_OPTION_LOGGING_LEVEL - Static variable in class com.tapjoy.TapjoyConnectFlag
  Sets the logging level for Tapjoy SDK.
TJConnectListener - Class in com.tapjoy
  Interface for the Tapjoy connect call.
TJConnectListener() - Constructor for class com.tapjoy.TJConnectListener
TJEarnedCurrencyListener - Interface in com.tapjoy
  Listener to inform the app whenever virtual currency has been earned.
TJError - Class in com.tapjoy
  The error object returned by Tapjoy.
TJError(int, String) - Constructor for class com.tapjoy.TJError
  User to construct a TJError object.
TJGetCurrencyBalanceListener - Interface in com.tapjoy
  Any class calling `Tapjoy.getCurrencyBalance(TJGetCurrencyBalanceListener)` should implement TJGetCurrencyBalanceListener so it can receive the callback containing the virtual currency name/balance info.
TJGetUserRevenueListener - Interface in com.tapjoy
  Any class calling `Tapjoy.getUserRevenue(TJGetUserRevenueListener)` should implement TJGetUserRevenueListener so it can receive the callback containing the virtual currency name/balance info.
TJPlacement - Class in com.tapjoy
  A `TJPlacement` object represents a placement instance in your app.
TJPlacement(Context, String, TJPlacementListener) - Constructor for class com.tapjoy.TJPlacement
  Deprecated.
  Use {link TJPlacement(TJCorePlacement, TJPlacementListener)} instead. Creates a new `TJPlacement` object with the given name and `TJPlacementListener` listener.
TJPlacementListener - Interface in com.tapjoy
  Interface for Tapjoy placement callbacks.
TJPrivacyPolicy - Class in com.tapjoy
  This class is used to set the privacy policy for the user.
TJSetUserIDListener - Interface in com.tapjoy
  Any class calling `Tapjoy.setUserID(String,TJSetUserIDListener)` should implement this class so it can receive the callback on whether the setUserId call is successful or not.
TJSpendCurrencyListener - Interface in com.tapjoy
  Any class calling `Tapjoy.spendCurrency(int, TJSpendCurrencyListener)` should implement TJSpendCurrencyListener so it can receive the callback containing the virtual currency name/balance info.
trackPurchase(String, double) - Static method in class com.tapjoy.Tapjoy
  Tracks a purchase
trackPurchase(String, String, double, String) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.0.0 Tracks a purchase
trackPurchase(String, String, String, String) - Static method in class com.tapjoy.Tapjoy
  Deprecated.
  Deprecated since 14.0.0. Tracks a purchase with JSON data from the Google Play store. Also performs In-app Billing validation if purchaseData and dataSignature are given.

## U

USER_ID - Static variable in class com.tapjoy.TapjoyConnectFlag
  Sets the user ID when NOT using Tapjoy Managed Currency.

A C D E F G I L M O P R S T U
All Classes and Interfaces|All Packages|Constant Field Values