Page Summary
-
TAGContainerFutureprotocol enables waiting for and accessing a Tag Manager container. -
This protocol is deprecated and will be removed in a future SDK release.
-
getfunction retrieves the container, blocking until available, whileisDonechecks container availability without blocking. -
The container obtained might be the default; verify using
isDefaultmethod ofTAGContainer.
Overview
A class that implements this protocol waits for the container to be available and provides access to the container.
This protocol is deprecated, and will be removed from a future version of the SDK.
Public Member Functions | |
| (TAGContainer *) | - get |
| Waits for the container to be available and returns the requested container. | |
| (BOOL) | - isDone |
| Returns whether the container is available. | |
Member Function Documentation
| - (TAGContainer *) get |
Waits for the container to be available and returns the requested container.
This method will block until the container is available. The dispatch queue will continue to run while the call is blocked.
- Returns:
- The requested container.
| - (BOOL) isDone |
Returns whether the container is available.
This container could be the default container. To check if it is the default container, use isDefault (TAGContainer).
- Returns:
- YES if the container is available. NO if get: will block and wait for the container to be available.