Container.FunctionCallTagCallback | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
public static interface

# Container.FunctionCallTagCallback

com.google.android.gms.tagmanager.Container.FunctionCallTagCallback

## Class Overview

Callback that is provided by the application to execute a custom tag.

## Summary

Public Methods
abstract void | execute(String functionName, Map<String, Object> parameters) Callback is given the Function Name of the macro and a map of named parameters (the map may contain String, Double, Boolean, Integer, Long, Map, or List values).

## Public Methods

#### public abstract void execute (String functionName, Map<String, Object> parameters)

Callback is given the Function Name of the macro and a map of named parameters (the map may contain String, Double, Boolean, Integer, Long, Map, or List values).

The `functionName` is the same name by which the Callback was registered. It's provided as a convenience to allow a single Callback to be registered for multiple function call tags.

When application code makes a call to push an event to the data layer, that may cause this callback to execute. The callback will execute on the same thread as the push call.