Package com.mixpanel.android.mpmetrics
package com.mixpanel.android.mpmetrics
This package contains the interface to Mixpanel that you can use from your
Android apps. You can use Mixpanel to send events, update people analytics properties.
The primary interface to Mixpanel services is in
MixpanelAPI.
At it's simplest, you can send events with
MixpanelAPI mixpanel = MixpanelAPI.getInstance(context, MIXPANEL_TOKEN);
mixpanel.track("Library integrated", null);
In addition to this reference documentation, you can also see our overview
and getting started documentation at
https://mixpanel.com/help/reference/android-
ClassDescriptionInterface for providing custom device IDs to the Mixpanel SDK.Configuration options for Mixpanel feature flags.Builder for creating
FeatureFlagOptionsinstances.Core class for interacting with Mixpanel Analytics.Core interface for using Mixpanel Feature Flags.Core interface for using Mixpanel Group Analytics features.Core interface for using Mixpanel People Analytics features.Represents the data associated with a feature flag variant from the Mixpanel API.Identifies where a served variant came from.Developer-supplied fallback returned by the SDK because no flag was found, the lookup happened before flags were ready, or a fetch failed without a usable persisted blob to fall back to.Variant assigned by the most recent successful /flags/ network call.Variant loaded from the on-disk persistence layer.Stores global configuration options for the Mixpanel library.Use SuperPropertyUpdate objects to make changes to super properties in place, in a thread-safe way.Configures how the SDK resolves feature flag variants relative to the on-disk persistence layer and the network.Strategy that prefers a fresh network response but falls back to persisted variants when the network call fails.Strategy that never consults persisted variants.Strategy that serves persisted variants immediately when available and only waits on the network when no persisted entry exists.