目录

1 Definition

This API is used to customize variables.

2 Call Example

The following example shows how to implement the ICustomVariable API to obtain the UID of AppsFlyer:

  1. public class CallVariableDemo implements ICustomVariable {
  2.    @Override
  3.    public String getValue(Map<String, Object> var1) {
  4.        return AppsFlyerLib.getInstance()
  5.                           .getAppsFlyerUID(DTMApplication.getInstance());
  6.    }
  7. }

3 Input Parameters

Parameter

Type

Description

var1

Map<String, Object>

Custom variable.

4 Return Values

Values of the variables are returned.