Package 

Class DeeplinkDataCollector


  • 
    public final class DeeplinkDataCollector
    
                        

    This class is responsible for collecting and storing deeplink data.

    It provides two options for storing the data: Option 1: Storing data directly into the payload map of the provided event. In this case, the data is not written into any storage. Option 2: Storing data in an internal map, which is then saved to the provided storage.

    • Method Summary

      Modifier and Type Method Description
      final Unit put(String key, Object value) Adds the specified key-value pair to the deeplink data map.
      final Boolean containsKey(String key) Checks if the deeplink data map contains the specified key.
      final Unit putToMeta(String key, Object value) Adds the specified key-value pair to the meta data map in the deeplink data map.
      • Methods inherited from class java.lang.Object

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

      • put

         final Unit put(String key, Object value)

        Adds the specified key-value pair to the deeplink data map.

        The updated deeplink data map is saved to the storage if it is provided.

        Parameters:
        key - The key to add to the deeplink data map.
        value - The value associated with the key.
      • containsKey

         final Boolean containsKey(String key)

        Checks if the deeplink data map contains the specified key.

        Parameters:
        key - The key to check for in the deeplink data map.
      • putToMeta

         final Unit putToMeta(String key, Object value)

        Adds the specified key-value pair to the meta data map in the deeplink data map.

        The updated deeplink data map is saved to the storage if it is provided.

        Parameters:
        key - The key to add to the meta data map.
        value - The value associated with the key.