Java
Syntax
Copied to your clipboardpublic static String extensionVersion();
Example
Kotlin
Copied to your clipboardMessaging.extensionVersion()
Java
Copied to your clipboardMessaging.extensionVersion();
Swift
Syntax
Copied to your clipboardpublic static let extensionVersion
Example
Copied to your clipboardMessaging.extensionVersion
Objective-C
Syntax
Copied to your clipboardpublic static let extensionVersion
Example
Copied to your clipboard[AEPMobileMessaging extensionVersion];
Java
Syntax
Copied to your clipboardpublic static void handleNotificationResponse(final Intent intent,final boolean applicationOpened,final String customActionId);
Parameter | Type | Description |
---|---|---|
intent | Intent | The intent contains information related to the messageId and the data. |
applicationOpened | Boolean | Shows whether the application has been opened or not. |
actionId | String | The ID of the custom action. |
Swift
Syntax
Copied to your clipboardstatic func handleNotificationResponse(_ response: UNNotificationResponse,urlHandler: ((URL) -> Bool)? = nil,closure: ((PushTrackingStatus) -> Void)? = nil)
Objective-C
Syntax
Copied to your clipboard+ (void) handleNotificationResponse: (UNNotificationResponse *) responseurlHandler: (BOOL (^)(NSURL *url)) handlerclosure: (void (^)(PushTrackingStatus status)) closure;
Parameter | Type | Description |
---|---|---|
response | UNNotificationResponse | An object containing information about the push notification details. |
urlHandler | ((URL) -> Bool)? | An optional method to handle the actionable URL from the push notification. |
closure | ((PushTrackingStatus) -> Void)? | An optional callback with PushTrackingStatus representing the tracking status of the interacted notification. |
Java
Syntax
Copied to your clipboardpublic static void registerExtension();
Example
Kotlin
Copied to your clipboardMessaging.registerExtension()
Java
Copied to your clipboardMobileCore.resetIdentities();
Kotlin
Copied to your clipboardMobileCore.resetIdentities()
Swift
Copied to your clipboardMobileCore.resetIdentities()
Objective-C
Copied to your clipboard[AEPMobileCore resetIdentities];