目录

1 Definition

This API is used to customize templates.

2 Call Example

The following example shows how to report custom data to the custom platform:

  1. public class CallTagDemo implements ICustomTag {
  2.    @Override
  3.    public void call(Map<String, Object> var1) {
  4.        Object var2 = dosomething(var1);
  5.        sendMessage(var2);
  6.    }
  7.    private void sendMessage(String var) {
  8.        MyPlatform.logEvent(var);
  9.    }
  10. }

3 Input Parameters

Parameter

Type

Description

var1

Map<String, Object>

Custom tag.

4 Return Values

None.