Signal API reference
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:
Android
iOS
Syntax
Copied to your clipboardpublic static let extensionVersion
Examples
Swift
Copied to your clipboardlet version = Signal.extensionVersion
Objective-C
Copied to your clipboardNSString *version = [AEPMobileSignal extensionVersion];
Java
Syntax
Copied to your clipboard@NonNullpublic static String extensionVersion();
Example
Copied to your clipboardString signalExtensionVersion = Signal.extensionVersion();
Syntax
Copied to your clipboardpublic static let extensionVersion
Examples
Swift
Copied to your clipboardlet version = Signal.extensionVersion
Objective-C
Copied to your clipboardNSString *version = [AEPMobileSignal extensionVersion];
registerExtension
This API has been deprecated starting in v2.0.0 and removed in v3.0.0 of the Android mobile extension.
Use MobileCore.registerExtensions()
API instead.
Registers the Signal extension with the Mobile Core.
collectPii
The Signal extension can be used to handle collectPii
rules. For more information, see the collectPii API.