Danh sách lớp
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Các lớp và giao thức trong Trình quản lý thẻ của Google dành cho SDK ứng dụng trên thiết bị di động dành cho iOS:
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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) |"]]