Liste des classes
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Classes et protocoles du SDK Google Tag Manager pour les applications mobiles pour iOS:
Conteneur | Une classe qui donne accès aux valeurs des conteneurs |
<TAGContainerCallback>
| Protocole qu'un client peut implémenter pour recevoir des informations lorsque le contenu du conteneur a bien été chargé ou a échoué au chargement |
<TAGContainerFuture> | Une classe qui implémente ce protocole attend que le conteneur soit disponible et donne accès au conteneur |
TAGContainerOpener | Classe d'assistance pour l'ouverture de conteneurs |
<TAGContainerOpenerNotifier> | Une classe qui implémente ce protocole recevra une notification lorsqu'un conteneur sera disponible |
TAGDataLayer | La couche de données est un dictionnaire contenant des informations génériques sur l'application. |
<TAGFunctionCallMacroHandler>
| Protocole implémenté par l'application pour calculer la valeur d'une macro d'appel de fonction |
<TAGFunctionCallTagHandler>
| Protocole implémenté par l'application pour exécuter un tag personnalisé |
<TAGLogger>
| Protocole d'erreur/d'avertissement/d'information/de débogage/de journalisation détaillée |
TAGManager | Une classe correspondant à la mise en œuvre mobile de Google Tag Manager (GTM) |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eThis documentation outlines the classes and protocols within the Google Tag Manager for Mobile Apps SDK for iOS.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these classes to access and manage container values, receive container load status updates, and open containers.\u003c/p\u003e\n"],["\u003cp\u003eThe provided protocols enable custom tag execution, function call macro handling, application logging, and receiving notifications about container availability.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTAGDataLayer\u003c/code\u003e is a dictionary holding application-specific information for use within Google Tag Manager.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTAGManager\u003c/code\u003e serves as the core class, representing the mobile implementation of Google Tag Manager on iOS.\u003c/p\u003e\n"]]],["The provided content lists classes and protocols within the Google Tag Manager (GTM) SDK for iOS. Key components include: `TAGContainer` for container access, `TAGContainerCallback` for load status updates, and `TAGContainerFuture` for waiting on container availability. `TAGContainerOpener` opens containers, while `TAGContainerOpenerNotifier` signals when containers are ready. `TAGDataLayer` holds app information. Custom functions are handled via `TAGFunctionCallMacroHandler` and `TAGFunctionCallTagHandler`, logging is done with `TAGLogger`, and `TAGManager` is GTM's core class.\n"],null,["# Class List \nThe classes and protocols in Google Tag Manager for Mobile Apps SDK for iOS:\n\n|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| [TAGContainer](/tag-platform/tag-manager/ios/v3/reference/interface_t_a_g_container) | A class that provides access to container values |\n| [\\\u003cTAGContainerCallback\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_container_callback-p) | A protocol that a client may implement to receive information when the contents of the container has been successfully loaded or failed to load |\n| [\\\u003cTAGContainerFuture\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_container_future-p) | A class that implements this protocol waits for the container to be available and provides access to the container |\n| [TAGContainerOpener](/tag-platform/tag-manager/ios/v3/reference/interface_t_a_g_container_opener) | A helper class for opening containers |\n| [\\\u003cTAGContainerOpenerNotifier\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_container_opener_notifier-p) | A class that implements this protocol will receive a notification when a container is available for use |\n| [TAGDataLayer](/tag-platform/tag-manager/ios/v3/reference/interface_t_a_g_data_layer) | The data layer is a dictionary holding generic information about the application |\n| [\\\u003cTAGFunctionCallMacroHandler\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_function_call_macro_handler-p) | A protocol implemented by the application to calculate the value of a function call macro |\n| [\\\u003cTAGFunctionCallTagHandler\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_function_call_tag_handler-p) | A protocol implemented by the application to execute a custom tag |\n| [\\\u003cTAGLogger\\\u003e](/tag-platform/tag-manager/ios/v3/reference/protocol_t_a_g_logger-p) | A protocol for error/warning/info/debug/verbose logging |\n| [TAGManager](/tag-platform/tag-manager/ios/v3/reference/interface_t_a_g_manager) | A class that is the mobile implementation of Google Tag Manager (GTM) |"]]