Skip navigation links
A B C D E G H I L M O P Q R S T U V 

A

add(String, double) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(String, float) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(String, int) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(String, long) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(String, String) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(String, JSONObject) - Method in class com.amplitude.api.Identify
Increment a user property by some numerical value.
add(Middleware) - Method in class com.amplitude.api.MiddlewareRunner
 
addCertificate(String) - Method in class com.amplitude.api.PinnedAmplitudeClient.SSLContextBuilder
Add certificate ssl context builder.
addEventMiddleware(Middleware) - Method in class com.amplitude.api.AmplitudeClient
Add middleware to the middleware runner
Amplitude - Class in com.amplitude.api
Amplitude
Amplitude() - Constructor for class com.amplitude.api.Amplitude
 
AmplitudeClient - Class in com.amplitude.api
AmplitudeClient
AmplitudeClient() - Constructor for class com.amplitude.api.AmplitudeClient
Instantiates a new default instance AmplitudeClient and starts worker threads.
AmplitudeClient(String) - Constructor for class com.amplitude.api.AmplitudeClient
Instantiates a new AmplitudeClient with instance name and starts worker threads.
AmplitudeDeviceIdCallback - Interface in com.amplitude.api
 
AmplitudeLogCallback - Interface in com.amplitude.api
 
AmplitudeServerZone - Enum in com.amplitude.api
AmplitudeServerZone is for Data Residency and handling server zone related properties.
apiKey - Variable in class com.amplitude.api.AmplitudeClient
The Amplitude App API key.
append(String, boolean) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, double) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, float) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, int) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, long) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, String) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, JSONArray) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, JSONObject) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, boolean[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, double[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, float[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, int[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, long[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.
append(String, String[]) - Method in class com.amplitude.api.Identify
Append a value or values to a user property.

B

build() - Method in class com.amplitude.api.PinnedAmplitudeClient.SSLContextBuilder
Build ssl context.
bytesToHexString(byte[]) - Method in class com.amplitude.api.AmplitudeClient
Internal method to convert bytes to hex string

C

callFactory - Variable in class com.amplitude.api.AmplitudeClient
The shared OkHTTPClient instance.
clearAll() - Method in class com.amplitude.api.Identify
Clear all user properties.
clearUserProperties() - Method in class com.amplitude.api.AmplitudeClient
Clear user properties.
com.amplitude.api - package com.amplitude.api
 
com.amplitude.eventexplorer - package com.amplitude.eventexplorer
 
com.amplitude.util - package com.amplitude.util
 
ConfigManager - Class in com.amplitude.api
 
context - Variable in class com.amplitude.api.AmplitudeClient
The Android App Context.
contextAndApiKeySet(String) - Method in class com.amplitude.api.AmplitudeClient
Internal method to check whether application context and api key are set

D

DatabaseResetListener - Interface in com.amplitude.api
 
dbHelper - Variable in class com.amplitude.api.AmplitudeClient
The shared Amplitude database helper instance.
DEVICE_ID_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the device ID value.
deviceId - Variable in class com.amplitude.api.AmplitudeClient
The user's Device ID value.
deviceInfo - Variable in class com.amplitude.api.AmplitudeClient
 
disableAdid() - Method in class com.amplitude.api.TrackingOptions
 
disableApiLevel() - Method in class com.amplitude.api.TrackingOptions
 
disableAppSetId() - Method in class com.amplitude.api.TrackingOptions
 
disableCarrier() - Method in class com.amplitude.api.TrackingOptions
 
disableCity() - Method in class com.amplitude.api.TrackingOptions
 
disableCoppaControl() - Method in class com.amplitude.api.AmplitudeClient
Disable COPPA (Children's Online Privacy Protection Act) restrictions on ADID, city, IP address and location tracking.
disableCountry() - Method in class com.amplitude.api.TrackingOptions
 
disableDeviceBrand() - Method in class com.amplitude.api.TrackingOptions
 
disableDeviceManufacturer() - Method in class com.amplitude.api.TrackingOptions
 
disableDeviceModel() - Method in class com.amplitude.api.TrackingOptions
 
disableDiagnosticLogging() - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- We removed Diagnostics class and this function has no-op. Will completely remove it in the near future.
disableDma() - Method in class com.amplitude.api.TrackingOptions
 
disableIpAddress() - Method in class com.amplitude.api.TrackingOptions
 
disableLanguage() - Method in class com.amplitude.api.TrackingOptions
 
disableLatLng() - Method in class com.amplitude.api.TrackingOptions
 
disableLocationListening() - Static method in class com.amplitude.api.Amplitude
Deprecated.
disableLocationListening() - Method in class com.amplitude.api.AmplitudeClient
Disable location listening in the SDK.
disableOsName() - Method in class com.amplitude.api.TrackingOptions
 
disableOsVersion() - Method in class com.amplitude.api.TrackingOptions
 
disablePlatform() - Method in class com.amplitude.api.TrackingOptions
 
disableRegion() - Method in class com.amplitude.api.TrackingOptions
 
disableVersionName() - Method in class com.amplitude.api.TrackingOptions
 
DoubleCheck<T> - Class in com.amplitude.util
Copy from https://github.com/google/dagger/blob/master/java/dagger/internal/DoubleCheck.java Apache v2.0

E

enableCoppaControl() - Method in class com.amplitude.api.AmplitudeClient
Enable COPPA (Children's Online Privacy Protection Act) restrictions on ADID, city, IP address and location tracking.
enableDiagnosticLogging() - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- We removed Diagnostics class and this function has no-op. Will completely remove it in the near future.
enableForegroundTracking(Application) - Method in class com.amplitude.api.AmplitudeClient
Enable foreground tracking for the SDK.
enableLocationListening() - Static method in class com.amplitude.api.Amplitude
Deprecated.
enableLocationListening() - Method in class com.amplitude.api.AmplitudeClient
Enable location listening in the SDK.
enableLogging(boolean) - Method in class com.amplitude.api.AmplitudeClient
Enable/disable message logging by the SDK.
enableNewDeviceIdPerInstall(boolean) - Static method in class com.amplitude.api.Amplitude
Deprecated.
enableNewDeviceIdPerInstall(boolean) - Method in class com.amplitude.api.AmplitudeClient
Deprecated. 
END_SESSION_EVENT - Static variable in class com.amplitude.api.AmplitudeClient
The event type for end session events.
endSession() - Static method in class com.amplitude.api.Amplitude
Deprecated.
equals(Object) - Method in class com.amplitude.api.Revenue
Custom equals function to compare 2 revenue objects.
equals(Object) - Method in class com.amplitude.api.TrackingOptions
 
event - Variable in class com.amplitude.api.MiddlewarePayload
 
EventExplorer - Class in com.amplitude.eventexplorer
 
EventExplorer(String) - Constructor for class com.amplitude.eventexplorer.EventExplorer
 
EventExplorerInfoActivity - Class in com.amplitude.eventexplorer
 
EventExplorerInfoActivity() - Constructor for class com.amplitude.eventexplorer.EventExplorerInfoActivity
 
EventExplorerTouchHandler - Class in com.amplitude.eventexplorer
 
extra - Variable in class com.amplitude.api.MiddlewarePayload
 

G

get() - Method in class com.amplitude.util.DoubleCheck
 
get() - Method in interface com.amplitude.util.Provider
 
getApiPropertiesTrackingOptions() - Method in class com.amplitude.api.TrackingOptions
 
getCertificate(AmplitudeServerZone) - Static method in class com.amplitude.api.PinnedAmplitudeClient
 
getCurrentTimeMillis() - Method in class com.amplitude.api.AmplitudeClient
Internal method to fetch the current time millis.
getDeviceId() - Static method in class com.amplitude.api.Amplitude
Deprecated.
getDeviceId() - Method in class com.amplitude.api.AmplitudeClient
Get the current device id.
getDynamicConfigApi(AmplitudeServerZone) - Static method in enum com.amplitude.api.AmplitudeServerZone
 
getEventLogApiForZone(AmplitudeServerZone) - Static method in enum com.amplitude.api.AmplitudeServerZone
 
getIngestionEndpoint() - Method in class com.amplitude.api.ConfigManager
 
getInstance() - Static method in class com.amplitude.api.Amplitude
Gets the default instance.
getInstance(String) - Static method in class com.amplitude.api.Amplitude
Gets the specified instance.
getInstance() - Static method in class com.amplitude.api.ConfigManager
 
getInstance() - Static method in class com.amplitude.api.PinnedAmplitudeClient
Gets the default instance.
getInstance(String) - Static method in class com.amplitude.api.PinnedAmplitudeClient
Gets the specified instance.
getPinnedCertificateChain(AmplitudeServerZone) - Static method in class com.amplitude.api.PinnedAmplitudeClient
Pinned certificate chain for api.amplitude.com.
getPinnedCertSslSocketFactory(AmplitudeServerZone) - Method in class com.amplitude.api.PinnedAmplitudeClient
Gets pinned cert ssl socket factory.
getPinnedCertSslSocketFactory(PinnedAmplitudeClient.SSLContextBuilder) - Method in class com.amplitude.api.PinnedAmplitudeClient
Gets pinned cert ssl socket factory.
getServerZone() - Method in class com.amplitude.api.AmplitudeClient
Get Amplitude Server Zone
getServerZone(String) - Static method in enum com.amplitude.api.AmplitudeServerZone
 
getSessionId() - Method in class com.amplitude.api.AmplitudeClient
Gets the current session id.
getUserId() - Method in class com.amplitude.api.AmplitudeClient
Gets the user's id.
getUserPropertiesOperations() - Method in class com.amplitude.api.Identify
Public method that exposes the user property operations JSON blob.
groupIdentify(String, Object, Identify) - Method in class com.amplitude.api.AmplitudeClient
 
groupIdentify(String, Object, Identify, boolean) - Method in class com.amplitude.api.AmplitudeClient
 
groupIdentify(String, Object, JSONObject, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 
groupIdentify(String, Object, Identify, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 

H

hashCode() - Method in class com.amplitude.api.Revenue
Custom hashcode generator function for Revenue object.

I

identify(Identify) - Method in class com.amplitude.api.AmplitudeClient
Identify.
identify(Identify, boolean) - Method in class com.amplitude.api.AmplitudeClient
 
identify(Identify, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Identify.
Identify - Class in com.amplitude.api
Identify
Identify() - Constructor for class com.amplitude.api.Identify
 
IngestionMetadata - Class in com.amplitude.api
 
IngestionMetadata() - Constructor for class com.amplitude.api.IngestionMetadata
 
initialize(Context, String) - Static method in class com.amplitude.api.Amplitude
Deprecated.
initialize(Context, String, String) - Static method in class com.amplitude.api.Amplitude
Deprecated.
initialize(Context, String) - Method in class com.amplitude.api.AmplitudeClient
Initialize the Amplitude SDK with the Android application context and your Amplitude App API key.
initialize(Context, String, String) - Method in class com.amplitude.api.AmplitudeClient
Initialize the Amplitude SDK with the Android application context, your Amplitude App API key, and a user ID for the current user.
initialize(Context, String, String, String, boolean) - Method in class com.amplitude.api.AmplitudeClient
Initialize the Amplitude SDK with the Android application context, your Amplitude App API key, a user ID for the current user, and a custom platform value.
initialize(Context, String, String, String, boolean, Call.Factory) - Method in class com.amplitude.api.AmplitudeClient
Initialize the Amplitude SDK with the Android application context, your Amplitude App API key, a user ID for the current user, and a custom platform value.
initialize(Context, String, String) - Method in class com.amplitude.api.PinnedAmplitudeClient
 
initialize(Context, String, String, Provider<OkHttpClient>) - Method in class com.amplitude.api.PinnedAmplitudeClient
 
initialized - Variable in class com.amplitude.api.AmplitudeClient
 
initializeDeviceInfo() - Method in class com.amplitude.api.AmplitudeClient
 
initializedSSLSocketFactory - Variable in class com.amplitude.api.PinnedAmplitudeClient
The Initialized ssl socket factory.
initializeInternal(Context, String, String, String, boolean, Call.Factory) - Method in class com.amplitude.api.AmplitudeClient
Initialize the Amplitude SDK with the Android application context, your Amplitude App API key, a user ID for the current user, and a custom platform value.
initializeInternal(Context, String, String, Provider<OkHttpClient>) - Method in class com.amplitude.api.PinnedAmplitudeClient
 
instanceName - Variable in class com.amplitude.api.AmplitudeClient
The name for this instance of AmplitudeClient.
isOptedOut() - Method in class com.amplitude.api.AmplitudeClient
Returns whether or not the user is opted out of tracking.
isValidRevenue() - Method in class com.amplitude.api.Revenue
Verifies that revenue object is valid and contains the required fields

L

LAST_EVENT_ID_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the last event ID value.
LAST_EVENT_TIME_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the last event time.
LAST_IDENTIFY_ID_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the last identify ID value.
logEvent(String) - Static method in class com.amplitude.api.Amplitude
Deprecated.
logEvent(String, JSONObject) - Static method in class com.amplitude.api.Amplitude
Deprecated.
logEvent(String) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type.
logEvent(String, JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type and event properties.
logEvent(String, JSONObject, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type, event properties, with optional out of session flag.
logEvent(String, JSONObject, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type, event properties, with optional out of session flag.
logEvent(String, JSONObject, JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type, event properties, and groups.
logEvent(String, JSONObject, JSONObject, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event with the specified event type, event properties, groups, with optional out of session flag.
logEvent(String, JSONObject, JSONObject, long, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event with the specified event type, event properties, groups, timestamp, with optional out of session flag.
logEvent(String, JSONObject, JSONObject, long, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 
logEvent(String, JSONObject, JSONObject, JSONObject, JSONObject, JSONObject, long, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event.
logEvent(String, JSONObject, JSONObject, JSONObject, JSONObject, JSONObject, long, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 
logEventAsync(String, JSONObject, JSONObject, JSONObject, JSONObject, JSONObject, long, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event async.
logEventAsync(String, JSONObject, JSONObject, JSONObject, JSONObject, JSONObject, long, boolean, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 
logEventSync(String) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type.
logEventSync(String, JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type and event properties.
logEventSync(String, JSONObject, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type, event properties, with optional out of session flag.
logEventSync(String, JSONObject, JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Log an event with the specified event type, event properties, and groups.
logEventSync(String, JSONObject, JSONObject, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event with the specified event type, event properties, groups, with optional out of session flag.
logEventSync(String, JSONObject, JSONObject, long, boolean) - Method in class com.amplitude.api.AmplitudeClient
Log event with the specified event type, event properties, groups, timestamp, with optional sout of ession flag.
logRevenue(double) - Static method in class com.amplitude.api.Amplitude
Deprecated.
logRevenue(String, int, double) - Static method in class com.amplitude.api.Amplitude
Deprecated.
logRevenue(String, int, double, String, String) - Static method in class com.amplitude.api.Amplitude
Deprecated.
logRevenue(double) - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- use logRevenueV2 instead
logRevenue(String, int, double) - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- use logRevenueV2 instead
logRevenue(String, int, double, String, String) - Method in class com.amplitude.api.AmplitudeClient
 
logRevenue(String, int, double, String, String, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- use logRevenueV2 instead
logRevenueV2(Revenue) - Method in class com.amplitude.api.AmplitudeClient
Log revenue v2.
logRevenueV2(Revenue, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
 

M

makeEventUploadPostRequest(Call.Factory, String, long, long) - Method in class com.amplitude.api.AmplitudeClient
Internal method to generate the event upload post request.
mergeEventsAndIdentifys(List<JSONObject>, List<JSONObject>, long) - Method in class com.amplitude.api.AmplitudeClient
Internal method to merge unsent events and identifies into a single array by sequence number.
Middleware - Interface in com.amplitude.api
 
MiddlewareExtra - Class in com.amplitude.api
 
MiddlewareExtra() - Constructor for class com.amplitude.api.MiddlewareExtra
 
MiddlewareExtra(Map<String, Object>) - Constructor for class com.amplitude.api.MiddlewareExtra
 
MiddlewareNext - Interface in com.amplitude.api
 
MiddlewarePayload - Class in com.amplitude.api
 
MiddlewarePayload(JSONObject, MiddlewareExtra) - Constructor for class com.amplitude.api.MiddlewarePayload
 
MiddlewarePayload(JSONObject) - Constructor for class com.amplitude.api.MiddlewarePayload
 
MiddlewareRunner - Class in com.amplitude.api
 
MiddlewareRunner() - Constructor for class com.amplitude.api.MiddlewareRunner
 

O

onCreate(Bundle) - Method in class com.amplitude.eventexplorer.EventExplorerInfoActivity
 
onDatabaseReset(SQLiteDatabase) - Method in interface com.amplitude.api.DatabaseResetListener
 
onDeviceIdReady(String) - Method in interface com.amplitude.api.AmplitudeDeviceIdCallback
 
onError(String, String) - Method in interface com.amplitude.api.AmplitudeLogCallback
 
onTouch(View, MotionEvent) - Method in class com.amplitude.eventexplorer.EventExplorerTouchHandler
 
OPT_OUT_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the opt out flag.

P

PinnedAmplitudeClient - Class in com.amplitude.api
PinnedAmplitudeClient
PinnedAmplitudeClient(String) - Constructor for class com.amplitude.api.PinnedAmplitudeClient
Instantiates a new Pinned amplitude client.
PinnedAmplitudeClient.SSLContextBuilder - Class in com.amplitude.api
SSl context builder, used to generate the SSL context.
Plan - Class in com.amplitude.api
 
Plan() - Constructor for class com.amplitude.api.Plan
 
platform - Variable in class com.amplitude.api.AmplitudeClient
The device's Platform value.
postInsert(String, boolean) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, double) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, float) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, int) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, long) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, String) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, JSONArray) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, JSONObject) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, boolean[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, double[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, float[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, int[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, long[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
postInsert(String, String[]) - Method in class com.amplitude.api.Identify
Post-insert a value or values to a user property.
preInsert(String, boolean) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, double) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, float) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, int) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, long) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, String) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, JSONArray) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, JSONObject) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, boolean[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, double[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, float[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, int[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, long[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
preInsert(String, String[]) - Method in class com.amplitude.api.Identify
Pre-insert a value or values to a user property.
prepend(String, boolean) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, double) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, float) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, int) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, long) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, String) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, JSONArray) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, JSONObject) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, boolean[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, double[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, float[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, int[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, long[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
prepend(String, String[]) - Method in class com.amplitude.api.Identify
Prepend a value or values to a user property.
PREVIOUS_SESSION_ID_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the previous session ID value.
price - Variable in class com.amplitude.api.Revenue
The Price field (required).
productId - Variable in class com.amplitude.api.Revenue
The Product ID field.
properties - Variable in class com.amplitude.api.Revenue
The Revenue Event Properties field (optional).
provider(P) - Static method in class com.amplitude.util.DoubleCheck
Returns a Provider that caches the value from the given delegate provider.
Provider<T> - Interface in com.amplitude.util
 

Q

quantity - Variable in class com.amplitude.api.Revenue
The Quantity field (defaults to 1).

R

receipt - Variable in class com.amplitude.api.Revenue
The Receipt field (required if you want to verify the revenue event).
receiptSig - Variable in class com.amplitude.api.Revenue
The Receipt Signature field (required if you want to verify the revenue event).
reentrantCheck(Object, Object) - Static method in class com.amplitude.util.DoubleCheck
Checks to see if creating the new instance has resulted in a recursive call.
refresh(ConfigManager.RefreshListener, AmplitudeServerZone) - Method in class com.amplitude.api.ConfigManager
 
regenerateDeviceId() - Method in class com.amplitude.api.AmplitudeClient
Regenerates a new random deviceId for current user.
remove(String, boolean) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, double) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, float) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, int) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, long) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, String) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, JSONArray) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, JSONObject) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, boolean[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, double[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, float[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, int[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, long[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
remove(String, String[]) - Method in class com.amplitude.api.Identify
Remove a value or values to a user property.
replaceWithJSONNull(Object) - Method in class com.amplitude.api.AmplitudeClient
Internal method to replace null event fields with JSON null object.
Revenue - Class in com.amplitude.api
Revenue
Revenue() - Constructor for class com.amplitude.api.Revenue
 
revenueType - Variable in class com.amplitude.api.Revenue
The Revenue Type field (optional).
run(MiddlewarePayload, MiddlewareNext) - Method in interface com.amplitude.api.Middleware
 
run(MiddlewarePayload) - Method in interface com.amplitude.api.MiddlewareNext
 
run(MiddlewarePayload) - Method in class com.amplitude.api.MiddlewareRunner
 
run(MiddlewarePayload, MiddlewareNext) - Method in class com.amplitude.api.MiddlewareRunner
 
runOnLogThread(Runnable) - Method in class com.amplitude.api.AmplitudeClient
 

S

saveEvent(String, JSONObject, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Save event long.
saveEvent(String, JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Save event.
SEQUENCE_NUMBER_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the sequence number.
serverZone - Variable in class com.amplitude.api.PinnedAmplitudeClient.SSLContextBuilder
 
set(String, boolean) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, double) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, float) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, int) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, long) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, String) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, JSONObject) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, JSONArray) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, boolean[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, double[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, float[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, int[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, long[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, String[]) - Method in class com.amplitude.api.Identify
Sets a user property value.
set(String, Object) - Method in class com.amplitude.api.Identify
Deprecated. 
setBearerToken(String) - Method in class com.amplitude.api.AmplitudeClient
Set Bearer Token to be included in request header.
setBranch(String) - Method in class com.amplitude.api.Plan
Set the tracking plan branch information.
setDeviceId(String) - Method in class com.amplitude.api.AmplitudeClient
Sets a custom device id.
setDeviceIdCallback(AmplitudeDeviceIdCallback) - Method in class com.amplitude.api.AmplitudeClient
 
setDiagnosticEventMaxCount(int) - Method in class com.amplitude.api.AmplitudeClient
Deprecated.
- We removed Diagnostics class and this function has no-op. Will completely remove it in the near future.
setEventMaxCount(int) - Method in class com.amplitude.api.AmplitudeClient
Sets event max count.
setEventProperties(JSONObject) - Method in class com.amplitude.api.Revenue
Set event properties for the revenue event, like you would for an event during logEvent.
setEventUploadMaxBatchSize(int) - Method in class com.amplitude.api.AmplitudeClient
Sets event upload max batch size.
setEventUploadPeriodMillis(int) - Method in class com.amplitude.api.AmplitudeClient
Sets event upload period millis.
setEventUploadThreshold(int) - Method in class com.amplitude.api.AmplitudeClient
Sets event upload threshold.
setFlushEventsOnClose(boolean) - Method in class com.amplitude.api.AmplitudeClient
Enable/disable flushing of unsent events on app close (enabled by default).
setGroup(String, Object) - Method in class com.amplitude.api.AmplitudeClient
Sets the user's group(s).
setGroup(String, Object, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Sets the user's group(s).
setIdentifyBatchIntervalMillis(long) - Method in class com.amplitude.api.AmplitudeClient
Sets min time for identify batch millis.
setIngestionMetadata(IngestionMetadata) - Method in class com.amplitude.api.AmplitudeClient
Set ingestion metadata information.
setLibraryName(String) - Method in class com.amplitude.api.AmplitudeClient
Library name is default as `amplitude-android`.
setLibraryVersion(String) - Method in class com.amplitude.api.AmplitudeClient
Library version is default as the latest Amplitude Android SDK version.
setLogCallback(AmplitudeLogCallback) - Method in class com.amplitude.api.AmplitudeClient
Set log callback, it can help read and collect error message from sdk
setLogLevel(int) - Method in class com.amplitude.api.AmplitudeClient
Sets the logging level.
setMinTimeBetweenSessionsMillis(long) - Method in class com.amplitude.api.AmplitudeClient
Sets min time between sessions millis.
setOffline(boolean) - Method in class com.amplitude.api.AmplitudeClient
Sets offline.
setOnce(String, boolean) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, double) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, float) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, int) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, long) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, String) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, JSONArray) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, JSONObject) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, boolean[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, double[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, float[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, int[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, long[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, String[]) - Method in class com.amplitude.api.Identify
Sets a user property value only once.
setOnce(String, Object) - Method in class com.amplitude.api.Identify
Deprecated. 
setOptOut(boolean) - Static method in class com.amplitude.api.Amplitude
Deprecated.
setOptOut(boolean) - Method in class com.amplitude.api.AmplitudeClient
Sets opt out.
setPlan(Plan) - Method in class com.amplitude.api.AmplitudeClient
Set tracking plan information.
setPrice(double) - Method in class com.amplitude.api.Revenue
Set a value for the price.
setProductId(String) - Method in class com.amplitude.api.Revenue
Set a value for the product identifier.
setQuantity(int) - Method in class com.amplitude.api.Revenue
Set a value for the quantity.
setReceipt(String, String) - Method in class com.amplitude.api.Revenue
Set the receipt and receipt signature.
setRevenueProperties(JSONObject) - Method in class com.amplitude.api.Revenue
Deprecated.
- use Revenue.setEventProperties() instead
setRevenueType(String) - Method in class com.amplitude.api.Revenue
Set a value for the revenue type.
setServerUrl(String) - Method in class com.amplitude.api.AmplitudeClient
Sets a custom server url for event upload.
setServerZone(AmplitudeServerZone) - Method in class com.amplitude.api.AmplitudeClient
Set Amplitude Server Zone, switch to zone related configuration, including dynamic configuration and server url.
setServerZone(AmplitudeServerZone, boolean) - Method in class com.amplitude.api.AmplitudeClient
Set Amplitude Server Zone, switch to zone related configuration, including dynamic configuration.
setServerZone(AmplitudeServerZone) - Method in class com.amplitude.api.PinnedAmplitudeClient
 
setSessionTimeoutMillis(long) - Static method in class com.amplitude.api.Amplitude
Deprecated.
setSessionTimeoutMillis(long) - Method in class com.amplitude.api.AmplitudeClient
Sets session timeout millis.
setSource(String) - Method in class com.amplitude.api.Plan
Set the tracking plan source information.
setSourceName(String) - Method in class com.amplitude.api.IngestionMetadata
Set the ingestion metadata source name information.
setSourceVersion(String) - Method in class com.amplitude.api.IngestionMetadata
Set the ingestion metadata source version information.
setTrackingOptions(TrackingOptions) - Method in class com.amplitude.api.AmplitudeClient
 
setUseDynamicConfig(boolean) - Method in class com.amplitude.api.AmplitudeClient
Turning this flag on will find the best server url automatically based on users' geo location.
setUserId(String) - Static method in class com.amplitude.api.Amplitude
Deprecated.
setUserId(String) - Method in class com.amplitude.api.AmplitudeClient
Sets the user id (can be null).
setUserId(String, boolean) - Method in class com.amplitude.api.AmplitudeClient
Sets the user id (can be null).
setUserProperties(JSONObject) - Static method in class com.amplitude.api.Amplitude
Deprecated.
setUserProperties(JSONObject, boolean) - Static method in class com.amplitude.api.Amplitude
Deprecated.
setUserProperties(JSONObject, boolean) - Method in class com.amplitude.api.AmplitudeClient
Deprecated. 
setUserProperties(JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Sets user properties.
setUserProperties(JSONObject, MiddlewareExtra) - Method in class com.amplitude.api.AmplitudeClient
Sets user properties.
setVersion(String) - Method in class com.amplitude.api.Plan
Set the tracking plan version information.
setVersionId(String) - Method in class com.amplitude.api.Plan
Set the tracking plan version Id.
show(Activity) - Method in class com.amplitude.eventexplorer.EventExplorer
 
showEventExplorer(Activity) - Method in class com.amplitude.api.AmplitudeClient
Show Amplitude Event Explorer for the given activity.
SSLContextBuilder() - Constructor for class com.amplitude.api.PinnedAmplitudeClient.SSLContextBuilder
 
SSLContextBuilder(AmplitudeServerZone) - Constructor for class com.amplitude.api.PinnedAmplitudeClient.SSLContextBuilder
 
sslSocketFactory - Variable in class com.amplitude.api.PinnedAmplitudeClient
The SSl socket factory.
START_SESSION_EVENT - Static variable in class com.amplitude.api.AmplitudeClient
The event type for start session events.
startNewSessionIfNeeded(long) - Method in class com.amplitude.api.AmplitudeClient
Public method to start a new session if needed.
startSession() - Static method in class com.amplitude.api.Amplitude
Deprecated.

T

toJSONObject() - Method in class com.amplitude.api.IngestionMetadata
Get JSONObject of current ingestion metadata
toJSONObject() - Method in class com.amplitude.api.Plan
Get JSONObject of current tacking plan
toJSONObject() - Method in class com.amplitude.api.Revenue
Converts Revenue object into a JSONObject to send to Amplitude servers
TrackingOptions - Class in com.amplitude.api
 
TrackingOptions() - Constructor for class com.amplitude.api.TrackingOptions
 
trackSessionEvents(boolean) - Method in class com.amplitude.api.AmplitudeClient
Track session events amplitude client.
truncate(JSONObject) - Method in class com.amplitude.api.AmplitudeClient
Truncate values in a JSON object.
truncate(JSONArray) - Method in class com.amplitude.api.AmplitudeClient
Truncate values in a JSON array.
truncate(String) - Static method in class com.amplitude.api.AmplitudeClient
Truncate a string to 1024 characters.

U

unset(String) - Method in class com.amplitude.api.Identify
Unset and remove a user property.
updateServer() - Method in class com.amplitude.api.AmplitudeClient
Internal method to upload unsent events.
updateServer(boolean) - Method in class com.amplitude.api.AmplitudeClient
Internal method to upload unsent events.
uploadEvents() - Static method in class com.amplitude.api.Amplitude
Deprecated.
uploadEvents() - Method in class com.amplitude.api.AmplitudeClient
Force SDK to upload any unsent events.
useAdvertisingIdForDeviceId() - Static method in class com.amplitude.api.Amplitude
Deprecated.
useAdvertisingIdForDeviceId() - Method in class com.amplitude.api.AmplitudeClient
Whether to use the Android advertising ID (ADID) as the user's device ID.
useAppSetIdForDeviceId() - Method in class com.amplitude.api.AmplitudeClient
Use Android app set id as the user's device ID.
USER_ID_KEY - Static variable in class com.amplitude.api.AmplitudeClient
The pref/database key for the user ID value.
userId - Variable in class com.amplitude.api.AmplitudeClient
The user's ID value.
userProperties - Variable in class com.amplitude.api.Identify
Internal set to keep track of user property keys and test for duplicates.
userPropertiesOperations - Variable in class com.amplitude.api.Identify
Internal JSONObject to hold all of the user property operations.

V

validateLogEvent(String) - Method in class com.amplitude.api.AmplitudeClient
Validate the event type being logged.
valueOf(String) - Static method in enum com.amplitude.api.AmplitudeServerZone
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.amplitude.api.AmplitudeServerZone
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I L M O P Q R S T U V 
Skip navigation links