MethodChannelFormicaTracker class
An implementation of FormicaTrackerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FormicaTrackerPlatform
- MethodChannelFormicaTracker
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to receive native events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCollectedVariables(
) → Future< Map< String, dynamic> > -
Gets all collected variables from the SDK
override
-
getConfiguration(
) → Future< Map< String, dynamic> > -
Gets the current tracker configuration from the backend
override
-
getUserDefinedValues(
) → Future< Map< String, dynamic> > -
override
-
initialize(
{required String apiKey, required String serviceUrl, required String tenant, List< String> ? spkiPins, int? timeout}) → Future<void> -
override
-
initializeWithConfig(
TrackerConfiguration config) → Future< void> -
override
-
isInitialized(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeNativeEventListener(
) → Future< void> -
override
-
setNativeEventListener(
void callback(Map< String, dynamic> )) → Future<void> -
override
-
setUserDefinedValues(
String key, dynamic value) → Future< void> -
override
-
terminate(
) → Future< void> -
Terminates the SDK and cleans up resources (iOS only, no-op on Android)
override
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerCustomEvent(
String eventName, HashMap< String, dynamic> args) → Future<void> -
override
-
triggerCustomEventSync(
String eventName, HashMap< String, dynamic> args, RequestConfig config) → Future<GenericResponse< TransactionSubmitResult> > -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited