This API is used to customize templates.
The following example shows how to report custom data to the custom platform:
- public class CallTagDemo implements ICustomTag {
- @Override
- public void call(Map<String, Object> var1) {
- Object var2 = dosomething(var1);
- sendMessage(var2);
- }
- private void sendMessage(String var) {
- MyPlatform.logEvent(var);
- }
- }
Parameter | Type | Description |
var1 | Map<String, Object> | Custom tag. |
None.