Signal API reference
This document lists information about the previous versions of the Adobe Experience Platform Mobile SDKs. Check out this page for latest versions and solution support of the Mobile SDKs.
extensionVersion
The extensionVersion()
API returns the version of the Signal extension that is registered with the Mobile Core extension.
To get the version of the Signal extension, use the following code sample:
Syntax
Copied to your clipboard(nonnull NSString*) extensionVersion;
Examples
Swift
Copied to your clipboardvar signalExtensionVersion = ACPSignal.extensionVersion()
Objective-C
Copied to your clipboardNSString *signalExtensionVersion = [ACPSignal extensionVersion];
Java
Syntax
Copied to your clipboardpublic static String extensionVersion();
Example
Copied to your clipboardString signalExtensionVersion = Signal.extensionVersion();
Syntax
Copied to your clipboard(nonnull NSString*) extensionVersion;
Examples
Swift
Copied to your clipboardvar signalExtensionVersion = ACPSignal.extensionVersion()
Objective-C
Copied to your clipboardNSString *signalExtensionVersion = [ACPSignal extensionVersion];
JavaScript
Copied to your clipboardACPSignal.extensionVersion().then(signalExtensionVersion => console.log("AdobeExperienceSDK: ACPSignal version: " + signalExtensionVersion));
Dart
Copied to your clipboardString signalExtensionVersion = await FlutterACPSignal.extensionVersion;
registerExtension
Registers the Signal extension with the Mobile Core.
Syntax
Copied to your clipboard+ (void) registerExtension;
Example
Swift
Copied to your clipboardACPSignal.registerExtension()
Objective-C
Copied to your clipboard[ACPSignal registerExtension];
When using React Native, register the Signal extension with Mobile Core in native code as shown on the Android and iOS tabs.
Java
Syntax
Copied to your clipboardpublic static String extensionVersion();
Example
Copied to your clipboardString signalExtensionVersion = Signal.extensionVersion();
Syntax
Copied to your clipboard+ (void) registerExtension;
Example
Swift
Copied to your clipboardACPSignal.registerExtension()
Objective-C
Copied to your clipboard[ACPSignal registerExtension];
When using React Native, register the Signal extension with Mobile Core in native code as shown on the Android and iOS tabs.
collectPII
The Signal extension can be used to handle collectPII
rules. For more information, see the collectPII API.