AutocaptureOptions class
Options for the autocapture feature.
Flutter supports the autocapture options exposed by this class. The underlying Web, iOS, and Android SDKs may support additional autocapture options that are not exposed by this Flutter SDK.
For platform behavior details, see: Web, iOS, Android.
Example usage:
var analytics = Amplitude(
Configuration(
apiKey: 'your_api_key',
autocapture: AutocaptureOptions(
attribution: AttributionOptions(),
sessions: true,
pageViews: PageViewsOptions(),
appLifecycles: true,
deepLinks: true,
),
)
);
- Inheritance
-
- Object
- Autocapture
- AutocaptureOptions
Constructors
- AutocaptureOptions({Attribution attribution = const AttributionOptions(), bool sessions = true, PageViews pageViews = const PageViewsDisabled(), bool appLifecycles = false, bool deepLinks = false, bool screenViews = false, bool formInteractions = false, bool fileDownloads = false, ElementInteractions elementInteractions = const ElementInteractionsDisabled(), bool pageUrlEnrichment = false})
-
const
Properties
- appLifecycles → bool
-
Mobile (iOS and Android) specific
final
- attribution → Attribution
-
Web specific
final
- deepLinks → bool
-
Mobile (Android) specific
final
- elementInteractions → ElementInteractions
-
Web specific
final
- fileDownloads → bool
-
Web specific
final
- formInteractions → bool
-
Web specific
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageUrlEnrichment → bool
-
Web specific
final
- pageViews → PageViews
-
Web specific
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenViews → bool
-
Mobile (iOS and Android) specific
final
- sessions → bool
-
Cross-platform
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited