quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 85 | |
| 86 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 87 | <html> |
| 88 | <head> |
| 89 | |
| 90 | |
| 91 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 92 | <meta name="viewport" content="width=device-width" /> |
| 93 | |
| 94 | <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> |
| 95 | <title>TagManager | Android Developers</title> |
| 96 | |
| 97 | <!-- STYLESHEETS --> |
| 98 | <link rel="stylesheet" |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 99 | href="//fonts.googleapis.com/css?family=Roboto+Condensed"> |
| 100 | <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" |
| 101 | title="roboto"> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 102 | <link href="/assets/css/default.css?v=2" rel="stylesheet" type="text/css"> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 103 | |
| 104 | |
| 105 | |
| 106 | <!-- JAVASCRIPT --> |
| 107 | <script src="//www.google.com/jsapi" type="text/javascript"></script> |
| 108 | <script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> |
| 109 | <script type="text/javascript"> |
| 110 | var toRoot = "/"; |
| 111 | var metaTags = []; |
| 112 | var devsite = false; |
| 113 | </script> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 114 | <script src="/assets/js/docs.js?v=2" type="text/javascript"></script> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 115 | |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 116 | <script> |
| 117 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 118 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 119 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 120 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 121 | |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 122 | ga('create', 'UA-5831155-1', 'android.com'); |
| 123 | ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); |
| 124 | ga('send', 'pageview'); |
| 125 | ga('universal.send', 'pageview'); // Send page view for new tracker. |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 126 | </script> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 127 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 128 | </head> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 129 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 130 | <body class="gc-documentation google |
| 131 | develop" itemscope itemtype="http://schema.org/Article"> |
| 132 | <div id="doc-api-level" class="" style="display:none"></div> |
| 133 | <a name="top"></a> |
| 134 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 135 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 136 | <a name="top"></a> |
| 137 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 138 | <!-- Header --> |
| 139 | <div id="header-wrapper"> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 140 | <div id="header"> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 141 | <div class="wrap" id="header-wrap"> |
| 142 | <div class="col-3 logo"> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 143 | <a href="/index.html"> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 144 | <img src="/assets/images/dac_logo.png" |
| 145 | srcset="/assets/images/dac_logo@2x.png 2x" |
| 146 | width="123" height="25" alt="Android Developers" /> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 147 | </a> |
| 148 | <div class="btn-quicknav" id="btn-quicknav"> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 149 | <a href="#" class="arrow-inactive">Quicknav</a> |
| 150 | <a href="#" class="arrow-active">Quicknav</a> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 151 | </div> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 152 | </div> |
| 153 | <ul class="nav-x col-9"> |
| 154 | <li class="design"> |
| 155 | <a href="/design/index.html" |
| 156 | zh-tw-lang="設計" |
| 157 | zh-cn-lang="设计" |
| 158 | ru-lang="Проектирование" |
| 159 | ko-lang="디자인" |
| 160 | ja-lang="設計" |
| 161 | es-lang="Diseñar" |
| 162 | >Design</a></li> |
| 163 | <li class="develop"><a href="/develop/index.html" |
| 164 | zh-tw-lang="開發" |
| 165 | zh-cn-lang="开发" |
| 166 | ru-lang="Разработка" |
| 167 | ko-lang="개발" |
| 168 | ja-lang="開発" |
| 169 | es-lang="Desarrollar" |
| 170 | >Develop</a></li> |
| 171 | <li class="distribute last"><a href="/distribute/index.html" |
| 172 | zh-tw-lang="發佈" |
| 173 | zh-cn-lang="分发" |
| 174 | ru-lang="Распространение" |
| 175 | ko-lang="배포" |
| 176 | ja-lang="配布" |
| 177 | es-lang="Distribuir" |
| 178 | >Distribute</a></li> |
| 179 | </ul> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 180 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 181 | |
| 182 | |
| 183 | |
| 184 | <div class="menu-container"> |
| 185 | <div class="moremenu"> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 186 | <div id="more-btn"></div> |
| 187 | </div> |
| 188 | <div class="morehover" id="moremenu"> |
| 189 | <div class="top"></div> |
| 190 | <div class="mid"> |
| 191 | <div class="header">Links</div> |
| 192 | <ul> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 193 | <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 194 | <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> |
| 195 | <li><a href="/about/index.html">About Android</a></li> |
| 196 | </ul> |
| 197 | <div class="header">Android Sites</div> |
| 198 | <ul> |
| 199 | <li><a href="http://www.android.com">Android.com</a></li> |
| 200 | <li class="active"><a>Android Developers</a></li> |
| 201 | <li><a href="http://source.android.com">Android Open Source Project</a></li> |
| 202 | </ul> |
| 203 | |
| 204 | |
| 205 | |
| 206 | <div class="header">Language</div> |
| 207 | <div id="language" class="locales"> |
| 208 | <select name="language" onChange="changeLangPref(this.value, true)"> |
| 209 | <option value="en">English</option> |
| 210 | <option value="es">Español</option> |
| 211 | <option value="ja">日本語</option> |
| 212 | <option value="ko">한국어</option> |
| 213 | <option value="ru">Русский</option> |
| 214 | <option value="zh-cn">中文 (中国)</option> |
| 215 | <option value="zh-tw">中文 (台灣)</option> |
| 216 | </select> |
| 217 | </div> |
| 218 | <script type="text/javascript"> |
| 219 | <!-- |
| 220 | loadLangPref(); |
| 221 | //--> |
| 222 | </script> |
| 223 | |
| 224 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 225 | <br class="clearfix" /> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 226 | </div><!-- end 'mid' --> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 227 | <div class="bottom"></div> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 228 | </div><!-- end 'moremenu' --> |
| 229 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 230 | <div class="search" id="search-container"> |
| 231 | <div class="search-inner"> |
| 232 | <div id="search-btn"></div> |
| 233 | <div class="left"></div> |
| 234 | <form onsubmit="return submit_search()"> |
| 235 | <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 236 | onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" |
| 237 | onkeydown="return search_changed(event, true, '/')" |
| 238 | onkeyup="return search_changed(event, false, '/')" /> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 239 | </form> |
| 240 | <div class="right"></div> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 241 | <a class="close hide">close</a> |
| 242 | <div class="left"></div> |
| 243 | <div class="right"></div> |
| 244 | </div><!-- end search-inner --> |
| 245 | </div><!-- end search-container --> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 246 | |
| 247 | <div class="search_filtered_wrapper reference"> |
| 248 | <div class="suggest-card reference no-display"> |
| 249 | <ul class="search_filtered"> |
| 250 | </ul> |
| 251 | </div> |
| 252 | </div> |
| 253 | |
| 254 | <div class="search_filtered_wrapper docs"> |
| 255 | <div class="suggest-card dummy no-display"> </div> |
| 256 | <div class="suggest-card develop no-display"> |
| 257 | <ul class="search_filtered"> |
| 258 | </ul> |
| 259 | <div class="child-card guides no-display"> |
| 260 | </div> |
| 261 | <div class="child-card training no-display"> |
| 262 | </div> |
| 263 | <div class="child-card samples no-display"> |
| 264 | </div> |
| 265 | </div> |
| 266 | <div class="suggest-card design no-display"> |
| 267 | <ul class="search_filtered"> |
| 268 | </ul> |
| 269 | </div> |
| 270 | <div class="suggest-card distribute no-display"> |
| 271 | <ul class="search_filtered"> |
| 272 | </ul> |
| 273 | </div> |
| 274 | </div> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 275 | </div><!-- end menu-container (search and menu widget) --> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 276 | |
| 277 | |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 278 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 279 | <!-- Expanded quicknav --> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 280 | <div id="quicknav" class="col-13"> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 281 | <ul> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 282 | <li class="about"> |
| 283 | <ul> |
| 284 | <li><a href="/about/index.html">About</a></li> |
| 285 | <li><a href="/wear/index.html">Wear</a></li> |
| 286 | <li><a href="/tv/index.html">TV</a></li> |
| 287 | <li><a href="/auto/index.html">Auto</a></li> |
| 288 | </ul> |
| 289 | </li> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 290 | <li class="design"> |
| 291 | <ul> |
| 292 | <li><a href="/design/index.html">Get Started</a></li> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 293 | <li><a href="/design/devices.html">Devices</a></li> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 294 | <li><a href="/design/style/index.html">Style</a></li> |
| 295 | <li><a href="/design/patterns/index.html">Patterns</a></li> |
| 296 | <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> |
| 297 | <li><a href="/design/downloads/index.html">Downloads</a></li> |
| 298 | <li><a href="/design/videos/index.html">Videos</a></li> |
| 299 | </ul> |
| 300 | </li> |
| 301 | <li class="develop"> |
| 302 | <ul> |
| 303 | <li><a href="/training/index.html" |
| 304 | zh-tw-lang="訓練課程" |
| 305 | zh-cn-lang="培训" |
| 306 | ru-lang="Курсы" |
| 307 | ko-lang="교육" |
| 308 | ja-lang="トレーニング" |
| 309 | es-lang="Capacitación" |
| 310 | >Training</a></li> |
| 311 | <li><a href="/guide/index.html" |
| 312 | zh-tw-lang="API 指南" |
| 313 | zh-cn-lang="API 指南" |
| 314 | ru-lang="Руководства по API" |
| 315 | ko-lang="API 가이드" |
| 316 | ja-lang="API ガイド" |
| 317 | es-lang="Guías de la API" |
| 318 | >API Guides</a></li> |
| 319 | <li><a href="/reference/packages.html" |
| 320 | zh-tw-lang="參考資源" |
| 321 | zh-cn-lang="参考" |
| 322 | ru-lang="Справочник" |
| 323 | ko-lang="참조문서" |
| 324 | ja-lang="リファレンス" |
| 325 | es-lang="Referencia" |
| 326 | >Reference</a></li> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 327 | <li><a href="/sdk/index.html" |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 328 | zh-tw-lang="相關工具" |
| 329 | zh-cn-lang="工具" |
| 330 | ru-lang="Инструменты" |
| 331 | ko-lang="도구" |
| 332 | ja-lang="ツール" |
| 333 | es-lang="Herramientas" |
| 334 | >Tools</a> |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 335 | </li> |
| 336 | <li><a href="/google/index.html">Google Services</a> |
| 337 | </li> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 338 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 339 | <li><a href="/samples/index.html">Samples</a> |
| 340 | </li> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 341 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 342 | </ul> |
| 343 | </li> |
| 344 | <li class="distribute last"> |
| 345 | <ul> |
| 346 | <li><a href="/distribute/googleplay/index.html">Google Play</a></li> |
| 347 | <li><a href="/distribute/essentials/index.html">Essentials</a></li> |
| 348 | <li><a href="/distribute/users/index.html">Get Users</a></li> |
| 349 | <li><a href="/distribute/engage/index.html">Engage & Retain</a></li> |
| 350 | <li><a href="/distribute/monetize/index.html">Monetize</a></li> |
| 351 | <li><a href="/distribute/tools/index.html">Tools & Reference</a></li> |
| 352 | <li><a href="/distribute/stories/index.html">Developer Stories</a></li> |
| 353 | </ul> |
| 354 | </li> |
| 355 | </ul> |
| 356 | </div><!-- /Expanded quicknav --> |
| 357 | </div><!-- end header-wrap.wrap --> |
| 358 | </div><!-- end header --> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 359 | |
| 360 | |
| 361 | <!-- Secondary x-nav --> |
| 362 | <div id="nav-x"> |
| 363 | <div class="wrap"> |
| 364 | <ul class="nav-x col-9 develop" style="width:100%"> |
| 365 | <li class="training"><a href="/training/index.html" |
| 366 | zh-tw-lang="訓練課程" |
| 367 | zh-cn-lang="培训" |
| 368 | ru-lang="Курсы" |
| 369 | ko-lang="교육" |
| 370 | ja-lang="トレーニング" |
| 371 | es-lang="Capacitación" |
| 372 | >Training</a></li> |
| 373 | <li class="guide"><a href="/guide/index.html" |
| 374 | zh-tw-lang="API 指南" |
| 375 | zh-cn-lang="API 指南" |
| 376 | ru-lang="Руководства по API" |
| 377 | ko-lang="API 가이드" |
| 378 | ja-lang="API ガイド" |
| 379 | es-lang="Guías de la API" |
| 380 | >API Guides</a></li> |
| 381 | <li class="reference"><a href="/reference/packages.html" |
| 382 | zh-tw-lang="參考資源" |
| 383 | zh-cn-lang="参考" |
| 384 | ru-lang="Справочник" |
| 385 | ko-lang="참조문서" |
| 386 | ja-lang="リファレンス" |
| 387 | es-lang="Referencia" |
| 388 | >Reference</a></li> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 389 | <li class="tools"><a href="/sdk/index.html" |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 390 | zh-tw-lang="相關工具" |
| 391 | zh-cn-lang="工具" |
| 392 | ru-lang="Инструменты" |
| 393 | ko-lang="도구" |
| 394 | ja-lang="ツール" |
| 395 | es-lang="Herramientas" |
| 396 | >Tools</a></li> |
| 397 | <li class="google"><a href="/google/index.html" |
| 398 | >Google Services</a> |
| 399 | </li> |
| 400 | |
| 401 | <li class="samples"><a href="/samples/index.html" |
| 402 | >Samples</a> |
| 403 | </li> |
| 404 | |
| 405 | </ul> |
| 406 | </div> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 407 | </div> |
Quddus Chong | 559c006 | 2014-06-12 13:59:34 -0700 | [diff] [blame] | 408 | <!-- /Sendondary x-nav DEVELOP --> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 409 | |
| 410 | |
| 411 | |
Quddus Chong | 26ca3fa | 2014-05-06 17:02:49 -0700 | [diff] [blame] | 412 | <div id="searchResults" class="wrap" style="display:none;"> |
| 413 | <h2 id="searchTitle">Results</h2> |
| 414 | <div id="leftSearchControl" class="search-control">Loading...</div> |
| 415 | </div> |
| 416 | </div> <!--end header-wrapper --> |
| 417 | |
| 418 | <div id="sticky-header"> |
| 419 | <div> |
| 420 | <a class="logo" href="#top"></a> |
| 421 | <a class="top" href="#top"></a> |
| 422 | <ul class="breadcrumb"> |
| 423 | |
| 424 | <li class="current">TagManager</li> |
| 425 | </ul> |
| 426 | </div> |
| 427 | </div> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 428 | |
| 429 | |
| 430 | |
| 431 | |
| 432 | |
| 433 | |
| 434 | <div class="wrap clearfix" id="body-content"> |
| 435 | <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> |
| 436 | <div id="devdoc-nav" class="scroll-pane"> |
quddusc | 682d8e9 | 2014-03-13 11:55:32 -0700 | [diff] [blame] | 437 | |
| 438 | |
| 439 | |
| 440 | <ul id="nav"> |
| 441 | |
| 442 | <li class="nav-section"> |
| 443 | <div class="nav-section-header empty"><a href="/google/index.html"> |
| 444 | <span class="en">Overview</span> |
| 445 | </a></div> |
| 446 | </li> |
| 447 | |
| 448 | <li class="nav-section"> |
| 449 | <div class="nav-section-header empty"><a href="/google/play-services/games.html"> |
| 450 | <span class="en">Games</span> |
| 451 | </a></div> |
| 452 | </li> |
| 453 | <li class="nav-section"> |
| 454 | <div class="nav-section-header empty"><a href="/google/play-services/location.html"> |
| 455 | <span class="en">Location</span> |
| 456 | </a></div> |
| 457 | </li> |
| 458 | <li class="nav-section"> |
| 459 | <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> |
| 460 | <span class="en">Google+</span> |
| 461 | </a></div> |
| 462 | </li> |
| 463 | <li class="nav-section"> |
| 464 | <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> |
| 465 | <span class="en">Maps</span> |
| 466 | </a></div> |
| 467 | </li> |
| 468 | <li class="nav-section"> |
| 469 | <div class="nav-section-header empty"><a href="/google/play-services/drive.html"> |
| 470 | <span class="en">Drive</span> |
| 471 | </a></div> |
| 472 | </li> |
| 473 | <li class="nav-section"> |
| 474 | <div class="nav-section-header empty"><a href="/google/play-services/cast.html"> |
| 475 | <span class="en">Cast</span> |
| 476 | </a></div> |
| 477 | </li> |
| 478 | <li class="nav-section"> |
| 479 | <div class="nav-section-header"><a href="/google/play-services/ads.html"> |
| 480 | <span class="en">Ads</span></a> |
| 481 | </div> |
| 482 | <ul> |
| 483 | <li><a href="/google/play-services/id.html"> |
| 484 | <span class="en">Advertising ID</span></a> |
| 485 | </li> |
| 486 | </ul> |
| 487 | </li> |
| 488 | <li class="nav-section"> |
| 489 | <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> |
| 490 | <span class="en">Wallet</span> |
| 491 | </a></div> |
| 492 | </li> |
| 493 | |
| 494 | |
| 495 | <li class="nav-section"> |
| 496 | <div class="nav-section-header"><a href="/google/play-services/index.html"> |
| 497 | <span class="en">Google Play Services</span></a> |
| 498 | </div> |
| 499 | <ul> |
| 500 | <li><a href="/google/play-services/setup.html"> |
| 501 | <span class="en">Setup</span></a> |
| 502 | </li> |
| 503 | <li class="nav-section"> |
| 504 | <div class="nav-section-header"><a href="/google/auth/api-client.html"> |
| 505 | <span class="en">Accessing Google Play Services APIs</span></a> |
| 506 | </div> |
| 507 | <ul> |
| 508 | <li> |
| 509 | <a href="/google/auth/http-auth.html"> |
| 510 | <span class="en">Authorizing with Google for REST APIs</span> |
| 511 | </a> |
| 512 | </li> |
| 513 | </ul> |
| 514 | </li> |
| 515 | <li id="gms-tree-list" class="nav-section"> |
| 516 | <div class="nav-section-header"> |
| 517 | <a href="/reference/gms-packages.html"> |
| 518 | <span class="en">Reference</span> |
| 519 | </a> |
| 520 | <div> |
| 521 | </li> |
| 522 | </ul> |
| 523 | </li> |
| 524 | |
| 525 | |
| 526 | <li class="nav-section"> |
| 527 | <div class="nav-section-header"><a href="/google/play/billing/index.html"> |
| 528 | <span class="en">Google Play In-app Billing</span></a> |
| 529 | </div> |
| 530 | <ul> |
| 531 | <li><a href="/google/play/billing/billing_overview.html"> |
| 532 | <span class="en">Overview</span></a> |
| 533 | </li> |
| 534 | <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html"> |
| 535 | <span class="en">Version 3 API</span></a></div> |
| 536 | <ul> |
| 537 | <li><a href="/google/play/billing/billing_integrate.html"> |
| 538 | <span class="en">Implementing the API</span></a></li> |
| 539 | <li><a href="/google/play/billing/billing_reference.html"> |
| 540 | <span class="en">Reference</span></a></li> |
| 541 | </ul> |
| 542 | </li> |
| 543 | <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> |
| 544 | <span class="en">Version 2 API</span></a></div> |
| 545 | <ul> |
| 546 | <li><a href="/google/play/billing/v2/billing_integrate.html"> |
| 547 | <span class="en">Implementing the API</span></a></li> |
| 548 | <li><a href="/google/play/billing/v2/billing_subscriptions.html"> |
| 549 | <span class="en">Subscriptions</span></a></li> |
| 550 | <li><a href="/google/play/billing/v2/billing_reference.html"> |
| 551 | <span class="en">Reference</span></a></li> |
| 552 | </ul> |
| 553 | </li> |
| 554 | <li><a href="/google/play/billing/billing_subscriptions.html"> |
| 555 | <span class="en">Subscriptions</span></a> |
| 556 | </li> |
| 557 | <li><a href="/google/play/billing/billing_best_practices.html"> |
| 558 | <span class="en">Security and Design</span></a> |
| 559 | </li> |
| 560 | <li><a href="/google/play/billing/billing_testing.html"> |
| 561 | <span class="en">Testing In-app Billing</span></a> |
| 562 | </li> |
| 563 | <li><a href="/google/play/billing/billing_admin.html"> |
| 564 | <span class="en">Administering In-app Billing</span></a> |
| 565 | </li> |
| 566 | <li><a href="/google/play/billing/gp-purchase-status-api.html"> |
| 567 | <span class="en">Purchase Status API</span></a> |
| 568 | </li> |
| 569 | <li><a href="/google/play/billing/versions.html"> |
| 570 | <span class="en">Version Notes</span></a> |
| 571 | </li> |
| 572 | </ul> |
| 573 | </li> |
| 574 | |
| 575 | |
| 576 | |
| 577 | <li class="nav-section"> |
| 578 | <div class="nav-section-header"><a href="/google/gcm/index.html"> |
| 579 | <span class="en">Google Cloud Messaging</span></a> |
| 580 | </div> |
| 581 | <ul> |
| 582 | <li><a href="/google/gcm/gcm.html"> |
| 583 | <span class="en">Overview</span></a> |
| 584 | </li> |
| 585 | <li><a href="/google/gcm/gs.html"> |
| 586 | <span class="en">Getting Started</span></a> |
| 587 | </li> |
| 588 | <li><a href="/google/gcm/client.html"> |
| 589 | <span class="en">Implementing GCM Client</span></a> |
| 590 | </li> |
| 591 | <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html"> |
| 592 | <span class="en">Implementing GCM Server</span></a></div> |
| 593 | <ul> |
| 594 | <li><a href="/google/gcm/ccs.html"> |
| 595 | <span class="en">CCS (XMPP)</span></a></li> |
| 596 | <li><a href="/google/gcm/http.html"> |
| 597 | <span class="en">HTTP</span></a></li> |
| 598 | </ul> |
| 599 | </li> |
| 600 | <li><a href="/google/gcm/notifications.html"> |
| 601 | <span class="en">User Notifications</span></a> |
| 602 | </li> |
| 603 | <li><a href="/google/gcm/adv.html"> |
| 604 | <span class="en">Advanced Topics</span></a> |
| 605 | </li> |
| 606 | <li><a href="/google/gcm/c2dm.html"> |
| 607 | <span class="en">Migration</span></a> |
| 608 | </li> |
| 609 | <li id="gcm-tree-list" class="nav-section"> |
| 610 | <div class="nav-section-header"> |
| 611 | <a href="/reference/gcm-packages.html"> |
| 612 | <span class="en">Reference</span> |
| 613 | </a> |
| 614 | <div> |
| 615 | </li> |
| 616 | </ul> |
| 617 | </li> |
| 618 | |
| 619 | <li class="nav-section"> |
| 620 | <div class="nav-section-header"><a href="/google/play/dist.html"> |
| 621 | <span class="en">Google Play Distribution</span></a> |
| 622 | </div> |
| 623 | <ul> |
| 624 | <li><a href="/google/play/filters.html"> |
| 625 | <span class="en">Filters on Google Play</span></a> |
| 626 | </li> |
| 627 | |
| 628 | <li><a href="/google/play/publishing/multiple-apks.html"> |
| 629 | <span class="en">Multiple APK Support</span></a> |
| 630 | </li> |
| 631 | <li><a href="/google/play/expansion-files.html"> |
| 632 | <span class="en">APK Expansion Files</span></a> |
| 633 | </li> |
| 634 | <li class="nav-section"> |
| 635 | <div class="nav-section-header"><a href="/google/play/licensing/index.html"> |
| 636 | <span class="en">Application Licensing</span></a> |
| 637 | </div> |
| 638 | <ul> |
| 639 | <li><a href="/google/play/licensing/overview.html"> |
| 640 | <span class="en">Licensing Overview</span></a> |
| 641 | </li> |
| 642 | <li><a href="/google/play/licensing/setting-up.html"> |
| 643 | <span class="en">Setting Up for Licensing</span></a> |
| 644 | </li> |
| 645 | <li><a href="/google/play/licensing/adding-licensing.html"> |
| 646 | <span class="en">Adding Licensing to Your App</span></a> |
| 647 | </li> |
| 648 | <li><a href="/google/play/licensing/licensing-reference.html"> |
| 649 | <span class="en">Licensing Reference</span></a> |
| 650 | </li> |
| 651 | </ul> |
| 652 | </li> |
| 653 | |
| 654 | <li class="nav-section"> |
| 655 | <div class="nav-section-header"><a href="/google/backup/index.html"> |
| 656 | Android Backup Service</a> |
| 657 | </div> |
| 658 | <ul> |
| 659 | <li><a href="/google/backup/signup.html"> |
| 660 | Register</a> |
| 661 | </li> |
| 662 | </ul> |
| 663 | </li> |
| 664 | |
| 665 | </ul> |
| 666 | |
| 667 | </li> |
| 668 | |
| 669 | |
| 670 | |
| 671 | </ul> |
| 672 | |
| 673 | <script type="text/javascript"> |
| 674 | <!-- |
| 675 | buildToggleLists(); |
| 676 | changeNavLang(getLangPref()); |
| 677 | //--> |
| 678 | </script> |
| 679 | |
| 680 | |
| 681 | |
| 682 | |
| 683 | </div> |
| 684 | <script type="text/javascript"> |
| 685 | showGoogleRefTree(); |
| 686 | |
| 687 | </script> |
| 688 | </div> <!-- end side-nav --> |
| 689 | <script> |
| 690 | $(document).ready(function() { |
| 691 | scrollIntoView("devdoc-nav"); |
| 692 | }); |
| 693 | </script> |
| 694 | |
| 695 | |
| 696 | |
| 697 | |
| 698 | |
| 699 | |
| 700 | <div class="col-12" id="doc-col"> |
| 701 | |
| 702 | <div id="api-info-block"> |
| 703 | |
| 704 | |
| 705 | |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | |
| 711 | |
| 712 | |
| 713 | |
| 714 | <div class="sum-details-links"> |
| 715 | |
| 716 | Summary: |
| 717 | |
| 718 | |
| 719 | |
| 720 | |
| 721 | |
| 722 | |
| 723 | |
| 724 | |
| 725 | |
| 726 | |
| 727 | |
| 728 | <a href="#pubmethods">Methods</a> |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | | <a href="#inhmethods">Inherited Methods</a> |
| 734 | |
| 735 | | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> |
| 736 | |
| 737 | </div><!-- end sum-details-links --> |
| 738 | <div class="api-level"> |
| 739 | |
| 740 | |
| 741 | |
| 742 | |
| 743 | </div> |
| 744 | </div><!-- end api-info-block --> |
| 745 | |
| 746 | |
| 747 | <!-- ======== START OF CLASS DATA ======== --> |
| 748 | |
| 749 | <div id="jd-header"> |
| 750 | public |
| 751 | |
| 752 | |
| 753 | |
| 754 | class |
| 755 | <h1 itemprop="name">TagManager</h1> |
| 756 | |
| 757 | |
| 758 | |
| 759 | |
| 760 | extends Object<br/> |
| 761 | |
| 762 | |
| 763 | |
| 764 | |
| 765 | |
| 766 | |
| 767 | |
| 768 | |
| 769 | |
| 770 | </div><!-- end header --> |
| 771 | |
| 772 | <div id="naMessage"></div> |
| 773 | |
| 774 | <div id="jd-content" class="api apilevel-"> |
| 775 | <table class="jd-inheritance-table"> |
| 776 | |
| 777 | |
| 778 | <tr> |
| 779 | |
| 780 | <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> |
| 781 | </tr> |
| 782 | |
| 783 | |
| 784 | <tr> |
| 785 | |
| 786 | <td class="jd-inheritance-space"> ↳</td> |
| 787 | |
| 788 | <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.tagmanager.TagManager</td> |
| 789 | </tr> |
| 790 | |
| 791 | |
| 792 | </table> |
| 793 | |
| 794 | |
| 795 | |
| 796 | |
| 797 | |
| 798 | |
| 799 | |
| 800 | <div class="jd-descr"> |
| 801 | |
| 802 | |
| 803 | <h2>Class Overview</h2> |
| 804 | <p itemprop="articleBody">This is the mobile implementation of Google Tag Manager (GTM). Sample usage: |
| 805 | |
| 806 | <pre> |
| 807 | TagManager tagManager = TagManager.getInstance(context); |
| 808 | PendingResult<ContainerHolder> pending = tagManager.loadContainerPreferNonDefault( |
| 809 | myContainerId, // container ID of the form "GTM-XXXX" |
| 810 | R.raw.GTM-XXXX, // the resource ID of the default container |
| 811 | true); // the default container is in JSON format (as opposed to binary) |
| 812 | ... |
| 813 | ContainerHolder containerHolder = pending.await(2, TimeUnit.SECONDS); |
| 814 | if (containerHolder.getStatus() != Status.RESULT_SUCCESS) { |
| 815 | // deal with failure |
| 816 | } |
| 817 | String value = containerHolder.getContainer().getString("myKey"); |
| 818 | |
| 819 | DataLayer dataLayer = TagManager.getInstance(context).getDataLayer(); |
| 820 | dataLayer.pushEvent("openScreen", DataLayer.mapOf("screenName", "Main Page")); |
| 821 | </pre> |
| 822 | |
| 823 | A container is a collection of macros, tags and rules. It is created within the <A |
| 824 | href="http://www.google.com/tagmanager">GTM application</A>, and is assigned a container ID. This |
| 825 | container ID is the one used within this API. |
| 826 | <p> |
| 827 | The <code><a href="/reference/com/google/android/gms/tagmanager/Container.html">Container</a></code> class provides methods for retrieving values given a key. The routines |
| 828 | <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getBoolean(java.lang.String)">getBoolean(String)</a></code>, <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getDouble(java.lang.String)">getDouble(String)</a></code>, |
| 829 | <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getLong(java.lang.String)">getLong(String)</a></code>, <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getString(java.lang.String)">getString(String)</a></code> return the current value |
| 830 | for the key of a value collection macro, depending on the rules associated with the container. |
| 831 | <p> |
| 832 | As an example, if your container has a value collection macro with a key <code>speed</code> whose |
| 833 | value is 32, and the enabling rule is <code>Language</code> is "en"; and another value collection |
| 834 | macro with a key <code>speed</code> whose value is 45, and the enabling rule is <code>Language</code> is |
| 835 | not "en", then making the following call: |
| 836 | |
| 837 | <pre> |
| 838 | container.getLong("speed") |
| 839 | </pre> |
| 840 | |
| 841 | will return either 32 if the current language of the device is English, or 45 otherwise. |
| 842 | <p> |
| 843 | The data layer is a map holding generic information about the application. The <code><a href="/reference/com/google/android/gms/tagmanager/DataLayer.html">DataLayer</a></code> |
| 844 | class provides methods to push and retrieve data from the data layer. Pushing an |
| 845 | <code>event</code> key to the data layer will cause tags that match this event to fire. |
| 846 | <p> |
| 847 | An initial version of the container is bundled with the application. It should be placed as a |
| 848 | raw resource in the <code>res/raw</code> directory. When you call one of the |
| 849 | <code>loadContainer...</code> methods, you'll pass in the assigned ID (<code>R.raw.<I>filename</I></code>); the |
| 850 | container will be returned with those bundled rules/macros. You will create the container in the |
| 851 | UI and use the Download button to download it. Alternatively, you can provide a JSON file |
| 852 | containing key/value pairs. |
| 853 | <p> |
| 854 | You can modify the container in the UI and publish a new version. In that case, the next time the |
| 855 | mobile app refreshes the container from the network (currently every 12 hours), it will get that |
| 856 | new version. When you call <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code>, it'll make that new container |
| 857 | active and return it. Calling one of the <code>get...</code> routines on that container will return |
| 858 | a value computed using the most recent rules. |
| 859 | <p> |
| 860 | The downloaded container is saved locally; when you call one of the <code>loadContainer...</code> |
| 861 | methods, it will first load the default container, and will then load any saved container. If |
| 862 | none is found, or if it is older than 12 hours, it will try to retrieve a newer version from the |
| 863 | network. |
| 864 | </p> |
| 865 | |
| 866 | |
| 867 | |
| 868 | |
| 869 | |
| 870 | </div><!-- jd-descr --> |
| 871 | |
| 872 | |
| 873 | |
| 874 | |
| 875 | |
| 876 | |
| 877 | |
| 878 | |
| 879 | |
| 880 | |
| 881 | |
| 882 | |
| 883 | |
| 884 | |
| 885 | |
| 886 | |
| 887 | <div class="jd-descr"> |
| 888 | |
| 889 | |
| 890 | <h2>Summary</h2> |
| 891 | |
| 892 | |
| 893 | |
| 894 | |
| 895 | |
| 896 | |
| 897 | |
| 898 | |
| 899 | |
| 900 | |
| 901 | |
| 902 | |
| 903 | |
| 904 | |
| 905 | |
| 906 | |
| 907 | |
| 908 | |
| 909 | |
| 910 | |
| 911 | |
| 912 | |
| 913 | |
| 914 | |
| 915 | |
| 916 | |
| 917 | |
| 918 | <!-- ========== METHOD SUMMARY =========== --> |
| 919 | <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> |
| 920 | |
| 921 | |
| 922 | |
| 923 | |
| 924 | <tr class="alt-color api apilevel-" > |
| 925 | <td class="jd-typecol"><nobr> |
| 926 | |
| 927 | |
| 928 | |
| 929 | |
| 930 | |
| 931 | <a href="/reference/com/google/android/gms/tagmanager/DataLayer.html">DataLayer</a></nobr> |
| 932 | </td> |
| 933 | <td class="jd-linkcol" width="100%"><nobr> |
| 934 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#getDataLayer()">getDataLayer</a></span>()</nobr> |
| 935 | |
| 936 | <div class="jd-descrdiv">Returns the data layer object that is used by the tag manager.</div> |
| 937 | |
| 938 | </td></tr> |
| 939 | |
| 940 | |
| 941 | |
| 942 | <tr class=" api apilevel-" > |
| 943 | <td class="jd-typecol"><nobr> |
| 944 | |
| 945 | |
| 946 | |
| 947 | static |
| 948 | |
| 949 | <a href="/reference/com/google/android/gms/tagmanager/TagManager.html">TagManager</a></nobr> |
| 950 | </td> |
| 951 | <td class="jd-linkcol" width="100%"><nobr> |
| 952 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#getInstance(android.content.Context)">getInstance</a></span>(Context context)</nobr> |
| 953 | |
| 954 | <div class="jd-descrdiv">Get the singleton instance of the <code><a href="/reference/com/google/android/gms/tagmanager/TagManager.html">TagManager</a></code> class, creating it if necessary.</div> |
| 955 | |
| 956 | </td></tr> |
| 957 | |
| 958 | |
| 959 | |
| 960 | <tr class="alt-color api apilevel-" > |
| 961 | <td class="jd-typecol"><nobr> |
| 962 | |
| 963 | |
| 964 | |
| 965 | |
| 966 | |
| 967 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 968 | </td> |
| 969 | <td class="jd-linkcol" width="100%"><nobr> |
| 970 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerDefaultOnly(java.lang.String, int, android.os.Handler)">loadContainerDefaultOnly</a></span>(String containerId, int defaultContainerResourceId, Handler handler)</nobr> |
| 971 | |
| 972 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 973 | soon as either of the following happens: |
| 974 | <ul> |
| 975 | <li>the default container is loaded, or |
| 976 | <li>no default container is found.</div> |
| 977 | |
| 978 | </td></tr> |
| 979 | |
| 980 | |
| 981 | |
| 982 | <tr class=" api apilevel-" > |
| 983 | <td class="jd-typecol"><nobr> |
| 984 | |
| 985 | |
| 986 | |
| 987 | |
| 988 | |
| 989 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 990 | </td> |
| 991 | <td class="jd-linkcol" width="100%"><nobr> |
| 992 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerDefaultOnly(java.lang.String, int)">loadContainerDefaultOnly</a></span>(String containerId, int defaultContainerResourceId)</nobr> |
| 993 | |
| 994 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 995 | soon as either of the following happens: |
| 996 | <ul> |
| 997 | <li>the default container is loaded, or |
| 998 | <li>no default container is found.</div> |
| 999 | |
| 1000 | </td></tr> |
| 1001 | |
| 1002 | |
| 1003 | |
| 1004 | <tr class="alt-color api apilevel-" > |
| 1005 | <td class="jd-typecol"><nobr> |
| 1006 | |
| 1007 | |
| 1008 | |
| 1009 | |
| 1010 | |
| 1011 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 1012 | </td> |
| 1013 | <td class="jd-linkcol" width="100%"><nobr> |
| 1014 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerPreferFresh(java.lang.String, int)">loadContainerPreferFresh</a></span>(String containerId, int defaultContainerResourceId)</nobr> |
| 1015 | |
| 1016 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1017 | soon as one of the following happens: |
| 1018 | <ul> |
| 1019 | <li>a saved container which has been recently refreshed is loaded, |
| 1020 | <li>a network container is loaded or a network error occurs, or |
| 1021 | <li>a timeout occurs (as specified in |
| 1022 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1023 | or |
| 1024 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>.</div> |
| 1025 | |
| 1026 | </td></tr> |
| 1027 | |
| 1028 | |
| 1029 | |
| 1030 | <tr class=" api apilevel-" > |
| 1031 | <td class="jd-typecol"><nobr> |
| 1032 | |
| 1033 | |
| 1034 | |
| 1035 | |
| 1036 | |
| 1037 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 1038 | </td> |
| 1039 | <td class="jd-linkcol" width="100%"><nobr> |
| 1040 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerPreferFresh(java.lang.String, int, android.os.Handler)">loadContainerPreferFresh</a></span>(String containerId, int defaultContainerResourceId, Handler handler)</nobr> |
| 1041 | |
| 1042 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1043 | soon as one of the following happens: |
| 1044 | <ul> |
| 1045 | <li>a saved container which has been recently refreshed is loaded, |
| 1046 | <li>a network container is loaded or a network error occurs, or |
| 1047 | <li>a timeout occurs (as specified in |
| 1048 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1049 | or |
| 1050 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>.</div> |
| 1051 | |
| 1052 | </td></tr> |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | <tr class="alt-color api apilevel-" > |
| 1057 | <td class="jd-typecol"><nobr> |
| 1058 | |
| 1059 | |
| 1060 | |
| 1061 | |
| 1062 | |
| 1063 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 1064 | </td> |
| 1065 | <td class="jd-linkcol" width="100%"><nobr> |
| 1066 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerPreferNonDefault(java.lang.String, int)">loadContainerPreferNonDefault</a></span>(String containerId, int defaultContainerResourceId)</nobr> |
| 1067 | |
| 1068 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1069 | soon as one of the following happens: |
| 1070 | <ul> |
| 1071 | <li>a saved container is loaded, or |
| 1072 | <li>if there is no saved container, a network container is loaded or a network error |
| 1073 | occurs, or |
| 1074 | <li>a timeout occurs (as specified in |
| 1075 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1076 | or |
| 1077 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>.</div> |
| 1078 | |
| 1079 | </td></tr> |
| 1080 | |
| 1081 | |
| 1082 | |
| 1083 | <tr class=" api apilevel-" > |
| 1084 | <td class="jd-typecol"><nobr> |
| 1085 | |
| 1086 | |
| 1087 | |
| 1088 | |
| 1089 | |
| 1090 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>></nobr> |
| 1091 | </td> |
| 1092 | <td class="jd-linkcol" width="100%"><nobr> |
| 1093 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#loadContainerPreferNonDefault(java.lang.String, int, android.os.Handler)">loadContainerPreferNonDefault</a></span>(String containerId, int defaultContainerResourceId, Handler handler)</nobr> |
| 1094 | |
| 1095 | <div class="jd-descrdiv"><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1096 | soon as one of the following happens: |
| 1097 | <ul> |
| 1098 | <li>a saved container is loaded, |
| 1099 | <li>if there is no saved container, a network container is loaded or a network error |
| 1100 | occurs, or |
| 1101 | <li>a timeout occurs (as specified in |
| 1102 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1103 | or |
| 1104 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>.</div> |
| 1105 | |
| 1106 | </td></tr> |
| 1107 | |
| 1108 | |
| 1109 | |
| 1110 | <tr class="alt-color api apilevel-" > |
| 1111 | <td class="jd-typecol"><nobr> |
| 1112 | |
| 1113 | |
| 1114 | |
| 1115 | |
| 1116 | |
| 1117 | void</nobr> |
| 1118 | </td> |
| 1119 | <td class="jd-linkcol" width="100%"><nobr> |
| 1120 | <span class="sympad"><a href="/reference/com/google/android/gms/tagmanager/TagManager.html#setVerboseLoggingEnabled(boolean)">setVerboseLoggingEnabled</a></span>(boolean enableVerboseLogging)</nobr> |
| 1121 | |
| 1122 | <div class="jd-descrdiv">Sets whether or not verbose logging is enabled.</div> |
| 1123 | |
| 1124 | </td></tr> |
| 1125 | |
| 1126 | |
| 1127 | |
| 1128 | </table> |
| 1129 | |
| 1130 | |
| 1131 | |
| 1132 | |
| 1133 | |
| 1134 | |
| 1135 | |
| 1136 | <!-- ========== METHOD SUMMARY =========== --> |
| 1137 | <table id="inhmethods" class="jd-sumtable"><tr><th> |
| 1138 | <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| 1139 | <div style="clear:left;">Inherited Methods</div></th></tr> |
| 1140 | |
| 1141 | |
| 1142 | <tr class="api apilevel-" > |
| 1143 | <td colspan="12"> |
| 1144 | <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" |
| 1145 | ><img id="inherited-methods-java.lang.Object-trigger" |
| 1146 | src="/assets/images/triangle-closed.png" |
| 1147 | class="jd-expando-trigger-img" /></a> |
| 1148 | From class |
| 1149 | |
| 1150 | java.lang.Object |
| 1151 | |
| 1152 | <div id="inherited-methods-java.lang.Object"> |
| 1153 | <div id="inherited-methods-java.lang.Object-list" |
| 1154 | class="jd-inheritedlinks"> |
| 1155 | </div> |
| 1156 | <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> |
| 1157 | <table class="jd-sumtable-expando"> |
| 1158 | |
| 1159 | |
| 1160 | |
| 1161 | |
| 1162 | <tr class="alt-color api apilevel-" > |
| 1163 | <td class="jd-typecol"><nobr> |
| 1164 | |
| 1165 | |
| 1166 | |
| 1167 | |
| 1168 | |
| 1169 | Object</nobr> |
| 1170 | </td> |
| 1171 | <td class="jd-linkcol" width="100%"><nobr> |
| 1172 | <span class="sympad">clone</span>()</nobr> |
| 1173 | |
| 1174 | </td></tr> |
| 1175 | |
| 1176 | |
| 1177 | |
| 1178 | <tr class=" api apilevel-" > |
| 1179 | <td class="jd-typecol"><nobr> |
| 1180 | |
| 1181 | |
| 1182 | |
| 1183 | |
| 1184 | |
| 1185 | boolean</nobr> |
| 1186 | </td> |
| 1187 | <td class="jd-linkcol" width="100%"><nobr> |
| 1188 | <span class="sympad">equals</span>(Object arg0)</nobr> |
| 1189 | |
| 1190 | </td></tr> |
| 1191 | |
| 1192 | |
| 1193 | |
| 1194 | <tr class="alt-color api apilevel-" > |
| 1195 | <td class="jd-typecol"><nobr> |
| 1196 | |
| 1197 | |
| 1198 | |
| 1199 | |
| 1200 | |
| 1201 | void</nobr> |
| 1202 | </td> |
| 1203 | <td class="jd-linkcol" width="100%"><nobr> |
| 1204 | <span class="sympad">finalize</span>()</nobr> |
| 1205 | |
| 1206 | </td></tr> |
| 1207 | |
| 1208 | |
| 1209 | |
| 1210 | <tr class=" api apilevel-" > |
| 1211 | <td class="jd-typecol"><nobr> |
| 1212 | |
| 1213 | |
| 1214 | final |
| 1215 | |
| 1216 | |
| 1217 | Class<?></nobr> |
| 1218 | </td> |
| 1219 | <td class="jd-linkcol" width="100%"><nobr> |
| 1220 | <span class="sympad">getClass</span>()</nobr> |
| 1221 | |
| 1222 | </td></tr> |
| 1223 | |
| 1224 | |
| 1225 | |
| 1226 | <tr class="alt-color api apilevel-" > |
| 1227 | <td class="jd-typecol"><nobr> |
| 1228 | |
| 1229 | |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | int</nobr> |
| 1234 | </td> |
| 1235 | <td class="jd-linkcol" width="100%"><nobr> |
| 1236 | <span class="sympad">hashCode</span>()</nobr> |
| 1237 | |
| 1238 | </td></tr> |
| 1239 | |
| 1240 | |
| 1241 | |
| 1242 | <tr class=" api apilevel-" > |
| 1243 | <td class="jd-typecol"><nobr> |
| 1244 | |
| 1245 | |
| 1246 | final |
| 1247 | |
| 1248 | |
| 1249 | void</nobr> |
| 1250 | </td> |
| 1251 | <td class="jd-linkcol" width="100%"><nobr> |
| 1252 | <span class="sympad">notify</span>()</nobr> |
| 1253 | |
| 1254 | </td></tr> |
| 1255 | |
| 1256 | |
| 1257 | |
| 1258 | <tr class="alt-color api apilevel-" > |
| 1259 | <td class="jd-typecol"><nobr> |
| 1260 | |
| 1261 | |
| 1262 | final |
| 1263 | |
| 1264 | |
| 1265 | void</nobr> |
| 1266 | </td> |
| 1267 | <td class="jd-linkcol" width="100%"><nobr> |
| 1268 | <span class="sympad">notifyAll</span>()</nobr> |
| 1269 | |
| 1270 | </td></tr> |
| 1271 | |
| 1272 | |
| 1273 | |
| 1274 | <tr class=" api apilevel-" > |
| 1275 | <td class="jd-typecol"><nobr> |
| 1276 | |
| 1277 | |
| 1278 | |
| 1279 | |
| 1280 | |
| 1281 | String</nobr> |
| 1282 | </td> |
| 1283 | <td class="jd-linkcol" width="100%"><nobr> |
| 1284 | <span class="sympad">toString</span>()</nobr> |
| 1285 | |
| 1286 | </td></tr> |
| 1287 | |
| 1288 | |
| 1289 | |
| 1290 | <tr class="alt-color api apilevel-" > |
| 1291 | <td class="jd-typecol"><nobr> |
| 1292 | |
| 1293 | |
| 1294 | final |
| 1295 | |
| 1296 | |
| 1297 | void</nobr> |
| 1298 | </td> |
| 1299 | <td class="jd-linkcol" width="100%"><nobr> |
| 1300 | <span class="sympad">wait</span>()</nobr> |
| 1301 | |
| 1302 | </td></tr> |
| 1303 | |
| 1304 | |
| 1305 | |
| 1306 | <tr class=" api apilevel-" > |
| 1307 | <td class="jd-typecol"><nobr> |
| 1308 | |
| 1309 | |
| 1310 | final |
| 1311 | |
| 1312 | |
| 1313 | void</nobr> |
| 1314 | </td> |
| 1315 | <td class="jd-linkcol" width="100%"><nobr> |
| 1316 | <span class="sympad">wait</span>(long arg0, int arg1)</nobr> |
| 1317 | |
| 1318 | </td></tr> |
| 1319 | |
| 1320 | |
| 1321 | |
| 1322 | <tr class="alt-color api apilevel-" > |
| 1323 | <td class="jd-typecol"><nobr> |
| 1324 | |
| 1325 | |
| 1326 | final |
| 1327 | |
| 1328 | |
| 1329 | void</nobr> |
| 1330 | </td> |
| 1331 | <td class="jd-linkcol" width="100%"><nobr> |
| 1332 | <span class="sympad">wait</span>(long arg0)</nobr> |
| 1333 | |
| 1334 | </td></tr> |
| 1335 | |
| 1336 | |
| 1337 | </table> |
| 1338 | </div> |
| 1339 | </div> |
| 1340 | </td></tr> |
| 1341 | |
| 1342 | |
| 1343 | </table> |
| 1344 | |
| 1345 | |
| 1346 | </div><!-- jd-descr (summary) --> |
| 1347 | |
| 1348 | <!-- Details --> |
| 1349 | |
| 1350 | |
| 1351 | |
| 1352 | |
| 1353 | |
| 1354 | |
| 1355 | |
| 1356 | |
| 1357 | <!-- XML Attributes --> |
| 1358 | |
| 1359 | |
| 1360 | <!-- Enum Values --> |
| 1361 | |
| 1362 | |
| 1363 | <!-- Constants --> |
| 1364 | |
| 1365 | |
| 1366 | <!-- Fields --> |
| 1367 | |
| 1368 | |
| 1369 | <!-- Public ctors --> |
| 1370 | |
| 1371 | |
| 1372 | |
| 1373 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 1374 | <!-- Protected ctors --> |
| 1375 | |
| 1376 | |
| 1377 | |
| 1378 | <!-- ========= METHOD DETAIL ======== --> |
| 1379 | <!-- Public methdos --> |
| 1380 | |
| 1381 | <h2>Public Methods</h2> |
| 1382 | |
| 1383 | |
| 1384 | |
| 1385 | <A NAME="getDataLayer()"></A> |
| 1386 | |
| 1387 | <div class="jd-details api apilevel-"> |
| 1388 | <h4 class="jd-details-title"> |
| 1389 | <span class="normal"> |
| 1390 | public |
| 1391 | |
| 1392 | |
| 1393 | |
| 1394 | |
| 1395 | <a href="/reference/com/google/android/gms/tagmanager/DataLayer.html">DataLayer</a> |
| 1396 | </span> |
| 1397 | <span class="sympad">getDataLayer</span> |
| 1398 | <span class="normal">()</span> |
| 1399 | </h4> |
| 1400 | <div class="api-level"> |
| 1401 | <div></div> |
| 1402 | |
| 1403 | |
| 1404 | |
| 1405 | </div> |
| 1406 | <div class="jd-details-descr"> |
| 1407 | |
| 1408 | <div class="jd-tagdata jd-tagdescr"><p>Returns the data layer object that is used by the tag manager. |
| 1409 | </p></div> |
| 1410 | |
| 1411 | </div> |
| 1412 | </div> |
| 1413 | |
| 1414 | |
| 1415 | <A NAME="getInstance(android.content.Context)"></A> |
| 1416 | |
| 1417 | <div class="jd-details api apilevel-"> |
| 1418 | <h4 class="jd-details-title"> |
| 1419 | <span class="normal"> |
| 1420 | public |
| 1421 | static |
| 1422 | |
| 1423 | |
| 1424 | |
| 1425 | <a href="/reference/com/google/android/gms/tagmanager/TagManager.html">TagManager</a> |
| 1426 | </span> |
| 1427 | <span class="sympad">getInstance</span> |
| 1428 | <span class="normal">(Context context)</span> |
| 1429 | </h4> |
| 1430 | <div class="api-level"> |
| 1431 | <div></div> |
| 1432 | |
| 1433 | |
| 1434 | |
| 1435 | </div> |
| 1436 | <div class="jd-details-descr"> |
| 1437 | |
| 1438 | <div class="jd-tagdata jd-tagdescr"><p>Get the singleton instance of the <code><a href="/reference/com/google/android/gms/tagmanager/TagManager.html">TagManager</a></code> class, creating it if necessary. |
| 1439 | </p></div> |
| 1440 | |
| 1441 | </div> |
| 1442 | </div> |
| 1443 | |
| 1444 | |
| 1445 | <A NAME="loadContainerDefaultOnly(java.lang.String, int, android.os.Handler)"></A> |
| 1446 | |
| 1447 | <div class="jd-details api apilevel-"> |
| 1448 | <h4 class="jd-details-title"> |
| 1449 | <span class="normal"> |
| 1450 | public |
| 1451 | |
| 1452 | |
| 1453 | |
| 1454 | |
| 1455 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1456 | </span> |
| 1457 | <span class="sympad">loadContainerDefaultOnly</span> |
| 1458 | <span class="normal">(String containerId, int defaultContainerResourceId, Handler handler)</span> |
| 1459 | </h4> |
| 1460 | <div class="api-level"> |
| 1461 | <div></div> |
| 1462 | |
| 1463 | |
| 1464 | |
| 1465 | </div> |
| 1466 | <div class="jd-details-descr"> |
| 1467 | |
| 1468 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1469 | soon as either of the following happens: |
| 1470 | <ul> |
| 1471 | <li>the default container is loaded, or |
| 1472 | <li>no default container is found. |
| 1473 | </ul> |
| 1474 | <p>If no default container is found, |
| 1475 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> will return <code>null</code> and |
| 1476 | <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> will return an error). |
| 1477 | |
| 1478 | <p> The returned <code>ContainerHolder</code> will not be updated from disk, or from the network. |
| 1479 | The intended use is during development: this provides a way for developers to add new |
| 1480 | container key/value pairs without having to use the GTM UI or needing a network connection. |
| 1481 | A developer can add new key/value pairs to a JSON default container, and then use this call |
| 1482 | to load that container. |
| 1483 | |
| 1484 | <p>You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1485 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1486 | hold a different container. Those separate containers will each fire any tags within them, |
| 1487 | which would cause double-tagging.</p></div> |
| 1488 | <div class="jd-tagdata"> |
| 1489 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1490 | <table class="jd-tagtable"> |
| 1491 | <tr> |
| 1492 | <th>containerId</td> |
| 1493 | <td>the ID of the container to load</td> |
| 1494 | </tr> |
| 1495 | <tr> |
| 1496 | <th>defaultContainerResourceId</td> |
| 1497 | <td>the resource ID of the default container (for example, |
| 1498 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1499 | <code>res/raw/GTM_XYZZY</code>).</td> |
| 1500 | </tr> |
| 1501 | <tr> |
| 1502 | <th>handler</td> |
| 1503 | <td>the handler on whose thread the callback set with |
| 1504 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1505 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code> |
| 1506 | is invoked |
| 1507 | </td> |
| 1508 | </tr> |
| 1509 | </table> |
| 1510 | </div> |
| 1511 | |
| 1512 | </div> |
| 1513 | </div> |
| 1514 | |
| 1515 | |
| 1516 | <A NAME="loadContainerDefaultOnly(java.lang.String, int)"></A> |
| 1517 | |
| 1518 | <div class="jd-details api apilevel-"> |
| 1519 | <h4 class="jd-details-title"> |
| 1520 | <span class="normal"> |
| 1521 | public |
| 1522 | |
| 1523 | |
| 1524 | |
| 1525 | |
| 1526 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1527 | </span> |
| 1528 | <span class="sympad">loadContainerDefaultOnly</span> |
| 1529 | <span class="normal">(String containerId, int defaultContainerResourceId)</span> |
| 1530 | </h4> |
| 1531 | <div class="api-level"> |
| 1532 | <div></div> |
| 1533 | |
| 1534 | |
| 1535 | |
| 1536 | </div> |
| 1537 | <div class="jd-details-descr"> |
| 1538 | |
| 1539 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1540 | soon as either of the following happens: |
| 1541 | <ul> |
| 1542 | <li>the default container is loaded, or |
| 1543 | <li>no default container is found. |
| 1544 | </ul> |
| 1545 | <p>If no default container is found, |
| 1546 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> will return <code>null</code> and |
| 1547 | <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> will return an error). |
| 1548 | |
| 1549 | <p> The returned <code>ContainerHolder</code> will not be updated from disk, or from the network. |
| 1550 | The intended use is during development: this provides a way for developers to add new |
| 1551 | container key/value pairs without having to use the GTM UI or needing a network connection. |
| 1552 | A developer can add new key/value pairs to a JSON default container, and then use this call |
| 1553 | to load that container. |
| 1554 | |
| 1555 | <p>You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1556 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1557 | hold a different container. Those separate containers will each fire any tags within them, |
| 1558 | which would cause double-tagging. |
| 1559 | |
| 1560 | <p> Any callback set by <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1561 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code>, |
| 1562 | will be invoked on the main looper thread.</p></div> |
| 1563 | <div class="jd-tagdata"> |
| 1564 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1565 | <table class="jd-tagtable"> |
| 1566 | <tr> |
| 1567 | <th>containerId</td> |
| 1568 | <td>the ID of the container to load</td> |
| 1569 | </tr> |
| 1570 | <tr> |
| 1571 | <th>defaultContainerResourceId</td> |
| 1572 | <td>the resource ID of the default container (for example, |
| 1573 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1574 | <code>res/raw/GTM_XYZZY</code>). |
| 1575 | </td> |
| 1576 | </tr> |
| 1577 | </table> |
| 1578 | </div> |
| 1579 | |
| 1580 | </div> |
| 1581 | </div> |
| 1582 | |
| 1583 | |
| 1584 | <A NAME="loadContainerPreferFresh(java.lang.String, int)"></A> |
| 1585 | |
| 1586 | <div class="jd-details api apilevel-"> |
| 1587 | <h4 class="jd-details-title"> |
| 1588 | <span class="normal"> |
| 1589 | public |
| 1590 | |
| 1591 | |
| 1592 | |
| 1593 | |
| 1594 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1595 | </span> |
| 1596 | <span class="sympad">loadContainerPreferFresh</span> |
| 1597 | <span class="normal">(String containerId, int defaultContainerResourceId)</span> |
| 1598 | </h4> |
| 1599 | <div class="api-level"> |
| 1600 | <div></div> |
| 1601 | |
| 1602 | |
| 1603 | |
| 1604 | </div> |
| 1605 | <div class="jd-details-descr"> |
| 1606 | |
| 1607 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1608 | soon as one of the following happens: |
| 1609 | <ul> |
| 1610 | <li>a saved container which has been recently refreshed is loaded, |
| 1611 | <li>a network container is loaded or a network error occurs, or |
| 1612 | <li>a timeout occurs (as specified in |
| 1613 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1614 | or |
| 1615 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>. |
| 1616 | </ul> |
| 1617 | <p> |
| 1618 | If a timeout occurs, the container available from <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> will |
| 1619 | be: |
| 1620 | <ul> |
| 1621 | <li>a saved container which has not recently been refreshed (stale). |
| 1622 | <li>a default container (if no stale container is available, or could not be loaded before |
| 1623 | the timeout). |
| 1624 | <li><code>null</code> (if no default container is available, or a saved or default container |
| 1625 | couldn't be loaded before the timeout). In this case, <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> will |
| 1626 | return an error. |
| 1627 | </ul> |
| 1628 | Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#isDefault()">isDefault()</a></code> if you need to know whether the container you have is a |
| 1629 | default container. Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getLastRefreshTime()">getLastRefreshTime()</a></code> to determine when the container |
| 1630 | was last refreshed. |
| 1631 | <p> |
| 1632 | You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1633 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1634 | hold a different container. Those separate containers will each fire any tags within them, |
| 1635 | which would cause double-tagging. |
| 1636 | <p> |
| 1637 | <p> Any callback set by <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1638 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code>, |
| 1639 | will be invoked on the main looper thread.</p></div> |
| 1640 | <div class="jd-tagdata"> |
| 1641 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1642 | <table class="jd-tagtable"> |
| 1643 | <tr> |
| 1644 | <th>containerId</td> |
| 1645 | <td>the ID of the container to load</td> |
| 1646 | </tr> |
| 1647 | <tr> |
| 1648 | <th>defaultContainerResourceId</td> |
| 1649 | <td>the resource ID of the default container (for example, |
| 1650 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1651 | <code>res/raw/GTM_XYZZY</code>). Pass -1 if you have |
| 1652 | no default container. |
| 1653 | </td> |
| 1654 | </tr> |
| 1655 | </table> |
| 1656 | </div> |
| 1657 | |
| 1658 | </div> |
| 1659 | </div> |
| 1660 | |
| 1661 | |
| 1662 | <A NAME="loadContainerPreferFresh(java.lang.String, int, android.os.Handler)"></A> |
| 1663 | |
| 1664 | <div class="jd-details api apilevel-"> |
| 1665 | <h4 class="jd-details-title"> |
| 1666 | <span class="normal"> |
| 1667 | public |
| 1668 | |
| 1669 | |
| 1670 | |
| 1671 | |
| 1672 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1673 | </span> |
| 1674 | <span class="sympad">loadContainerPreferFresh</span> |
| 1675 | <span class="normal">(String containerId, int defaultContainerResourceId, Handler handler)</span> |
| 1676 | </h4> |
| 1677 | <div class="api-level"> |
| 1678 | <div></div> |
| 1679 | |
| 1680 | |
| 1681 | |
| 1682 | </div> |
| 1683 | <div class="jd-details-descr"> |
| 1684 | |
| 1685 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1686 | soon as one of the following happens: |
| 1687 | <ul> |
| 1688 | <li>a saved container which has been recently refreshed is loaded, |
| 1689 | <li>a network container is loaded or a network error occurs, or |
| 1690 | <li>a timeout occurs (as specified in |
| 1691 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1692 | or |
| 1693 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>. |
| 1694 | </ul> |
| 1695 | <p>If a timeout occurs, the container available from <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> |
| 1696 | will be: |
| 1697 | <ul> |
| 1698 | <li>a saved container which has not recently been refreshed (stale). |
| 1699 | <li>a default container (if no stale container is available, or could not be loaded before |
| 1700 | the timeout). |
| 1701 | <li><code>null</code> (if no default container is available, or a saved or default container |
| 1702 | couldn't be loaded before the timeout). In this case, <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> |
| 1703 | will return an error. |
| 1704 | </ul> |
| 1705 | |
| 1706 | Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#isDefault()">isDefault()</a></code> if you need to know whether the container you have is a |
| 1707 | default container. Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#getLastRefreshTime()">getLastRefreshTime()</a></code> to determine when the container |
| 1708 | was last refreshed. |
| 1709 | <p> |
| 1710 | <p>You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1711 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1712 | hold a different container. Those separate containers will each fire any tags within them, |
| 1713 | which would cause double-tagging.</p></div> |
| 1714 | <div class="jd-tagdata"> |
| 1715 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1716 | <table class="jd-tagtable"> |
| 1717 | <tr> |
| 1718 | <th>containerId</td> |
| 1719 | <td>the ID of the container to load</td> |
| 1720 | </tr> |
| 1721 | <tr> |
| 1722 | <th>defaultContainerResourceId</td> |
| 1723 | <td>the resource ID of the default container (for example, |
| 1724 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1725 | <code>res/raw/GTM_XYZZY</code>). Pass -1 if you have no default container.</td> |
| 1726 | </tr> |
| 1727 | <tr> |
| 1728 | <th>handler</td> |
| 1729 | <td>the handler on whose thread the callback set with |
| 1730 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1731 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code> |
| 1732 | is invoked |
| 1733 | </td> |
| 1734 | </tr> |
| 1735 | </table> |
| 1736 | </div> |
| 1737 | |
| 1738 | </div> |
| 1739 | </div> |
| 1740 | |
| 1741 | |
| 1742 | <A NAME="loadContainerPreferNonDefault(java.lang.String, int)"></A> |
| 1743 | |
| 1744 | <div class="jd-details api apilevel-"> |
| 1745 | <h4 class="jd-details-title"> |
| 1746 | <span class="normal"> |
| 1747 | public |
| 1748 | |
| 1749 | |
| 1750 | |
| 1751 | |
| 1752 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1753 | </span> |
| 1754 | <span class="sympad">loadContainerPreferNonDefault</span> |
| 1755 | <span class="normal">(String containerId, int defaultContainerResourceId)</span> |
| 1756 | </h4> |
| 1757 | <div class="api-level"> |
| 1758 | <div></div> |
| 1759 | |
| 1760 | |
| 1761 | |
| 1762 | </div> |
| 1763 | <div class="jd-details-descr"> |
| 1764 | |
| 1765 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1766 | soon as one of the following happens: |
| 1767 | <ul> |
| 1768 | <li>a saved container is loaded, or |
| 1769 | <li>if there is no saved container, a network container is loaded or a network error |
| 1770 | occurs, or |
| 1771 | <li>a timeout occurs (as specified in |
| 1772 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1773 | or |
| 1774 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>. |
| 1775 | </ul> |
| 1776 | <p>If a timeout occurs, the container available from <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> |
| 1777 | will (initially) be a default container, if available (if no default container is available, |
| 1778 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> will return <code>null</code> and |
| 1779 | <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> will return an error). Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#isDefault()">isDefault()</a></code> if |
| 1780 | you need to know whether the container you have is a default container. |
| 1781 | |
| 1782 | <p>You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1783 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1784 | hold a different container. Those separate containers will each fire any tags within them, |
| 1785 | which would cause double-tagging. |
| 1786 | |
| 1787 | <p> Any callback set by <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1788 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code>, |
| 1789 | will be invoked on the main looper thread.</p></div> |
| 1790 | <div class="jd-tagdata"> |
| 1791 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1792 | <table class="jd-tagtable"> |
| 1793 | <tr> |
| 1794 | <th>containerId</td> |
| 1795 | <td>the ID of the container to load</td> |
| 1796 | </tr> |
| 1797 | <tr> |
| 1798 | <th>defaultContainerResourceId</td> |
| 1799 | <td>the resource ID of the default container (for example, |
| 1800 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1801 | <code>res/raw/GTM_XYZZY</code>). Pass -1 if you have no default container. |
| 1802 | </td> |
| 1803 | </tr> |
| 1804 | </table> |
| 1805 | </div> |
| 1806 | |
| 1807 | </div> |
| 1808 | </div> |
| 1809 | |
| 1810 | |
| 1811 | <A NAME="loadContainerPreferNonDefault(java.lang.String, int, android.os.Handler)"></A> |
| 1812 | |
| 1813 | <div class="jd-details api apilevel-"> |
| 1814 | <h4 class="jd-details-title"> |
| 1815 | <span class="normal"> |
| 1816 | public |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | <a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a><<a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a>> |
| 1822 | </span> |
| 1823 | <span class="sympad">loadContainerPreferNonDefault</span> |
| 1824 | <span class="normal">(String containerId, int defaultContainerResourceId, Handler handler)</span> |
| 1825 | </h4> |
| 1826 | <div class="api-level"> |
| 1827 | <div></div> |
| 1828 | |
| 1829 | |
| 1830 | |
| 1831 | </div> |
| 1832 | <div class="jd-details-descr"> |
| 1833 | |
| 1834 | <div class="jd-tagdata jd-tagdescr"><p><p>The <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></code> will be available from the returned <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html">PendingResult</a></code> as |
| 1835 | soon as one of the following happens: |
| 1836 | <ul> |
| 1837 | <li>a saved container is loaded, |
| 1838 | <li>if there is no saved container, a network container is loaded or a network error |
| 1839 | occurs, or |
| 1840 | <li>a timeout occurs (as specified in |
| 1841 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#await(long, java.util.concurrent.TimeUnit)">await(long, java.util.concurrent.TimeUnit)</a></code>, |
| 1842 | or |
| 1843 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>, long, java.util.concurrent.TimeUnit)">setResultCallback(com.google.android.gms.common.api.ResultCallback, long, java.util.concurrent.TimeUnit)</a></code>. |
| 1844 | </ul> |
| 1845 | |
| 1846 | <p>If a timeout occurs, the container available from <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> |
| 1847 | will (initially) be a default container, if available (if no default container is available, |
| 1848 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#getContainer()">getContainer()</a></code> will return <code>null</code> and |
| 1849 | <code><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus()</a></code> will return an error). Use <code><a href="/reference/com/google/android/gms/tagmanager/Container.html#isDefault()">isDefault()</a></code> if |
| 1850 | you need to know whether the container you have is a default container. |
| 1851 | |
| 1852 | |
| 1853 | <p>You should not call any of the <code>loadContainer</code> methods a second time with a given |
| 1854 | <code>containerId</code>, since a different <code>ContainerHolder</code> will be returned which will |
| 1855 | hold a different container. Those separate containers will each fire any tags within them, |
| 1856 | which would cause double-tagging.</p></div> |
| 1857 | <div class="jd-tagdata"> |
| 1858 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1859 | <table class="jd-tagtable"> |
| 1860 | <tr> |
| 1861 | <th>containerId</td> |
| 1862 | <td>the ID of the container to load</td> |
| 1863 | </tr> |
| 1864 | <tr> |
| 1865 | <th>defaultContainerResourceId</td> |
| 1866 | <td>the resource ID of the default container (for example, |
| 1867 | <code>R.raw.GTM_XYZZY</code> if you stored your container in |
| 1868 | <code>res/raw/GTM_XYZZY</code>). Pass -1 if you have no default container.</td> |
| 1869 | </tr> |
| 1870 | <tr> |
| 1871 | <th>handler</td> |
| 1872 | <td>the handler on whose thread the callback set with |
| 1873 | <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#setResultCallback(com.google.android.gms.common.api.ResultCallback<R>)">setResultCallback(ResultCallback<R>)</a></code> or |
| 1874 | <code><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html#setContainerAvailableListener(com.google.android.gms.tagmanager.ContainerHolder.ContainerAvailableListener)">setContainerAvailableListener(ContainerHolder.ContainerAvailableListener)</a></code> |
| 1875 | is invoked |
| 1876 | </td> |
| 1877 | </tr> |
| 1878 | </table> |
| 1879 | </div> |
| 1880 | |
| 1881 | </div> |
| 1882 | </div> |
| 1883 | |
| 1884 | |
| 1885 | <A NAME="setVerboseLoggingEnabled(boolean)"></A> |
| 1886 | |
| 1887 | <div class="jd-details api apilevel-"> |
| 1888 | <h4 class="jd-details-title"> |
| 1889 | <span class="normal"> |
| 1890 | public |
| 1891 | |
| 1892 | |
| 1893 | |
| 1894 | |
| 1895 | void |
| 1896 | </span> |
| 1897 | <span class="sympad">setVerboseLoggingEnabled</span> |
| 1898 | <span class="normal">(boolean enableVerboseLogging)</span> |
| 1899 | </h4> |
| 1900 | <div class="api-level"> |
| 1901 | <div></div> |
| 1902 | |
| 1903 | |
| 1904 | |
| 1905 | </div> |
| 1906 | <div class="jd-details-descr"> |
| 1907 | |
| 1908 | <div class="jd-tagdata jd-tagdescr"><p>Sets whether or not verbose logging is enabled. By default, verbose logging is not enabled. |
| 1909 | </p></div> |
| 1910 | |
| 1911 | </div> |
| 1912 | </div> |
| 1913 | |
| 1914 | |
| 1915 | |
| 1916 | |
| 1917 | |
| 1918 | <!-- ========= METHOD DETAIL ======== --> |
| 1919 | |
| 1920 | |
| 1921 | |
| 1922 | <!-- ========= END OF CLASS DATA ========= --> |
| 1923 | <A NAME="navbar_top"></A> |
| 1924 | |
| 1925 | <div id="footer" class="wrap" > |
| 1926 | |
| 1927 | |
| 1928 | <div id="copyright"> |
| 1929 | |
| 1930 | Except as noted, this content is licensed under <a |
| 1931 | href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. |
| 1932 | For details and restrictions, see the <a href="/license.html"> |
| 1933 | Content License</a>. |
| 1934 | </div> |
| 1935 | <div id="build_info"> |
| 1936 | |
| 1937 | <script src="/timestamp.js" type="text/javascript"></script> |
| 1938 | <script>document.write(BUILD_TIMESTAMP)</script> |
| 1939 | |
| 1940 | </div> |
| 1941 | |
| 1942 | |
| 1943 | <div id="footerlinks"> |
| 1944 | |
| 1945 | <p> |
| 1946 | <a href="/about/index.html">About Android</a> | |
| 1947 | <a href="/legal.html">Legal</a> | |
| 1948 | <a href="/support.html">Support</a> |
| 1949 | </p> |
| 1950 | </div> |
| 1951 | |
| 1952 | </div> <!-- end footer --> |
| 1953 | </div> <!-- jd-content --> |
| 1954 | |
| 1955 | </div><!-- end doc-content --> |
| 1956 | |
| 1957 | </div> <!-- end body-content --> |
| 1958 | |
| 1959 | |
| 1960 | |
| 1961 | |
| 1962 | |
| 1963 | |
| 1964 | </body> |
| 1965 | </html> |