public interface

# CustomVariableProvider

com.google.android.gms.tagmanager.CustomVariableProvider

## Class Overview

Callback that is provided by the application to provide a custom variable.

## Summary

Public Methods
abstract String | getValue(Map<String, Object> parameters) `getValue(Map)` is given a map of named parameters (the map may contain String, Double, Boolean, Map, or List values).

## Public Methods

#### public abstract String getValue (Map<String, Object> parameters)

`getValue(Map)` is given a map of named parameters (the map may contain String, Double, Boolean, Map, or List values). It should return a String which is the calculated value of the variable.

This function will be called from a background thread during event processing. The container will cache one instance of this object and reuse it.

##### Returns

- the value of the custom variable requested