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

A

add(Middleware) - Method in class com.amplitude.MiddlewareRunner
 
addEventMiddleware(Middleware) - Method in class com.amplitude.Amplitude
Add middleware to the middleware runner
addHeader(String, String) - Method in class com.amplitude.Options
 
adid - Variable in class com.amplitude.Event
(Android) Google Play Services advertising ID
AMP_INGESTION_METADATA_SOURCE_NAME - Static variable in interface com.amplitude.Constants
 
AMP_INGESTION_METADATA_SOURCE_VERSION - Static variable in interface com.amplitude.Constants
 
AMP_PLAN_BRANCH - Static variable in interface com.amplitude.Constants
 
AMP_PLAN_SOURCE - Static variable in interface com.amplitude.Constants
 
AMP_PLAN_VERSION - Static variable in interface com.amplitude.Constants
 
AMP_PLAN_VERSION_ID - Static variable in interface com.amplitude.Constants
 
Amplitude - Class in com.amplitude
 
AmplitudeCallbacks - Class in com.amplitude
AmplitudeCallbacks Class
AmplitudeCallbacks() - Constructor for class com.amplitude.AmplitudeCallbacks
 
AmplitudeException - Exception in com.amplitude.exception
 
AmplitudeException(String) - Constructor for exception com.amplitude.exception.AmplitudeException
 
AmplitudeInvalidAPIKeyException - Exception in com.amplitude.exception
 
AmplitudeInvalidAPIKeyException() - Constructor for exception com.amplitude.exception.AmplitudeInvalidAPIKeyException
 
AmplitudeLog - Class in com.amplitude
 
AmplitudeLog() - Constructor for class com.amplitude.AmplitudeLog
 
AmplitudeLog.LogMode - Enum in com.amplitude
 
androidId - Variable in class com.amplitude.Event
(Android) Android ID (not the advertising ID)
API_URL - Static variable in interface com.amplitude.Constants
 
appVersion - Variable in class com.amplitude.Event
The current version of your application.

B

BATCH_API_URL - Static variable in interface com.amplitude.Constants
 

C

callback - Variable in class com.amplitude.Event
Callback for Event
carrier - Variable in class com.amplitude.Event
The carrier that the user is using.
city - Variable in class com.amplitude.Event
The current city of the user.
code - Variable in class com.amplitude.Response
 
collectInvalidEventIndices() - Method in class com.amplitude.Response
 
com.amplitude - package com.amplitude
 
com.amplitude.exception - package com.amplitude.exception
 
Constants - Interface in com.amplitude
 
convertJSONArrayToIntArray(JSONObject, String) - Static method in class com.amplitude.Utils
 
country - Variable in class com.amplitude.Event
The current country of the user.

D

debug(String, String) - Method in class com.amplitude.AmplitudeLog
 
deviceBrand - Variable in class com.amplitude.Event
The device brand that the user is using.
deviceId - Variable in class com.amplitude.Event
A device-specific identifier, such as the Identifier for Vendor on iOS.
deviceManufacturer - Variable in class com.amplitude.Event
The device manufacturer that the user is using.
deviceModel - Variable in class com.amplitude.Event
The device model that the user is using.
dma - Variable in class com.amplitude.Event
The current Designated Market Area of the user.

E

error(String, String) - Method in class com.amplitude.AmplitudeLog
 
error - Variable in class com.amplitude.Response
 
Event - Class in com.amplitude
 
Event(String, String) - Constructor for class com.amplitude.Event
Create a new event with the required items.
Event(String, String, String) - Constructor for class com.amplitude.Event
Create a new event with the required items.
event - Variable in class com.amplitude.MiddlewarePayload
 
EVENT_BUF_COUNT - Static variable in interface com.amplitude.Constants
 
EVENT_BUF_TIME_MILLIS - Static variable in interface com.amplitude.Constants
 
eventId - Variable in class com.amplitude.Event
An incrementing counter to distinguish events with the same user_id and timestamp from each other.
eventProperties - Variable in class com.amplitude.Event
A dictionary of key-value pairs that represent additional data to be sent along with the event.
eventType - Variable in class com.amplitude.Event
A unique identifier for your event.
extra - Variable in class com.amplitude.MiddlewarePayload
 

F

flushEvents() - Method in class com.amplitude.Amplitude
Forces events currently in the event buffer to be sent to Amplitude API endpoint.

G

getApiUrl() - Method in class com.amplitude.HttpCall
 
getCodeStatus(int) - Static method in enum com.amplitude.Status
 
getInstance() - Static method in class com.amplitude.Amplitude
Return the default class instance of Amplitude that is associated with "" or no string (null).
getInstance(String) - Static method in class com.amplitude.Amplitude
Return the class instance of Amplitude that is associated with this name
getJSONObjectValueWithKey(JSONObject, String) - Static method in class com.amplitude.Utils
 
getLogLevel() - Method in enum com.amplitude.AmplitudeLog.LogMode
 
getLogMode() - Method in class com.amplitude.AmplitudeLog
 
getStackTrace(Exception) - Static method in class com.amplitude.Utils
 
getStringValueWithKey(JSONObject, String) - Static method in class com.amplitude.Utils
 
groupProperties - Variable in class com.amplitude.Event
This feature is only available to Enterprise customers who have purchased the Accounts add-on.
groups - Variable in class com.amplitude.Event
This feature is only available to Enterprise customers who have purchased the Accounts add-on.

H

headers - Variable in class com.amplitude.Options
 
HTTP_STATUS_BAD_REQ - Static variable in interface com.amplitude.Constants
 
HttpCall - Class in com.amplitude
 
HttpCall(String, String) - Constructor for class com.amplitude.HttpCall
 
HttpCall(String, String, Options, Proxy) - Constructor for class com.amplitude.HttpCall
 
HttpCallMode - Enum in com.amplitude
 

I

idfa - Variable in class com.amplitude.Event
(iOS) Identifier for Advertiser.
idfv - Variable in class com.amplitude.Event
(iOS) Identifier for Vendor.
ingestionMetadata - Variable in class com.amplitude.Event
The ingestion metadata.
IngestionMetadata - Class in com.amplitude
 
IngestionMetadata() - Constructor for class com.amplitude.IngestionMetadata
 
init(String) - Method in class com.amplitude.Amplitude
Set the API key for this instance of Amplitude.
insertId - Variable in class com.amplitude.Event
A unique identifier for the event.
invalidRequestBody - Variable in class com.amplitude.Response
 
ip - Variable in class com.amplitude.Event
The IP address of the user.
isEmptyString(String) - Static method in class com.amplitude.Utils
 
isUserOrDeviceExceedQuote(String, String) - Method in class com.amplitude.Response
 

J

jsonArrayToIntArray(JSONArray) - Static method in class com.amplitude.Utils
 

L

language - Variable in class com.amplitude.Event
The (human) language set by the user.
locationLat - Variable in class com.amplitude.Event
The current Latitude of the user.
locationLng - Variable in class com.amplitude.Event
The current Longitude of the user.
log(String, String, AmplitudeLog.LogMode) - Method in class com.amplitude.AmplitudeLog
 
logEvent(Event) - Method in class com.amplitude.Amplitude
Log an event to the Amplitude HTTP V2 API through the Java SDK
logEvent(Event, MiddlewareExtra) - Method in class com.amplitude.Amplitude
Log an event to the Amplitude HTTP V2 API through the Java SDK
logEvent(Event, AmplitudeCallbacks) - Method in class com.amplitude.Amplitude
Log an event and set a callback for this event.
logEvent(Event, AmplitudeCallbacks, MiddlewareExtra) - Method in class com.amplitude.Amplitude
Log an event and set a callback for this event.

M

makeRequest(List<Event>) - Method in class com.amplitude.HttpCall
 
MAX_CACHED_EVENTS - Static variable in interface com.amplitude.Constants
 
MAX_PROPERTY_KEYS - Static variable in interface com.amplitude.Constants
 
MAX_STRING_LENGTH - Static variable in interface com.amplitude.Constants
 
Middleware - Interface in com.amplitude
 
MiddlewareExtra - Class in com.amplitude
 
MiddlewareExtra() - Constructor for class com.amplitude.MiddlewareExtra
 
MiddlewareExtra(Map<String, Object>) - Constructor for class com.amplitude.MiddlewareExtra
 
MiddlewareNext - Interface in com.amplitude
 
MiddlewarePayload - Class in com.amplitude
 
MiddlewarePayload(Event, MiddlewareExtra) - Constructor for class com.amplitude.MiddlewarePayload
 
MiddlewarePayload(Event) - Constructor for class com.amplitude.MiddlewarePayload
 
MiddlewareRunner - Class in com.amplitude
 
MiddlewareRunner() - Constructor for class com.amplitude.MiddlewareRunner
 
minIdLength - Variable in class com.amplitude.Options
Minimum length for user ID or device ID value.

N

NETWORK_TIMEOUT_MILLIS - Static variable in interface com.amplitude.Constants
 

O

onLogEventServerResponse(Event, int, String) - Method in class com.amplitude.AmplitudeCallbacks
Triggered when event is sent or failed
Options - Class in com.amplitude
 
Options() - Constructor for class com.amplitude.Options
 
osName - Variable in class com.amplitude.Event
The name of the mobile operating system or browser that the user is using.
osVersion - Variable in class com.amplitude.Event
The version of the mobile operating system or browser the user is using.

P

partnerId - Variable in class com.amplitude.Event
The partner id of event
plan - Variable in class com.amplitude.Event
The tracking plan.
Plan - Class in com.amplitude
 
Plan() - Constructor for class com.amplitude.Plan
 
platform - Variable in class com.amplitude.Event
Platform of the device.
populateResponse(JSONObject) - Static method in class com.amplitude.Response
 
price - Variable in class com.amplitude.Event
The price of the item purchased.
productId - Variable in class com.amplitude.Event
An identifier for the item purchased.

Q

quantity - Variable in class com.amplitude.Event
The quantity of the item purchased.

R

rateLimitBody - Variable in class com.amplitude.Response
 
region - Variable in class com.amplitude.Event
The current region of the user.
replaceWithJSONNull(Object) - Method in class com.amplitude.Event
internal method
Response - Class in com.amplitude
 
Response() - Constructor for class com.amplitude.Response
 
RETRY_TIMEOUTS - Static variable in interface com.amplitude.Constants
 
revenue - Variable in class com.amplitude.Event
revenue = price * quantity.
revenueType - Variable in class com.amplitude.Event
The type of revenue for the item purchased.
run(MiddlewarePayload, MiddlewareNext) - Method in interface com.amplitude.Middleware
 
run(MiddlewarePayload) - Method in interface com.amplitude.MiddlewareNext
 
run(MiddlewarePayload) - Method in class com.amplitude.MiddlewareRunner
 
run(MiddlewarePayload, MiddlewareNext) - Method in class com.amplitude.MiddlewareRunner
 

S

SDK_LIBRARY - Static variable in interface com.amplitude.Constants
 
SDK_VERSION - Static variable in interface com.amplitude.Constants
 
sessionId - Variable in class com.amplitude.Event
The start time of the session in milliseconds since epoch (Unix Timestamp), necessary if you want to associate events with a particular system.
setBranch(String) - Method in class com.amplitude.Plan
Set the tracking plan branch information.
setCallbacks(AmplitudeCallbacks) - Method in class com.amplitude.Amplitude
Set event callback which are triggered after event sent
setEventUploadPeriodMillis(int) - Method in class com.amplitude.Amplitude
Sets event upload period millis.
setEventUploadThreshold(int) - Method in class com.amplitude.Amplitude
Sets event upload threshold.
setFlushTimeout(long) - Method in class com.amplitude.Amplitude
Set flush events threads execution timeout in milliseconds
setHeaders(Map<String, String>) - Method in class com.amplitude.Options
 
setIngestionMetadata(IngestionMetadata) - Method in class com.amplitude.Amplitude
Set ingestion metadata information.
setLogger(AmplitudeLog) - Method in class com.amplitude.Amplitude
Set custom logger instance for amplitude client
setLogMode(AmplitudeLog.LogMode) - Method in class com.amplitude.Amplitude
Set the level at which to filter out debug messages from the Java SDK.
setLogMode(AmplitudeLog.LogMode) - Method in class com.amplitude.AmplitudeLog
 
setMinIdLength(Integer) - Method in class com.amplitude.Options
 
setOptions(Options) - Method in class com.amplitude.Amplitude
 
setPlan(Plan) - Method in class com.amplitude.Amplitude
Set tracking plan information.
setProxy(Proxy) - Method in class com.amplitude.Amplitude
Set custom proxy for https requests
setRecordThrottledId(boolean) - Method in class com.amplitude.Amplitude
Config whether the client record the recent throttled userId/deviceId and make suggestion base on it.
setServerUrl(String) - Method in class com.amplitude.Amplitude
Sends events to a different URL other than Constants.API_URL or Constants.BATCH_API_URL.
setSource(String) - Method in class com.amplitude.Plan
Set the tracking plan source information.
setSourceName(String) - Method in class com.amplitude.IngestionMetadata
Set the ingestion metadata source name information.
setSourceVersion(String) - Method in class com.amplitude.IngestionMetadata
Set the ingestion metadata source version information.
setVersion(String) - Method in class com.amplitude.Plan
Set the tracking plan version information.
setVersionId(String) - Method in class com.amplitude.Plan
Set the tracking plan version Id.
shouldWait(Event) - Method in class com.amplitude.Amplitude
Check the status of the client, return true if any of the following situation: 1.
shutdown() - Method in class com.amplitude.Amplitude
Release resource by: Shutdown threadspool for executing flush events task.
status - Variable in class com.amplitude.Response
 
Status - Enum in com.amplitude
 
successBody - Variable in class com.amplitude.Response
 

T

timestamp - Variable in class com.amplitude.Event
The timestamp of the event in milliseconds since epoch.
toJsonObject() - Method in class com.amplitude.Event
 
toJSONObject() - Method in class com.amplitude.IngestionMetadata
Get JSONObject of current ingestion metadata
toJsonObject() - Method in class com.amplitude.Options
 
toJSONObject() - Method in class com.amplitude.Plan
Get JSONObject of current tacking plan
toString() - Method in class com.amplitude.Event
 
toString() - Method in class com.amplitude.Response
 
truncate(JSONObject) - Method in class com.amplitude.Event
 
truncate(JSONArray) - Method in class com.amplitude.Event
 
truncate(String) - Method in class com.amplitude.Event
 

U

useBatchMode(Boolean) - Method in class com.amplitude.Amplitude
Set the Event Upload Mode.
userId - Variable in class com.amplitude.Event
A readable ID specified by you.
userProperties - Variable in class com.amplitude.Event
A dictionary of key-value pairs that represent additional data tied to the user.
Utils - Class in com.amplitude
 
Utils() - Constructor for class com.amplitude.Utils
 

V

valueOf(String) - Static method in enum com.amplitude.AmplitudeLog.LogMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.amplitude.HttpCallMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.amplitude.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.amplitude.AmplitudeLog.LogMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.amplitude.HttpCallMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.amplitude.Status
Returns an array containing the constants of this enum type, in the order they are declared.
versionName - Variable in class com.amplitude.Event
Legacy SDK API, only for use with older API.

W

warn(String, String) - Method in class com.amplitude.AmplitudeLog
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links