This API is used to customize variables.
The following example shows how to implement the ICustomVariable API to obtain the UID of AppsFlyer:
- public class CallVariableDemo implements ICustomVariable {
- @Override
- public String getValue(Map<String, Object> var1) {
- return AppsFlyerLib.getInstance()
- .getAppsFlyerUID(DTMApplication.getInstance());
- }
- }
Parameter | Type | Description |
var1 | Map<String, Object> | Custom variable. |
Values of the variables are returned.