-
public final class DeeplinkDataCollectorThis 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDeeplinkDataCollector.Companion
-
Method Summary
Modifier and Type Method Description final Unitput(String key, Object value)Adds the specified key-value pair to the deeplink data map. final BooleancontainsKey(String key)Checks if the deeplink data map contains the specified key. final UnitputToMeta(String key, Object value)Adds the specified key-value pair to the meta data map in the deeplink data map. -
-
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.
-
-
-
-