MobileDIAnalytics class

Implemented types

Constructors

MobileDIAnalytics()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSharedParameters(Map<String, dynamic> parameters) Future
Add Parameters to every logged events.
override
configure({required String apiKey, required String trackingUrl, int? submitInterval, int? submitTimeoutInterval, int? maxSizeOfLogFile, int? maxNumberOfLogFile, int? sessionExpireTime, bool? submitLogOnWifiOnly, bool? queueEnabled}) Future
Configure analytics with default configuration. Must be called 1 before logEvent.
override
dispatchEvents() Future
Dispatch events immediately.
override
getVersion() Future<String>
Get current sdk version.
override
logEvent(String name, {Map<String, dynamic>? parameters}) Future
Log an event.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetAnalyticsData() Future
Clears all analytics data for this instance from the device.
override
setDebugLogEnabled(bool enabled) Future
Debug console log enabled, default: false.
override
setEnabled(bool enabled) Future
Enable or disable tracking. Default true.
override
setUser(String? userId, {Map<String, dynamic>? info}) Future
Track current logged-in user.
override
toString() String
A string representation of this object.
inherited

Operators

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