- add(byte[]) - Method in class com.segment.analytics.QueueFile
-
Adds an element to the end of the queue.
- add(byte[], int, int) - Method in class com.segment.analytics.QueueFile
-
Adds an element to the end of the queue.
- address() - Method in class com.segment.analytics.Traits
-
- Address() - Constructor for class com.segment.analytics.Traits.Address
-
- Address(Map<String, Object>) - Constructor for class com.segment.analytics.Traits.Address
-
- age() - Method in class com.segment.analytics.Traits
-
- alias(String) - Method in class com.segment.analytics.Analytics
-
- alias(String, Options) - Method in class com.segment.analytics.Analytics
-
The alias method is used to merge two user identities, effectively connecting two sets of user
data as one.
- alias(AliasPayload) - Method in class com.segment.analytics.integrations.Integration
-
- AliasPayload - Class in com.segment.analytics.integrations
-
- AliasPayload.Builder - Class in com.segment.analytics.integrations
-
- ALL_INTEGRATIONS_KEY - Static variable in class com.segment.analytics.Options
-
A special key, whose value which is respected for all integrations, a "default" value, unless
explicitly overridden.
- Analytics - Class in com.segment.analytics
-
The entry point into the Segment for Android SDK.
- Analytics.Builder - Class in com.segment.analytics
-
- Analytics.BundledIntegration - Enum in com.segment.analytics
-
Deprecated.
- Analytics.Callback<T> - Interface in com.segment.analytics
-
A callback interface that is invoked when the Analytics client initializes bundled
integrations.
- Analytics.LogLevel - Enum in com.segment.analytics
-
Controls the level of logging.
- AnalyticsContext - Class in com.segment.analytics
-
Context is a dictionary of free-form information about the state of the device.
- AnalyticsContext.Campaign - Class in com.segment.analytics
-
Information about the campaign that resulted in the API call, containing name, source, medium,
term and content.
- AnalyticsContext.Device - Class in com.segment.analytics
-
Information about the device.
- AnalyticsContext.Location - Class in com.segment.analytics
-
Information about the location of the device.
- AnalyticsContext.Referrer - Class in com.segment.analytics
-
Information about the referrer that resulted in the API call.
- AnalyticsNetworkExecutorService() - Constructor for class com.segment.analytics.internal.Utils.AnalyticsNetworkExecutorService
-
- AnalyticsThreadFactory() - Constructor for class com.segment.analytics.internal.Utils.AnalyticsThreadFactory
-
- anonymousId() - Method in class com.segment.analytics.integrations.BasePayload
-
The anonymous ID is an identifier that uniquely (or close enough) identifies the user, but
isn't from your database.
- anonymousId(String) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
The Anonymous ID is a pseudo-unique substitute for a User ID, for cases when you don't have
an absolutely unique identifier.
- anonymousId() - Method in class com.segment.analytics.Traits
-
- assertNotNull(T, String) - Static method in class com.segment.analytics.internal.Utils
-
Throws a NullPointerException
if the given object is null.
- assertNotNullOrEmpty(String, String) - Static method in class com.segment.analytics.internal.Utils
-
Throws a NullPointerException
if the given text is null or empty.
- assertNotNullOrEmpty(Map<K, V>, String) - Static method in class com.segment.analytics.internal.Utils
-
Throws a NullPointerException
if the given map is null or empty.
- attribution(String) - Method in class com.segment.analytics.ConnectionFactory
-
Return a HttpURLConnection
that writes gets attribution information from https://mobile-service.segment.com/attribution
.
- avatar() - Method in class com.segment.analytics.Traits
-
- campaign() - Method in class com.segment.analytics.AnalyticsContext
-
- Campaign() - Constructor for class com.segment.analytics.AnalyticsContext.Campaign
-
- Cartographer - Class in com.segment.analytics
-
Cartographer creates Map
objects from JSON encoded streams and decodes Map
objects into JSON streams.
- Cartographer.Builder - Class in com.segment.analytics
-
- category(String) - Method in class com.segment.analytics.integrations.ScreenPayload.Builder
-
Deprecated.
- category() - Method in class com.segment.analytics.integrations.ScreenPayload
-
Deprecated.
- category() - Method in class com.segment.analytics.Properties
-
- city() - Method in class com.segment.analytics.Traits.Address
-
- clear() - Method in class com.segment.analytics.QueueFile
-
Clears this queue.
- clear() - Method in class com.segment.analytics.ValueMap
-
- close() - Method in class com.segment.analytics.QueueFile
-
Closes the underlying file.
- closeQuietly(Closeable) - Static method in class com.segment.analytics.internal.Utils
-
Close the given Closeable
.
- coerceToFloat(Object, float) - Static method in class com.segment.analytics.internal.Utils
-
Returns the float representation at value
if it exists and is a float or can be coerced
to a float.
- collectDeviceId(boolean) - Method in class com.segment.analytics.Analytics.Builder
-
Enable or disable collection of Settings.Secure.ANDROID_ID
, Build.SERIAL
or the Telephony Identifier retrieved via TelephonyManager as
available.
- com.segment.analytics - package com.segment.analytics
-
- com.segment.analytics.integrations - package com.segment.analytics.integrations
-
- com.segment.analytics.internal - package com.segment.analytics.internal
-
- connectionFactory(ConnectionFactory) - Method in class com.segment.analytics.Analytics.Builder
-
Specify the connection factory for customizing how connections are created.
- ConnectionFactory - Class in com.segment.analytics
-
Abstraction to customize how connections are created.
- ConnectionFactory() - Constructor for class com.segment.analytics.ConnectionFactory
-
- containsKey(Object) - Method in class com.segment.analytics.ValueMap
-
- containsValue(Object) - Method in class com.segment.analytics.ValueMap
-
- content() - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
- context(Map<String, ?>) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
Set a map of information about the state of the device.
- context() - Method in class com.segment.analytics.integrations.BasePayload
-
The context is a dictionary of extra information that provides useful context about a message,
for example ip address or locale.
- context() - Method in class com.segment.analytics.Options
-
Returns a copy of the context.
- copySharedPreferences(SharedPreferences, SharedPreferences) - Static method in class com.segment.analytics.internal.Utils
-
Copies all the values from src
to target
.
- country() - Method in class com.segment.analytics.Traits.Address
-
- coupon() - Method in class com.segment.analytics.Properties
-
- create(ValueMap, Analytics) - Method in interface com.segment.analytics.integrations.Integration.Factory
-
Attempts to create an adapter for with settings
.
- createdAt() - Method in class com.segment.analytics.Traits
-
- createDirectory(File) - Static method in class com.segment.analytics.internal.Utils
-
Ensures that a directory is created in the given location, throws an IOException otherwise.
- createMap() - Static method in class com.segment.analytics.internal.Utils
-
- crypto(Crypto) - Method in class com.segment.analytics.Analytics.Builder
-
Specify the crypto interface for customizing how data is stored at rest.
- Crypto - Class in com.segment.analytics
-
- Crypto() - Constructor for class com.segment.analytics.Crypto
-
- currency() - Method in class com.segment.analytics.Properties
-
- currentId() - Method in class com.segment.analytics.Traits
-
Returns the currentId the user is identified with.
- gender() - Method in class com.segment.analytics.Traits
-
- get() - Method in class com.segment.analytics.BooleanPreference
-
- get(Object) - Method in class com.segment.analytics.ValueMap
-
- getAnalyticsContext() - Method in class com.segment.analytics.Analytics
-
- getApplication() - Method in class com.segment.analytics.Analytics
-
Return the Application
used to create this instance.
- getBoolean(String, boolean) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a boolean or can be coerced to a
boolean.
- getChar(String, char) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a char or can be coerced to a char.
- getDeviceId(Context) - Static method in class com.segment.analytics.internal.Utils
-
Creates a unique device id.
- getDouble(String, double) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a double or can be coerced to a
double.
- getEnum(Class<T>, String) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a enum or can be coerced to an
enum.
- getFloat(String, float) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a float or can be coerced to a
float.
- getInputStream(HttpURLConnection) - Static method in class com.segment.analytics.internal.Utils
-
- getInt(String, int) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a integer or can be coerced to a
integer.
- getList(Object, Class<T>) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a List of T
.
- getLogger() - Method in class com.segment.analytics.Analytics
-
- getLogLevel() - Method in class com.segment.analytics.Analytics
-
- getLong(String, long) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a long or can be coerced to a long.
- getResourceString(Context, String) - Static method in class com.segment.analytics.internal.Utils
-
Get the string resource for the given key.
- getSegmentSharedPreferences(Context, String) - Static method in class com.segment.analytics.internal.Utils
-
Returns a shared preferences for storing any library preferences.
- getSnapshot() - Method in class com.segment.analytics.Analytics
-
- getString(String) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and is a string or can be coerced to a
string.
- getSystemService(Context, String) - Static method in class com.segment.analytics.internal.Utils
-
Returns the system service for the given string.
- getUnderlyingInstance() - Method in class com.segment.analytics.integrations.Integration
-
The underlying instance for this provider - used for integration specific actions.
- getValueMap(Object) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by
key
if it exists and is a
ValueMap
.
- getValueMap(String, Class<T>) - Method in class com.segment.analytics.ValueMap
-
Returns the value mapped by key
if it exists and if it can be coerced to the given
type.
- group(String) - Method in class com.segment.analytics.Analytics
-
- group(String, Traits) - Method in class com.segment.analytics.Analytics
-
- group(String, Traits, Options) - Method in class com.segment.analytics.Analytics
-
The group method lets you associate a user with a group.
- group(GroupPayload) - Method in class com.segment.analytics.integrations.Integration
-
- groupId(String) - Method in class com.segment.analytics.integrations.GroupPayload.Builder
-
- groupId() - Method in class com.segment.analytics.integrations.GroupPayload
-
A unique identifier that refers to the group in your database.
- GroupPayload - Class in com.segment.analytics.integrations
-
- GroupPayload(String, Date, Map<String, Object>, Map<String, Object>, String, String, String, Map<String, Object>) - Constructor for class com.segment.analytics.integrations.GroupPayload
-
- GroupPayload.Builder - Class in com.segment.analytics.integrations
-
- id() - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
- id() - Method in class com.segment.analytics.Properties.Product
-
- identify(String) - Method in class com.segment.analytics.Analytics
-
- identify(Traits) - Method in class com.segment.analytics.Analytics
-
- identify(String, Traits, Options) - Method in class com.segment.analytics.Analytics
-
Identify lets you tie one of your users and their actions to a recognizable userId
.
- identify(IdentifyPayload) - Method in class com.segment.analytics.integrations.Integration
-
- IdentifyPayload - Class in com.segment.analytics.integrations
-
- IdentifyPayload.Builder - Class in com.segment.analytics.integrations
-
- immutableCopyOf(Map<K, V>) - Static method in class com.segment.analytics.internal.Utils
-
Returns an immutable copy of the provided map.
- immutableCopyOf(List<T>) - Static method in class com.segment.analytics.internal.Utils
-
Returns an immutable copy of the provided list.
- industry() - Method in class com.segment.analytics.Traits
-
- info(String, Object...) - Method in class com.segment.analytics.integrations.Logger
-
Log an info message.
- integration(String, boolean) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
Set whether this message is sent to the specified integration or not.
- integration(String, Map<String, Object>) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
Pass in some options that will only be used by the target integration.
- Integration<T> - Class in com.segment.analytics.integrations
-
Converts Segment messages to a format a bundled integration understands, and calls those methods.
- Integration() - Constructor for class com.segment.analytics.integrations.Integration
-
- Integration.Factory - Interface in com.segment.analytics.integrations
-
- integrationOperationAverageDuration - Variable in class com.segment.analytics.StatsSnapshot
-
Average time to run operations on all bundled integrations, including lifecycle events and
flushes.
- integrationOperationCount - Variable in class com.segment.analytics.StatsSnapshot
-
Number of operations sent to all bundled integrations, including lifecycle events and flushes.
- integrationOperationDuration - Variable in class com.segment.analytics.StatsSnapshot
-
Total time to run operations on all bundled integrations, including lifecycle events and
flushes.
- integrationOperationDurationByIntegration - Variable in class com.segment.analytics.StatsSnapshot
-
Total time to run operations, including lifecycle events and flushes, by integration.
- integrations(Map<String, ?>) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
Specify a dictionary of options for integrations.
- integrations() - Method in class com.segment.analytics.integrations.BasePayload
-
A dictionary of integration names that the message should be proxied to.
- integrations() - Method in class com.segment.analytics.Options
-
Returns a copy of settings for integrations.
- intercept(Middleware.Chain) - Method in interface com.segment.analytics.Middleware
-
Called for every message.
- isConnected(Context) - Static method in class com.segment.analytics.internal.Utils
-
Returns true
if the phone is connected to a network, or if we don't have the enough
permissions.
- isEmpty() - Method in class com.segment.analytics.QueueFile
-
Returns true if this queue contains no entries.
- isEmpty() - Method in class com.segment.analytics.ValueMap
-
- isNullOrEmpty(CharSequence) - Static method in class com.segment.analytics.internal.Utils
-
Returns true if the string is null, or empty (once trimmed).
- isNullOrEmpty(Collection) - Static method in class com.segment.analytics.internal.Utils
-
Returns true if the collection is null or has a size of 0.
- isNullOrEmpty(T[]) - Static method in class com.segment.analytics.internal.Utils
-
Returns true if the array is null or has a size of 0.
- isNullOrEmpty(Map) - Static method in class com.segment.analytics.internal.Utils
-
Returns true if the map is null or empty, false otherwise.
- isOnClassPath(String) - Static method in class com.segment.analytics.internal.Utils
-
Return true
if a class with the given name is found.
- isRepeatCustomer() - Method in class com.segment.analytics.Properties
-
- parseISO8601Date(String) - Static method in class com.segment.analytics.internal.Utils
-
Parse a date from ISO-8601 formatted string.
- path() - Method in class com.segment.analytics.Properties
-
- payload() - Method in interface com.segment.analytics.Middleware.Chain
-
- peek() - Method in class com.segment.analytics.QueueFile
-
Reads the eldest element.
- phone() - Method in class com.segment.analytics.Traits
-
- postalCode() - Method in class com.segment.analytics.Traits.Address
-
- prettyPrint(boolean) - Method in class com.segment.analytics.Cartographer.Builder
-
Configures Cartographer to output Json that fits in a page for pretty printing.
- previousId(String) - Method in class com.segment.analytics.integrations.AliasPayload.Builder
-
- previousId() - Method in class com.segment.analytics.integrations.AliasPayload
-
The previous ID for the user that you want to alias from, that you previously called identify
with as their user ID, or the anonymous ID if you haven't identified the user yet.
- price() - Method in class com.segment.analytics.Properties
-
- price() - Method in class com.segment.analytics.Properties.Product
-
- Private - Annotation Type in com.segment.analytics.internal
-
Indicates that the given field or method has package visibility solely to prevent the creation of
a synthetic method.
- proceed(BasePayload) - Method in interface com.segment.analytics.Middleware.Chain
-
- Product(String, String, double) - Constructor for class com.segment.analytics.Properties.Product
-
Create an e-commerce product with the given id, sku and price (in dollars).
- productId() - Method in class com.segment.analytics.Properties
-
- products(Properties.Product...) - Method in class com.segment.analytics.Properties
-
- products() - Method in class com.segment.analytics.Properties
-
- projectSettings(String) - Method in class com.segment.analytics.ConnectionFactory
-
Return a HttpURLConnection
that reads JSON formatted project settings.
- properties(Map<String, ?>) - Method in class com.segment.analytics.integrations.ScreenPayload.Builder
-
- properties() - Method in class com.segment.analytics.integrations.ScreenPayload
-
The page and screen methods also take a properties dictionary, just like track.
- properties(Map<String, ?>) - Method in class com.segment.analytics.integrations.TrackPayload.Builder
-
- properties() - Method in class com.segment.analytics.integrations.TrackPayload
-
A dictionary of properties that give more information about the event.
- Properties - Class in com.segment.analytics
-
Properties are a dictionary of free-form information to attach to specific events.
- Properties() - Constructor for class com.segment.analytics.Properties
-
- Properties(int) - Constructor for class com.segment.analytics.Properties
-
- Properties.Product - Class in com.segment.analytics
-
A representation of an e-commerce product.
- put(K, V) - Method in class com.segment.analytics.internal.Utils.NullableConcurrentHashMap
-
- put(String, Object) - Method in class com.segment.analytics.ValueMap
-
- putAddress(Traits.Address) - Method in class com.segment.analytics.Traits
-
Set an address for the user or group.
- putAge(int) - Method in class com.segment.analytics.Traits
-
Set the age of a user.
- putAll(Map<? extends K, ? extends V>) - Method in class com.segment.analytics.internal.Utils.NullableConcurrentHashMap
-
- putAll(Map<? extends String, ?>) - Method in class com.segment.analytics.ValueMap
-
- putAvatar(String) - Method in class com.segment.analytics.Traits
-
Set a URL to an avatar image for the user or group.
- putBirthday(Date) - Method in class com.segment.analytics.Traits
-
Set the user's birthday.
- putCampaign(AnalyticsContext.Campaign) - Method in class com.segment.analytics.AnalyticsContext
-
Set information about the campaign that resulted in the API call.
- putCategory(String) - Method in class com.segment.analytics.Properties
-
Set a category for this action.
- putCity(String) - Method in class com.segment.analytics.Traits.Address
-
- putContent(String) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
Set the UTM campaign content.
- putContext(String, Object) - Method in class com.segment.analytics.Options
-
Attach some additional context information.
- putCountry(String) - Method in class com.segment.analytics.Traits.Address
-
- putCoupon(String) - Method in class com.segment.analytics.Properties
-
Set a coupon name for an order associated with an event.
- putCreatedAt(String) - Method in class com.segment.analytics.Traits
-
Set the date the user's or group's account was first created.
- putCurrency(String) - Method in class com.segment.analytics.Properties
-
- putDescription(String) - Method in class com.segment.analytics.Traits
-
Set a description of the user or group, like a personal bio.
- putDeviceToken(String) - Method in class com.segment.analytics.AnalyticsContext.Device
-
Set a device token.
- putDeviceToken(String) - Method in class com.segment.analytics.AnalyticsContext
-
Set a device token.
- putDiscount(double) - Method in class com.segment.analytics.Properties
-
Set the discount amount (in dollars) for an order associated with an event.
- putEmail(String) - Method in class com.segment.analytics.Traits
-
Set the email address of a user or group.
- putEmployees(long) - Method in class com.segment.analytics.Traits
-
Set the number of employees of a group, typically used for companies.
- putFax(String) - Method in class com.segment.analytics.Traits
-
Set the fax number of a user or group.
- putFirstName(String) - Method in class com.segment.analytics.Traits
-
Set the first name of a user.
- putGender(String) - Method in class com.segment.analytics.Traits
-
Set the gender of a user.
- putId(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
Set the referrer ID.
- putIndustry(String) - Method in class com.segment.analytics.Traits
-
Set the industry the user works in, or a group is part of.
- putLastName(String) - Method in class com.segment.analytics.Traits
-
Set the last name of a user.
- putLatitude(double) - Method in class com.segment.analytics.AnalyticsContext.Location
-
Set the latitude for the location of the device.
- putLink(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
Set the referrer link.
- putLocation(AnalyticsContext.Location) - Method in class com.segment.analytics.AnalyticsContext
-
Set location information about the device.
- putLongitude(double) - Method in class com.segment.analytics.AnalyticsContext.Location
-
Set the longitude for the location of the device.
- putMedium(String) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
Set the UTM campaign medium.
- putName(String) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
Set the UTM campaign name.
- putName(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
Set the referrer name.
- putName(String) - Method in class com.segment.analytics.Properties.Product
-
Set an optional name for this product.
- putName(String) - Method in class com.segment.analytics.Properties
-
Set the name of the product associated with an event.
- putName(String) - Method in class com.segment.analytics.Traits
-
Set the name of a user or group.
- putOrderId(String) - Method in class com.segment.analytics.Properties
-
Set the order ID associated with an event.
- putPath(String) - Method in class com.segment.analytics.Properties
-
Set a path (usually the path of the URL) for the screen.
- putPhone(String) - Method in class com.segment.analytics.Traits
-
Set the phone number of a user or group.
- putPostalCode(String) - Method in class com.segment.analytics.Traits.Address
-
- putPrice(double) - Method in class com.segment.analytics.Properties
-
Set a price (in dollars) for the product associated with an event.
- putProductId(String) - Method in class com.segment.analytics.Properties
-
Set an ID for the product associated with an event.
- putProducts(Properties.Product...) - Method in class com.segment.analytics.Properties
-
Set the individual products for an order associated with an event.
- putReferrer(AnalyticsContext.Referrer) - Method in class com.segment.analytics.AnalyticsContext
-
Set the referrer for this session.
- putReferrer(String) - Method in class com.segment.analytics.Properties
-
Set the referrer that led the user to the screen.
- putRepeatCustomer(boolean) - Method in class com.segment.analytics.Properties
-
Set whether an order associated with an event is from a repeating customer.
- putRevenue(double) - Method in class com.segment.analytics.Properties
-
Set the amount of revenue an event resulted in.
- putShipping(double) - Method in class com.segment.analytics.Properties
-
Set the shipping amount (in dollars) for an order associated with an event.
- putSku(String) - Method in class com.segment.analytics.Properties
-
Set a sku for the product associated with an event.
- putSource(String) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
Set the UTM campaign source.
- putSpeed(double) - Method in class com.segment.analytics.AnalyticsContext.Location
-
Set the speed of the device.
- putState(String) - Method in class com.segment.analytics.Traits.Address
-
- putStreet(String) - Method in class com.segment.analytics.Traits.Address
-
- putSubtotal(double) - Method in class com.segment.analytics.Properties
-
Set the subtotal (in dollars) for an order associated with an event (excluding tax and
shipping).
- putSubtotal() - Method in class com.segment.analytics.Properties
-
- putTax(double) - Method in class com.segment.analytics.Properties
-
Set the tax amount (in dollars) for an order associated with an event.
- putTerm(String) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
Set the UTM campaign term.
- putTerm(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
- putTitle(String) - Method in class com.segment.analytics.Properties
-
Set the title of the screen.
- putTitle(String) - Method in class com.segment.analytics.Traits
-
Set the title of a user, usually related to their position at a specific company, for example
"VP of Engineering"
- putTotal(double) - Method in class com.segment.analytics.Properties
-
Set the total amount (in dollars) for an order associated with an event.
- putType(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
Set the referrer type.
- putUrl(String) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
Set the referrer url.
- putUrl(String) - Method in class com.segment.analytics.Properties
-
Set a url for the screen.
- putUsername(String) - Method in class com.segment.analytics.Traits
-
Set the user's username.
- putValue(String, Object) - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
- putValue(String, Object) - Method in class com.segment.analytics.AnalyticsContext.Device
-
- putValue(String, Object) - Method in class com.segment.analytics.AnalyticsContext.Location
-
- putValue(String, Object) - Method in class com.segment.analytics.AnalyticsContext
-
- putValue(String, Object) - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
- putValue(String, Object) - Method in class com.segment.analytics.integrations.BasePayload
-
- putValue(String, Object) - Method in class com.segment.analytics.Properties.Product
-
- putValue(String, Object) - Method in class com.segment.analytics.Properties
-
- putValue(double) - Method in class com.segment.analytics.Properties
-
Set an abstract value to associate with an event.
- putValue(String, Object) - Method in class com.segment.analytics.Traits.Address
-
- putValue(String, Object) - Method in class com.segment.analytics.Traits
-
- putValue(String, Object) - Method in class com.segment.analytics.ValueMap
-
Helper method to be able to chain put methods.
- putWebsite(String) - Method in class com.segment.analytics.Traits
-
Set the website of a user or group.
- tag(String) - Method in class com.segment.analytics.Analytics.Builder
-
Set a tag for this instance.
- tax() - Method in class com.segment.analytics.Properties
-
- term() - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
- tern() - Method in class com.segment.analytics.AnalyticsContext.Campaign
-
- THREAD_PREFIX - Static variable in class com.segment.analytics.internal.Utils
-
- timestamp(Date) - Method in class com.segment.analytics.integrations.BasePayload.Builder
-
Set a timestamp for the event.
- timestamp() - Method in class com.segment.analytics.integrations.BasePayload
-
Set a timestamp the event occurred.
- timestamp - Variable in class com.segment.analytics.StatsSnapshot
-
The time at which the snapshot was created.
- title() - Method in class com.segment.analytics.Properties
-
- title() - Method in class com.segment.analytics.Traits
-
- toBuilder() - Method in class com.segment.analytics.integrations.AliasPayload
-
- toBuilder() - Method in class com.segment.analytics.integrations.BasePayload
-
- toBuilder() - Method in class com.segment.analytics.integrations.GroupPayload
-
- toBuilder() - Method in class com.segment.analytics.integrations.IdentifyPayload
-
- toBuilder() - Method in class com.segment.analytics.integrations.ScreenPayload
-
- toBuilder() - Method in class com.segment.analytics.integrations.TrackPayload
-
- toISO8601Date(Date) - Static method in class com.segment.analytics.internal.Utils
-
- toISO8601Date(String) - Static method in class com.segment.analytics.internal.Utils
-
- toISO8601String(Date) - Static method in class com.segment.analytics.internal.Utils
-
Returns date
formatted as yyyy-MM-ddThh:mm:ss.sssZ
- toJson(Map<?, ?>) - Method in class com.segment.analytics.Cartographer
-
Serializes the map into it's json representation and returns it as a String.
- toJson(Map<?, ?>, Writer) - Method in class com.segment.analytics.Cartographer
-
Serializes the map into it's json representation into the provided Writer
.
- toJsonObject(Map<String, ?>) - Static method in class com.segment.analytics.internal.Utils
-
Return a copy of the contents of the given map as a JSONObject
.
- toJsonObject() - Method in class com.segment.analytics.ValueMap
-
Return a copy of the contents of this map as a JSONObject
.
- toString() - Method in class com.segment.analytics.integrations.AliasPayload
-
- toString() - Method in class com.segment.analytics.integrations.GroupPayload
-
- toString() - Method in class com.segment.analytics.integrations.IdentifyPayload
-
- toString() - Method in class com.segment.analytics.integrations.ScreenPayload
-
- toString() - Method in class com.segment.analytics.integrations.TrackPayload
-
- toString() - Method in class com.segment.analytics.QueueFile
-
- toString() - Method in class com.segment.analytics.StatsSnapshot
-
- toString() - Method in class com.segment.analytics.ValueMap
-
- toStringMap() - Method in class com.segment.analytics.ValueMap
-
Return a copy of the contents of this map as a Map<String, String>
.
- total() - Method in class com.segment.analytics.Properties
-
- track(String) - Method in class com.segment.analytics.Analytics
-
- track(String, Properties) - Method in class com.segment.analytics.Analytics
-
- track(String, Properties, Options) - Method in class com.segment.analytics.Analytics
-
The track method is how you record any actions your users perform.
- track(TrackPayload) - Method in class com.segment.analytics.integrations.Integration
-
- trackApplicationLifecycleEvents() - Method in class com.segment.analytics.Analytics.Builder
-
Automatically track application lifecycle events, including "Application Installed",
"Application Updated" and "Application Opened".
- trackAttributionInformation() - Method in class com.segment.analytics.Analytics.Builder
-
Automatically track attribution information from enabled providers.
- trackDeepLinks() - Method in class com.segment.analytics.Analytics.Builder
-
Automatically track deep links as part of the screen call.
- TrackPayload - Class in com.segment.analytics.integrations
-
- TrackPayload.Builder - Class in com.segment.analytics.integrations
-
- traits() - Method in class com.segment.analytics.AnalyticsContext
-
Note: Not for public use.
- traits(Map<String, ?>) - Method in class com.segment.analytics.integrations.GroupPayload.Builder
-
- traits() - Method in class com.segment.analytics.integrations.GroupPayload
-
The group method also takes a traits dictionary, just like identify.
- traits(Map<String, ?>) - Method in class com.segment.analytics.integrations.IdentifyPayload.Builder
-
- traits() - Method in class com.segment.analytics.integrations.IdentifyPayload
-
A dictionary of traits you know about a user, for example email or name.
- Traits - Class in com.segment.analytics
-
A class representing information about a user.
- Traits() - Constructor for class com.segment.analytics.Traits
-
- Traits(int) - Constructor for class com.segment.analytics.Traits
-
- Traits.Address - Class in com.segment.analytics
-
Represents information about the address of a user or group.
- transform(Map<String, T>, Map<String, String>) - Static method in class com.segment.analytics.internal.Utils
-
Transforms the given map by replacing the keys mapped by mapper
.
- type() - Method in class com.segment.analytics.AnalyticsContext.Referrer
-
- type() - Method in class com.segment.analytics.integrations.BasePayload
-
The type of message.