GeniusSdkPlatform class abstract

The native Genius SDK as seen from Dart; MethodChannelGeniusSdk is the default.

Inheritance
  • Object
  • PlatformInterface
  • GeniusSdkPlatform
Implementers

Constructors

GeniusSdkPlatform()

Properties

hashCode → int
The hash code for this object.
no setterinherited
onEvent → Stream<Map<String, dynamic>>
Events from the native SDK as {'eventName': String, 'params': Object?}.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() → Future<String?>
The launch payload as JSON, or null when there is none.
getDeferredDeepLinkData() → Future<Map<String, String>>
Install attribution once resolved, or what is known when the native wait times out.
isFirstOpen() → Future<bool>
isStopped() → Future<bool>
logEvent(String eventName, Map<String, dynamic> eventValue) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCollectAndroidId(bool enabled) → Future<void>
setDebugLogging(bool enabled) → Future<void>
setMinTimeBetweenSessions(int seconds) → Future<void>
setReadsPasteboard(bool enabled) → Future<void>
setRequestsTrackingAuthorization(bool enabled) → Future<void>
stop(bool isStopped) → Future<void>
toString() → String
A string representation of this object.
inherited
triggerEvent(String eventName, Map<String, dynamic> data) → Future<void>
Makes the native SDK emit eventName with data on onEvent.

Operators

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

Static Properties

instance ↔ GeniusSdkPlatform
getter/setter pair