MobileCore class

Adobe Experience Platform Core API.

Constructors

MobileCore()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

extensionVersion Future<String>
Gets the current Core extension version.
no setter
privacyStatus Future<PrivacyStatus>
Get the current Adobe Mobile Privacy Status
no setter
sdkIdentities Future<String>
Calls the provided callback with a JSON string containing all of the user's identities known by the SDK
no setter

Static Methods

clearUpdatedConfiguration() Future<void>
Clears the changes made by updateConfigurationWith(configDict:) and setPrivacyStatus(_:) to the initial configuration provided by either configureWith(appId:) or configureWith(filePath:)
collectPii(Map<String, String> data) Future<void>
Submits a generic PII collection request event with type generic.pii.
dispatchEvent(Event event) Future<void>
Called by the extension public API to dispatch an event for other extensions or the internal SDK to consume. Any events dispatched by this call will not be processed until after start has been called.
dispatchEventWithResponseCallback(Event event, int timeoutMS) Future<Event>
You should use this method when the Event being passed is a request and you expect an event in response. Any events dispatched by this call will not be processed until after start has been called. @param event The event to be dispatched @param timeoutMS The time in milliseconds to wait for a response @return A future that resolves with the response event. If timeout happens, the future will complete with an error.
resetIdentities() Future<void>
Clears all identifiers from Edge extensions and generates a new Experience Cloud ID (ECID).
setAdvertisingIdentifier(String aid) Future<void>
Submits a generic event containing the provided IDFA with event type generic.identity.
setAppGroup(String appGroup) Future<void>
Sets the app group used to sharing user defaults and files among containing app and extension apps. This must be called in AppDidFinishLaunching and before any other interactions with the Adobe Mobile library have happened.
setLogLevel(LogLevel mode) Future<void>
Set the logging level of the SDK
setPrivacyStatus(PrivacyStatus privacyStatus) Future<void>
Set the Adobe Mobile Privacy status
trackAction(String action, {Map<String, String>? data}) Future<void>
This method sends a generic Analytics action tracking hit with context data.
trackState(String state, {Map<String, String>? data}) Future<void>
This method sends a generic Analytics state tracking hit with context data.
updateConfiguration(Map<String, Object> configMap) Future<void>
Update specific configuration parameters