MindboxIosPlatform class

An MindboxPlatform that wraps Mindbox iOS SDK.

Properties

hashCode int
The hash code for this object.
no setterinherited
nativeSdkVersion Future<String>
Returns native SDK version or "Unknown" on error.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeAsyncOperation({required String operationSystemName, required Map<String, dynamic> operationBody}) Future<void>
Method for register a custom event.
executeSyncOperation({required String operationSystemName, required Map<String, dynamic> operationBody, required dynamic onSuccess(String response), required dynamic onError(MindboxError error)}) Future<void>
Method for executing an operation synchronously.
getDeviceUUID({required dynamic callback(String uuid)}) → void
Returns device UUID string to callback.
getToken({required dynamic callback(String token)}) → void
Returns token to callback.
init({required Configuration configuration}) Future<void>
Initializes the SDK for further work.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onInAppClickRecieved({required InAppClickHandler handler}) → void
Returns id, redirectUrl and payload from In-app to callback.
onInAppismissed({required InAppDismissedHandler handler}) → void
Returns id from In-app to callback.
onPushClickReceived({required PushClickHandler handler}) → void
Returns link from push to callback.
registerInAppCallbacks({required List<InAppCallback> inAppCallbacks}) → void
Registers a list of InAppCallback instances to handle clicks and dismiss.
setLogLevel({required LogLevel logLevel}) → void
Method for managing sdk logging
toString() String
A string representation of this object.
inherited
updateNotificationPermissionStatus({required bool granted}) → void
Method for sending notification permission status

Operators

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

Static Methods

registerPlatform() → void
Registers this class as the default instance of MindboxPlatform.