MethodChannelGeniusSdk class
GeniusSdkPlatform over the plugin's method and event channels.
- Inheritance
-
- Object
- PlatformInterface
- GeniusSdkPlatform
- MethodChannelGeniusSdk
Constructors
Properties
- eventChannel → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
-
onEvent
→ Stream<
Map< String, dynamic> > -
One stream for every listener: the native side has a single event sink.
latefinal
- 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.
override
-
getDeferredDeepLinkData(
) → Future< Map< String, String> > -
Install attribution once resolved, or what is known when the native wait
times out.
override
-
isFirstOpen(
) → Future< bool> -
override
-
isStopped(
) → Future< bool> -
override
-
logEvent(
String eventName, Map< String, dynamic> eventValue) → Future<void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCollectAndroidId(
bool enabled) → Future< void> -
override
-
setDebugLogging(
bool enabled) → Future< void> -
override
-
setMinTimeBetweenSessions(
int seconds) → Future< void> -
override
-
setReadsPasteboard(
bool enabled) → Future< void> -
override
-
setRequestsTrackingAuthorization(
bool enabled) → Future< void> -
override
-
stop(
bool isStopped) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerEvent(
String eventName, Map< String, dynamic> data) → Future<void> -
Makes the native SDK emit
eventNamewithdataon onEvent.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited