Package 

Class CampaignClassic

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Class<out Extension> EXTENSION
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void registerExtension() Registers the extension with the MobileCore SDK.
      static String extensionVersion() Returns the current version of the CampaignClassic extension.
      static void registerDevice(@NonNull() String token, String userKey, Map<String, Object> additionalParams) Registers a device with the configured Adobe Campaign Classic server instance.
      static void trackNotificationReceive(@NonNull() Map<String, String> trackInfo) Sends notification tracking information to the configured Adobe Campaign Classic server.
      static void trackNotificationClick(@NonNull() Map<String, String> trackInfo) Sends notification tracking information to the configured Adobe Campaign Classic server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • registerExtension

        @Deprecated() static void registerExtension()

        Registers the extension with the MobileCore SDK.

        This method should be called only once in your application class.

      • registerDevice

         static void registerDevice(@NonNull() String token, String userKey, Map<String, Object> additionalParams)

        Registers a device with the configured Adobe Campaign Classic server instance.

        Parameters:
        token - String containing unique registration token
        userKey - String containing the user identifier
        additionalParams - Map containing custom key-value pairs to be sent in the registration request
      • trackNotificationReceive

         static void trackNotificationReceive(@NonNull() Map<String, String> trackInfo)

        Sends notification tracking information to the configured Adobe Campaign Classic server.

        This API may be used to send tracking information when a notification is received on the device. If trackInfo is null or does not contain the necessary tracking identifiers, messageId _mId and deliveryId _dId, no track request is sent.

        Parameters:
        trackInfo - Map<String, String> containing _dId and _mId received in the message payload
      • trackNotificationClick

         static void trackNotificationClick(@NonNull() Map<String, String> trackInfo)

        Sends notification tracking information to the configured Adobe Campaign Classic server.

        This API may be used to send tracking information when user clicks on a notification. If trackInfo is null or does not contain the necessary tracking identifiers, messageId _mId and deliveryId _dId, no track request is sent.

        Parameters:
        trackInfo - Map<String, String> containing _dId and _mId received in the message payload