AmplifyAnalyticsPinpoint class

The AWS Pinpoint implementation of the Amplify Analytics category.

Constructors

AmplifyAnalyticsPinpoint({@visibleForTesting AppLifecycleProvider? appLifecycleProvider, @visibleForTesting SecureStorageFactory? secureStorageFactory})
The AWS Pinpoint implementation of the Amplify Analytics category.

Properties

autoEventSubmitter ↔ StoppableTimer?
Autoflush timer for cached analytics events.
latefinalinherited
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.
inherited
disable() Future<void>
Stop all automatic event tracking of this plugin
inherited
enable() Future<void>
Start all automatic event tracking of this plugin
inherited
flushEvents() Future<void>
Immediately send all saved events to the analytics service
inherited
identifyUser({required String userId, UserProfile? userProfile}) Future<void>
Store a userId with userProfile to be associated with current device
inherited
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
inherited
registerGlobalProperties({required CustomProperties globalProperties}) Future<void>
Register fields of globalProperties to be sent with all future events.
inherited
reset() Future<void>
Resets the plugin by removing all traces of it from the device.
inherited
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
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited