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 Java

data-slots=heading, code
data-repeat=2

Syntax

@NonNull
public static String extensionVersion();

Example

String signalExtensionVersion = Signal.extensionVersion();

iOS Swift

data-slots=heading, code
data-repeat=2

Syntax

public static let extensionVersion

Example

let version = Signal.extensionVersion

iOS Objective-C

data-slots=heading, code
data-repeat=1

Example

NSString *version = [AEPMobileSignal extensionVersion];

registerExtension

data-variant=warning
data-slots=text1, text2
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.

Android Java

data-slots=heading, code
data-repeat=2

Syntax

public static void registerExtension()

Example

Signal.registerExtension();

collectPii

The Signal extension can be used to handle collectPii rules. For more information, see the collectPii API.