ClickstreamAnalyticsPlusPlatform class abstract

The platform interface for Clickstream Analytics Plus.

Platform-specific implementations should extend this class and set ClickstreamAnalyticsPlusPlatform.instance to their implementation.

Inheritance
  • Object
  • PlatformInterface
  • ClickstreamAnalyticsPlusPlatform
Implementers

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

enableLogging(bool enabled) Future<void>
flushEvents() Future<void>
getSdkVersion() Future<String?>
initialize({required String appId, required String endpoint, bool? logEvents, bool? compressEvents, int? sessionTimeoutMs, int? sendEventIntervalMs, Map<String, dynamic>? initialGlobalAttributes}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseSession() Future<void>
recordEvent(String name, {Map<String, dynamic>? attributes}) Future<void>
removeGlobalAttribute(String key) Future<void>
resumeSession() Future<void>
setGlobalAttributes(Map<String, dynamic> attributes) Future<void>
setUserAttributes(Map<String, dynamic> attributes) Future<void>
setUserId(String userId) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ClickstreamAnalyticsPlusPlatform
The default instance of ClickstreamAnalyticsPlusPlatform to use.
getter/setter pair