AmplifyAnalyticsPinpointDart class
The AWS Pinpoint Dart implementation of the Amplify Analytics category.
- Validates and parses inputs.
- Receives and provides external Flutter Provider implementations.
Constructors
- AmplifyAnalyticsPinpointDart({CachedEventsPathProvider? pathProvider, LegacyNativeDataProvider? legacyNativeDataProvider, DeviceContextInfoProvider? deviceContextInfoProvider, AppLifecycleProvider? appLifecycleProvider, SecureStorageFactory? secureStorageFactory, AnalyticsPinpointPluginOptions options = const AnalyticsPinpointPluginOptions()})
- The AWS Pinpoint Dart implementation of the Amplify Analytics category.
Properties
- autoEventSubmitter ↔ StoppableTimer?
-
Autoflush timer for cached analytics events.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
{AmplifyConfig? config, required AmplifyAuthProviderRepository authProviderRepo}) → Future< void> -
Configures the plugin using the registered
config
. -
disable(
) → Future< void> - Stop all automatic event tracking of this plugin
-
enable(
) → Future< void> - Start all automatic event tracking of this plugin
-
flushEvents(
) → Future< void> - Immediately send all saved events to the analytics service
-
identifyUser(
{required String userId, UserProfile? userProfile}) → Future< void> -
Store a
userId
withuserProfile
to be associated with current device -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordEvent(
{required AnalyticsEvent event}) → Future< void> -
Save an
event
to be sent in the next batch to the analytics service -
registerGlobalProperties(
{required CustomProperties globalProperties}) → Future< void> -
Register fields of
globalProperties
to be sent with all future events. -
reset(
) → Future< void> - Resets the plugin by removing all traces of it from the device.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterGlobalProperties(
{List< String> propertyNames = const <String>[]}) → Future<void> -
Remove fields by their
propertyNames
to stop being sent with all future events
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited