ConnectTracker class
ConnectTracker base class to start attributing events.
Constructors
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
-
appWillOpenUrl(
String? url) → void - Handles deeplink app open.
-
deleteUserData(
) → void - Deletes user device data from the server
-
init(
ConnectTrackerOptions options) → Future< bool?> - Initializes the SDK with the ConnectTrackerOptions.
-
isInitialized(
) → Future< bool?> - Checks if the SDK is initialized
-
isTrackingOn(
) → Future< bool?> - Checks if tracking is on
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onApplicationPaused(
) → void - Handler method when the application has been paused.
-
onLocationPermissionDenied(
) → void - Handler method when location permission has been denied.
-
onLocationPermissionGranted(
) → void - Handler method when location premission has been granted.
-
onWillRequestLocationPermission(
) → void - Handler method when location permission will be requested.
-
resolveDeeplink(
String url, List urlPrefixes) → void - Resolves a deeplink when it has been open from an email client.
-
toString(
) → String -
A string representation of this object.
inherited
-
trackEvent(
String name, dynamic value) → Future< bool?> -
Tracks a single event by
nameandvalue. -
turnOffTracking(
) → void - Turn off SDK tracking.
-
turnOnTracking(
) → void - Turn on SDK tracking.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ConnectTracker
-
no setter