AutocaptureOptions class

Options for the autocapture feature.

Currently configuring autocapture is only supported on Web. Refer to docs for more details.

Example usage:

var analytics = Amplitude(
    Configuration(
        apiKey: 'your_api_key',
        autocapture: AutocaptureOptions(
            attribution: AttributionOptions(),
            sessions: true,
            pageViews: PageViewsOptions(),
        ),
    )
);
Inheritance

Constructors

AutocaptureOptions.new({Attribution attribution = const AttributionOptions(), bool sessions = true, dynamic pageViews = const PageViewsOptions()})
const

Properties

attribution Attribution
Web specific
final
hashCode int
The hash code for this object.
no setterinherited
pageViews → dynamic
Web specific
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessions bool
Web specific
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