blob: e093cc75127235d33c8bc61577cd9ef813f3784b [file] [log] [blame]
Robert Ly3c4b4f72012-11-30 04:02:04 -08001<!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
Dirk Dougherty78ec7322013-09-16 10:37:40 -070076
77
Robert Ly3c4b4f72012-11-30 04:02:04 -080078<html>
79<head>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -070080
81
Dirk Dougherty78ec7322013-09-16 10:37:40 -070082<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
83<meta name="viewport" content="width=device-width" />
Robert Ly3c4b4f72012-11-30 04:02:04 -080084
85<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
86<title>TileProvider | Android Developers</title>
87
88<!-- STYLESHEETS -->
89<link rel="stylesheet"
Robert Lyf6f5cf42013-02-04 18:24:15 -080090href="//fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto">
Robert Ly3c4b4f72012-11-30 04:02:04 -080091<link href="/assets/css/default.css" rel="stylesheet" type="text/css">
92
93
94
95<!-- JAVASCRIPT -->
Dirk Dougherty8a72b6e2013-02-01 15:00:09 -080096<script src="//www.google.com/jsapi" type="text/javascript"></script>
Robert Lyf6f5cf42013-02-04 18:24:15 -080097<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script>
Robert Ly3c4b4f72012-11-30 04:02:04 -080098<script type="text/javascript">
99 var toRoot = "/";
Robert Lyf6f5cf42013-02-04 18:24:15 -0800100 var devsite = false;
Robert Ly3c4b4f72012-11-30 04:02:04 -0800101</script>
102<script src="/assets/js/docs.js" type="text/javascript"></script>
103
Robert Lyf6f5cf42013-02-04 18:24:15 -0800104<script type="text/javascript">
105 var _gaq = _gaq || [];
106 _gaq.push(['_setAccount', 'UA-5831155-1']);
107 _gaq.push(['_trackPageview']);
108
109 (function() {
110 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
111 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
112 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
113 })();
114</script>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800115</head>
Robert Ly555c93b2012-12-03 12:24:07 -0800116<body class="gc-documentation google
Robert Ly3c4b4f72012-11-30 04:02:04 -0800117 develop" itemscope itemtype="http://schema.org/Article">
118 <div id="doc-api-level" class="" style="display:none"></div>
119 <a name="top"></a>
120
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700121<a name="top"></a>
122
Robert Ly3c4b4f72012-11-30 04:02:04 -0800123 <!-- Header -->
124 <div id="header">
125 <div class="wrap" id="header-wrap">
126 <div class="col-3 logo">
127 <a href="/index.html">
128 <img src="/assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" />
129 </a>
130 <div class="btn-quicknav" id="btn-quicknav">
131 <a href="#" class="arrow-inactive">Quicknav</a>
132 <a href="#" class="arrow-active">Quicknav</a>
133 </div>
134 </div>
135 <ul class="nav-x col-9">
136 <li class="design">
Robert Ly05c8e632013-02-25 14:43:01 -0800137 <a href="/design/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700138 zh-tw-lang="設計"
139 zh-cn-lang="设计"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800140 ru-lang="Проектирование"
141 ko-lang="디자인"
142 ja-lang="設計"
143 es-lang="Diseñar"
144 >Design</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800145 <li class="develop"><a href="/develop/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700146 zh-tw-lang="開發"
147 zh-cn-lang="开发"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800148 ru-lang="Разработка"
149 ko-lang="개발"
150 ja-lang="開発"
151 es-lang="Desarrollar"
152 >Develop</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800153 <li class="distribute last"><a href="/distribute/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700154 zh-tw-lang="發佈"
155 zh-cn-lang="分发"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800156 ru-lang="Распространение"
157 ko-lang="배포"
158 ja-lang="配布"
159 es-lang="Distribuir"
160 >Distribute</a></li>
161 </ul>
162
163 <!-- New Search -->
164 <div class="menu-container">
165 <div class="moremenu">
166 <div id="more-btn"></div>
167 </div>
168 <div class="morehover" id="moremenu">
169 <div class="top"></div>
170 <div class="mid">
171 <div class="header">Links</div>
172 <ul>
173 <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li>
174 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
175 <li><a href="/about/index.html">About Android</a></li>
176 </ul>
177 <div class="header">Android Sites</div>
178 <ul>
179 <li><a href="http://www.android.com">Android.com</a></li>
180 <li class="active"><a>Android Developers</a></li>
181 <li><a href="http://source.android.com">Android Open Source Project</a></li>
182 </ul>
Robert Lyf6f5cf42013-02-04 18:24:15 -0800183
Robert Lyf6f5cf42013-02-04 18:24:15 -0800184
185
186 <div class="header">Language</div>
187 <div id="language" class="locales">
188 <select name="language" onChange="changeLangPref(this.value, true)">
189 <option value="en">English</option>
190 <option value="es">Español</option>
191 <option value="ja">日本語</option>
192 <option value="ko">한국어</option>
193 <option value="ru">Русский</option>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700194 <option value="zh-cn">中文 (中国)</option>
195 <option value="zh-tw">中文 (台灣)</option>
Robert Lyf6f5cf42013-02-04 18:24:15 -0800196 </select>
197 </div>
198 <script type="text/javascript">
199 <!--
200 loadLangPref();
201 //-->
202 </script>
203
204
205
206
Robert Ly3c4b4f72012-11-30 04:02:04 -0800207 <br class="clearfix" />
208 </div>
209 <div class="bottom"></div>
210 </div>
211 <div class="search" id="search-container">
212 <div class="search-inner">
213 <div id="search-btn"></div>
214 <div class="left"></div>
215 <form onsubmit="return submit_search()">
216 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
217onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
218onkeydown="return search_changed(event, true, '/')"
219onkeyup="return search_changed(event, false, '/')" />
220 </form>
221 <div class="right"></div>
222 <a class="close hide">close</a>
223 <div class="left"></div>
224 <div class="right"></div>
225 </div>
226 </div>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700227
228 <div class="search_filtered_wrapper reference">
229 <div class="suggest-card reference no-display">
230 <ul class="search_filtered">
231 </ul>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800232 </div>
233 </div>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700234
235 <div class="search_filtered_wrapper docs">
236 <div class="suggest-card dummy no-display">&nbsp;</div>
237 <div class="suggest-card develop no-display">
238 <ul class="search_filtered">
239 </ul>
240 <div class="child-card guides no-display">
241 </div>
242 <div class="child-card training no-display">
243 </div>
244 </div>
245 <div class="suggest-card design no-display">
246 <ul class="search_filtered">
247 </ul>
248 </div>
249 <div class="suggest-card distribute no-display">
250 <ul class="search_filtered">
251 </ul>
252 </div>
253 </div>
254
Robert Ly3c4b4f72012-11-30 04:02:04 -0800255 </div>
256 <!-- /New Search>
257
258
259 <!-- Expanded quicknav -->
260 <div id="quicknav" class="col-9">
261 <ul>
262 <li class="design">
263 <ul>
264 <li><a href="/design/index.html">Get Started</a></li>
265 <li><a href="/design/style/index.html">Style</a></li>
266 <li><a href="/design/patterns/index.html">Patterns</a></li>
267 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
268 <li><a href="/design/downloads/index.html">Downloads</a></li>
269 <li><a href="/design/videos/index.html">Videos</a></li>
270 </ul>
271 </li>
272 <li class="develop">
273 <ul>
274 <li><a href="/training/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700275 zh-tw-lang="訓練課程"
276 zh-cn-lang="培训"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800277 ru-lang="Курсы"
278 ko-lang="교육"
279 ja-lang="トレーニング"
280 es-lang="Capacitación"
281 >Training</a></li>
282 <li><a href="/guide/components/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700283 zh-tw-lang="API 指南"
284 zh-cn-lang="API 指南"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800285 ru-lang="Руководства по API"
286 ko-lang="API 가이드"
287 ja-lang="API ガイド"
288 es-lang="Guías de la API"
289 >API Guides</a></li>
290 <li><a href="/reference/packages.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700291 zh-tw-lang="參考資源"
292 zh-cn-lang="参考"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800293 ru-lang="Справочник"
294 ko-lang="참조문서"
295 ja-lang="リファレンス"
296 es-lang="Referencia"
297 >Reference</a></li>
298 <li><a href="/tools/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700299 zh-tw-lang="相關工具"
300 zh-cn-lang="工具"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800301 ru-lang="Инструменты"
302 ko-lang="도구"
303 ja-lang="ツール"
304 es-lang="Herramientas"
305 >Tools</a>
306 <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul>
307 </li>
308 <li><a href="/google/index.html">Google Services</a>
309 </li>
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700310
Robert Ly3c4b4f72012-11-30 04:02:04 -0800311 </ul>
312 </li>
313 <li class="distribute last">
314 <ul>
315 <li><a href="/distribute/index.html">Google Play</a></li>
316 <li><a href="/distribute/googleplay/publish/index.html">Publishing</a></li>
317 <li><a href="/distribute/googleplay/promote/index.html">Promoting</a></li>
318 <li><a href="/distribute/googleplay/quality/index.html">App Quality</a></li>
319 <li><a href="/distribute/googleplay/spotlight/index.html">Spotlight</a></li>
320 <li><a href="/distribute/open.html">Open Distribution</a></li>
321 </ul>
322 </li>
323 </ul>
324 </div>
325 <!-- /Expanded quicknav -->
326 </div>
327 </div>
328 <!-- /Header -->
329
330
331 <div id="searchResults" class="wrap" style="display:none;">
332 <h2 id="searchTitle">Results</h2>
333 <div id="leftSearchControl" class="search-control">Loading...</div>
334 </div>
335
336
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700337
Robert Ly3c4b4f72012-11-30 04:02:04 -0800338 <!-- Secondary x-nav -->
339 <div id="nav-x">
340 <div class="wrap">
341 <ul class="nav-x col-9 develop" style="width:100%">
Robert Ly05c8e632013-02-25 14:43:01 -0800342 <li class="training"><a href="/training/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700343 zh-tw-lang="訓練課程"
344 zh-cn-lang="培训"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800345 ru-lang="Курсы"
346 ko-lang="교육"
347 ja-lang="トレーニング"
348 es-lang="Capacitación"
349 >Training</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800350 <li class="guide"><a href="/guide/components/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700351 zh-tw-lang="API 指南"
352 zh-cn-lang="API 指南"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800353 ru-lang="Руководства по API"
354 ko-lang="API 가이드"
355 ja-lang="API ガイド"
356 es-lang="Guías de la API"
357 >API Guides</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800358 <li class="reference"><a href="/reference/packages.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700359 zh-tw-lang="參考資源"
360 zh-cn-lang="参考"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800361 ru-lang="Справочник"
362 ko-lang="참조문서"
363 ja-lang="リファレンス"
364 es-lang="Referencia"
365 >Reference</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800366 <li class="tools"><a href="/tools/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700367 zh-tw-lang="相關工具"
368 zh-cn-lang="工具"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800369 ru-lang="Инструменты"
370 ko-lang="도구"
371 ja-lang="ツール"
372 es-lang="Herramientas"
373 >Tools</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800374 <li class="google"><a href="/google/index.html"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800375 >Google Services</a>
376 </li>
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700377
Robert Ly3c4b4f72012-11-30 04:02:04 -0800378 </ul>
379 </div>
380
381 </div>
382 <!-- /Sendondary x-nav -->
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700383
384
385
386
Robert Ly3c4b4f72012-11-30 04:02:04 -0800387
388
Robert Ly3c4b4f72012-11-30 04:02:04 -0800389
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700390
391
Robert Ly3c4b4f72012-11-30 04:02:04 -0800392 <div class="wrap clearfix" id="body-content">
393 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
394 <div id="devdoc-nav" class="scroll-pane">
395<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
396
397
398
399<ul id="nav">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700400
Robert Ly3c4b4f72012-11-30 04:02:04 -0800401 <li class="nav-section">
402 <div class="nav-section-header empty"><a href="/google/index.html">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700403 <span class="en">Overview</span>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800404 </a></div>
405 </li>
406
407 <li class="nav-section">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700408 <div class="nav-section-header empty"><a href="/google/play-services/games.html">
409 <span class="en">Games</span>
410 </a></div>
411 </li>
412 <li class="nav-section">
413 <div class="nav-section-header empty"><a href="/google/play-services/location.html">
414 <span class="en">Location</span>
415 </a></div>
416 </li>
417 <li class="nav-section">
418 <div class="nav-section-header empty"><a href="/google/play-services/plus.html">
419 <span class="en">Google+</span>
420 </a></div>
421 </li>
422 <li class="nav-section">
423 <div class="nav-section-header empty"><a href="/google/play-services/maps.html">
Dirk Dougherty28167892013-10-29 22:25:12 -0700424 <span class="en">Maps</span>
425 </a></div>
426 </li>
427 <li class="nav-section">
428 <div class="nav-section-header"><a href="/google/play-services/ads.html">
429 <span class="en">Ads</span></a>
430 </div>
431 <ul>
432 <li><a href="/google/play-services/id.html">
433 <span class="en">Advertising ID</span></a>
434 </li>
435 </ul>
436 </li>
437 <li class="nav-section">
438 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html">
439 <span class="en">Wallet</span>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700440 </a></div>
441 </li>
442 <li class="nav-section">
443 <div class="nav-section-header empty"><a href="/google/play-services/auth.html">
444 <span class="en">Authorization</span>
445 </a></div>
446 </li>
447
448
449
450 <li class="nav-section">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800451 <div class="nav-section-header"><a href="/google/play-services/index.html">
Robert Lyd84d5cc2013-01-04 10:13:35 -0800452 <span class="en">Google Play Services</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800453 </div>
454 <ul>
455 <li><a href="/google/play-services/setup.html">
456 <span class="en">Setup</span></a>
457 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800458 <li id="gms-tree-list" class="nav-section">
459 <div class="nav-section-header">
460 <a href="/reference/gms-packages.html">
461 <span class="en">Reference</span>
462 </a>
463 <div>
464 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800465 </ul>
466 </li>
467
Robert Lyd84d5cc2013-01-04 10:13:35 -0800468
Robert Ly3c4b4f72012-11-30 04:02:04 -0800469 <li class="nav-section">
470 <div class="nav-section-header"><a href="/google/play/billing/index.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800471 <span class="en">Google Play In-app Billing</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800472 </div>
473 <ul>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800474 <li><a href="/google/play/billing/billing_overview.html">
475 <span class="en">Overview</span></a>
476 </li>
477 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html">
478 <span class="en">Version 3 API</span></a></div>
479 <ul>
480 <li><a href="/google/play/billing/billing_integrate.html">
481 <span class="en">Implementing the API</span></a></li>
482 <li><a href="/google/play/billing/billing_reference.html">
483 <span class="en">Reference</span></a></li>
484 </ul>
485 </li>
486 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html">
487 <span class="en">Version 2 API</span></a></div>
488 <ul>
489 <li><a href="/google/play/billing/v2/billing_integrate.html">
490 <span class="en">Implementing the API</span></a></li>
491 <li><a href="/google/play/billing/v2/billing_subscriptions.html">
492 <span class="en">Subscriptions</span></a></li>
493 <li><a href="/google/play/billing/v2/billing_reference.html">
494 <span class="en">Reference</span></a></li>
495 </ul>
496 </li>
Robert Ly05c8e632013-02-25 14:43:01 -0800497 <li><a href="/google/play/billing/billing_subscriptions.html">
498 <span class="en">Subscriptions</span></a>
499 </li>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800500 <li><a href="/google/play/billing/billing_best_practices.html">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800501 <span class="en">Security and Design</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800502 </li>
503 <li><a href="/google/play/billing/billing_testing.html">
Robert Ly555c93b2012-12-03 12:24:07 -0800504 <span class="en">Testing In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800505 </li>
506 <li><a href="/google/play/billing/billing_admin.html">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800507 <span class="en">Administering In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800508 </li>
Dirk Doughertyfe3da792013-06-12 18:06:08 -0700509 <li><a href="/google/play/billing/gp-purchase-status-api.html">
510 <span class="en">Purchase Status API</span></a>
511 </li>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800512 <li><a href="/google/play/billing/versions.html">
513 <span class="en">Version Notes</span></a>
514 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800515 </ul>
516 </li>
517
Dirk Doughertya38ca332013-05-15 02:36:33 -0700518
519
520 <li class="nav-section">
521 <div class="nav-section-header"><a href="/google/gcm/index.html">
522 <span class="en">Google Cloud Messaging</span></a>
523 </div>
524 <ul>
525 <li><a href="/google/gcm/gs.html">
526 <span class="en">Getting Started</span></a>
527 </li>
Dirk Dougherty28167892013-10-29 22:25:12 -0700528 <li><a href="/google/gcm/gcm.html">
529 <span class="en">Architectural Overview</span></a>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700530 </li>
Dirk Dougherty28167892013-10-29 22:25:12 -0700531 <li><a href="/google/gcm/ccs.html">
532 <span class="en">Cloud Connection Server</span></a>
Dirk Doughertyfe3da792013-06-12 18:06:08 -0700533 </li>
534 <li><a href="/google/gcm/notifications.html">
535 <span class="en">User Notifications</span></a>
536 </li>
Dirk Dougherty28167892013-10-29 22:25:12 -0700537 <li><a href="/google/gcm/client.html">
538 <span class="en">GCM Client</span></a>
539 </li>
540 <li><a href="/google/gcm/server.html">
541 <span class="en">GCM Server</span></a>
542 </li>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700543 <li><a href="/google/gcm/adv.html">
544 <span class="en">Advanced Topics</span></a>
545 </li>
546 <li><a href="/google/gcm/c2dm.html">
547 <span class="en">Migration</span></a>
548 </li>
549 <li id="gcm-tree-list" class="nav-section">
550 <div class="nav-section-header">
551 <a href="/reference/gcm-packages.html">
552 <span class="en">Reference</span>
553 </a>
554 <div>
555 </li>
556 </ul>
557 </li>
558
Robert Ly3c4b4f72012-11-30 04:02:04 -0800559 <li class="nav-section">
560 <div class="nav-section-header"><a href="/google/play/dist.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800561 <span class="en">Google Play Distribution</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800562 </div>
563 <ul>
564 <li><a href="/google/play/filters.html">
565 <span class="en">Filters on Google Play</span></a>
566 </li>
567
568 <li><a href="/google/play/publishing/multiple-apks.html">
569 <span class="en">Multiple APK Support</span></a>
570 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800571 <li><a href="/google/play/expansion-files.html">
572 <span class="en">APK Expansion Files</span></a>
573 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800574 <li class="nav-section">
575 <div class="nav-section-header"><a href="/google/play/licensing/index.html">
576 <span class="en">Application Licensing</span></a>
577 </div>
578 <ul>
579 <li><a href="/google/play/licensing/overview.html">
580 <span class="en">Licensing Overview</span></a>
581 </li>
582 <li><a href="/google/play/licensing/setting-up.html">
583 <span class="en">Setting Up for Licensing</span></a>
584 </li>
585 <li><a href="/google/play/licensing/adding-licensing.html">
586 <span class="en">Adding Licensing to Your App</span></a>
587 </li>
588 <li><a href="/google/play/licensing/licensing-reference.html">
589 <span class="en">Licensing Reference</span></a>
590 </li>
591 </ul>
592 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800593
Robert Lyd84d5cc2013-01-04 10:13:35 -0800594 <li class="nav-section">
595 <div class="nav-section-header"><a href="/google/backup/index.html">
596 Android Backup Service</a>
597 </div>
598 <ul>
599 <li><a href="/google/backup/signup.html">
600 Register</a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800601 </li>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800602 </ul>
603 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800604
Dirk Doughertya38ca332013-05-15 02:36:33 -0700605 </ul>
606
607</li>
608
609
610
Robert Ly3c4b4f72012-11-30 04:02:04 -0800611</ul>
612
613<script type="text/javascript">
614<!--
615 buildToggleLists();
616 changeNavLang(getLangPref());
617//-->
618</script>
619
620
621
622
623 </div>
624 <script type="text/javascript">
625 showGoogleRefTree();
626
627 </script>
628 </div> <!-- end side-nav -->
629 <script>
630 $(document).ready(function() {
631 scrollIntoView("devdoc-nav");
632 });
633 </script>
634
635
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700636
637
Robert Ly3c4b4f72012-11-30 04:02:04 -0800638
639
640<div class="col-12" id="doc-col">
641
642<div id="api-info-block">
643
644
645
646
647<div class="sum-details-links">
648
649Summary:
650
651
652
653
654
655
656
657 <a href="#lfields">Fields</a>
658
659
660
661
662
663
664 &#124; <a href="#pubmethods">Methods</a>
665
666
667
668
669&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
670
671</div><!-- end sum-details-links -->
672<div class="api-level">
673
674
675
676
677</div>
678</div><!-- end api-info-block -->
679
680
681<!-- ======== START OF CLASS DATA ======== -->
682
683<div id="jd-header">
684 public
685
686
687
688 interface
689<h1 itemprop="name">TileProvider</h1>
690
691
692
693
694
695
696
697
698</div><!-- end header -->
699
700<div id="naMessage"></div>
701
702<div id="jd-content" class="api apilevel-">
703<table class="jd-inheritance-table">
704
705
706 <tr>
707
708 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.maps.model.TileProvider</td>
709 </tr>
710
711
712</table>
713
714
715
716
717
718
719<table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;">
720
721 <a href="#" onclick="return toggleInherited(this, null)" id="subclasses-indirect" class="jd-expando-trigger closed"
722 ><img id="subclasses-indirect-trigger"
723 src="/assets/images/triangle-closed.png"
724 class="jd-expando-trigger-img" /></a>Known Indirect Subclasses
725
726 <div id="subclasses-indirect">
727 <div id="subclasses-indirect-list"
728 class="jd-inheritedlinks"
729
730 >
731
732
733 <a href="/reference/com/google/android/gms/maps/model/UrlTileProvider.html">UrlTileProvider</a>
734
735
736 </div>
737 <div id="subclasses-indirect-summary"
738 style="display: none;"
739 >
740 <table class="jd-sumtable-expando">
741 <tr class="alt-color api apilevel-" >
742 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/UrlTileProvider.html">UrlTileProvider</a></td>
743 <td class="jd-descrcol" width="100%">A partial implementation of <code><a href="/reference/com/google/android/gms/maps/model/TileProvider.html">TileProvider</a></code> that only requires a URL that points to an image
744 to be provided.&nbsp;</td>
745 </tr>
746 </table>
747 </div>
748 </div>
749</td></tr></table>
750
751
752<div class="jd-descr">
753
754
755<h2>Class Overview</h2>
756<p itemprop="articleBody">An interface for a class that provides the tile images for a <code><a href="/reference/com/google/android/gms/maps/model/TileOverlay.html">TileOverlay</a></code>. For information
757 about the tile coordinate system, see <code><a href="/reference/com/google/android/gms/maps/model/TileOverlay.html">TileOverlay</a></code>.
758 <p>
759 Calls to methods in this interface might be made from multiple threads so implementations of this
760 interface must be threadsafe.
761</p>
762
763
764
765
766
767</div><!-- jd-descr -->
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784<div class="jd-descr">
785
786
787<h2>Summary</h2>
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806<!-- =========== FIELD SUMMARY =========== -->
807<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr>
808
809
810
811 <tr class="alt-color api apilevel-" >
812 <td class="jd-typecol"><nobr>
813 public
814 static
815 final
816 <a href="/reference/com/google/android/gms/maps/model/Tile.html">Tile</a></nobr></td>
817 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/TileProvider.html#NO_TILE">NO_TILE</a></td>
818 <td class="jd-descrcol" width="100%">Stub tile that is used to indicate that no tile exists for a specific tile coordinate.</td>
819 </tr>
820
821
822
823</table>
824
825
826
827
828
829
830
831
832
833
834
835<!-- ========== METHOD SUMMARY =========== -->
836<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
837
838
839
840
841 <tr class="alt-color api apilevel-" >
842 <td class="jd-typecol"><nobr>
843 abstract
844
845
846
847
848 <a href="/reference/com/google/android/gms/maps/model/Tile.html">Tile</a></nobr>
849 </td>
850 <td class="jd-linkcol" width="100%"><nobr>
851 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/TileProvider.html#getTile(int, int, int)">getTile</a></span>(int x, int y, int zoom)</nobr>
852
853 <div class="jd-descrdiv">Returns the tile to be used for this tile coordinate.</div>
854
855 </td></tr>
856
857
858
859</table>
860
861
862
863
864
865
866
867</div><!-- jd-descr (summary) -->
868
869<!-- Details -->
870
871
872
873
874
875
876
877
878<!-- XML Attributes -->
879
880
881<!-- Enum Values -->
882
883
884<!-- Constants -->
885
886
887<!-- Fields -->
888
889
890<!-- ========= FIELD DETAIL ======== -->
891<h2>Fields</h2>
892
893
894
895
896<A NAME="NO_TILE"></A>
897
898<div class="jd-details api apilevel-">
899 <h4 class="jd-details-title">
900 <span class="normal">
901 public
902 static
903 final
904 <a href="/reference/com/google/android/gms/maps/model/Tile.html">Tile</a>
905 </span>
906 NO_TILE
907 </h4>
908 <div class="api-level">
909
910
911
912
913 </div>
914 <div class="jd-details-descr">
915
916 <div class="jd-tagdata jd-tagdescr"><p>Stub tile that is used to indicate that no tile exists for a specific tile coordinate. </p></div>
917
918
919 </div>
920</div>
921
922
923
924
925<!-- Public ctors -->
926
927
928
929<!-- ========= CONSTRUCTOR DETAIL ======== -->
930<!-- Protected ctors -->
931
932
933
934<!-- ========= METHOD DETAIL ======== -->
935<!-- Public methdos -->
936
937<h2>Public Methods</h2>
938
939
940
941<A NAME="getTile(int, int, int)"></A>
942
943<div class="jd-details api apilevel-">
944 <h4 class="jd-details-title">
945 <span class="normal">
946 public
947
948
949 abstract
950
951 <a href="/reference/com/google/android/gms/maps/model/Tile.html">Tile</a>
952 </span>
953 <span class="sympad">getTile</span>
954 <span class="normal">(int x, int y, int zoom)</span>
955 </h4>
956 <div class="api-level">
957 <div></div>
958
959
960
961 </div>
962 <div class="jd-details-descr">
963
964 <div class="jd-tagdata jd-tagdescr"><p>Returns the tile to be used for this tile coordinate.</p></div>
965 <div class="jd-tagdata">
966 <h5 class="jd-tagtitle">Parameters</h5>
967 <table class="jd-tagtable">
968 <tr>
969 <th>x</td>
970 <td>The x coordinate of the tile. This will be in the range [0, 2<sup>zoom</sup> - 1]
971 inclusive.</td>
972 </tr>
973 <tr>
974 <th>y</td>
975 <td>The y coordinate of the tile. This will be in the range [0, 2<sup>zoom</sup> - 1]
976 inclusive.</td>
977 </tr>
978 <tr>
979 <th>zoom</td>
980 <td>The zoom level of the tile. This will be in the range [
981 <code><a href="/reference/com/google/android/gms/maps/GoogleMap.html#getMinZoomLevel()">GoogleMap.getMinZoomLevel</a></code>,
982 <code><a href="/reference/com/google/android/gms/maps/GoogleMap.html#getMaxZoomLevel()">GoogleMap.getMaxZoomLevel</a></code>] inclusive.</td>
983 </tr>
984 </table>
985 </div>
986 <div class="jd-tagdata">
987 <h5 class="jd-tagtitle">Returns</h5>
988 <ul class="nolist"><li>the <code><a href="/reference/com/google/android/gms/maps/model/Tile.html">Tile</a></code> to be used for this tile coordinate. If you do not wish to provide a
989 tile for this tile coordinate, return <code><a href="/reference/com/google/android/gms/maps/model/TileProvider.html#NO_TILE">NO_TILE</a></code>. If the tile could not be
990 found at this point in time, return null and further requests might be made with an
991 exponential backoff.
992</li></ul>
993 </div>
994
995 </div>
996</div>
997
998
999
1000
1001
1002<!-- ========= METHOD DETAIL ======== -->
1003
1004
1005
1006<!-- ========= END OF CLASS DATA ========= -->
1007<A NAME="navbar_top"></A>
1008
1009<div id="footer" class="wrap" >
1010
1011
1012 <div id="copyright">
1013
1014 Except as noted, this content is licensed under <a
1015 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
1016 For details and restrictions, see the <a href="/license.html">
1017 Content License</a>.
1018 </div>
Robert Lyf6f5cf42013-02-04 18:24:15 -08001019 <div id="build_info">
1020
1021<script src="/timestamp.js" type="text/javascript"></script>
1022<script>document.write(BUILD_TIMESTAMP)</script>
1023
1024 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001025
1026
1027 <div id="footerlinks">
1028
1029 <p>
1030 <a href="/about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
1031 <a href="/legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
1032 <a href="/support.html">Support</a>
1033 </p>
1034 </div>
1035
1036</div> <!-- end footer -->
1037</div> <!-- jd-content -->
1038
1039</div><!-- end doc-content -->
1040
1041</div> <!-- end body-content -->
1042
1043
1044
1045
Robert Ly3c4b4f72012-11-30 04:02:04 -08001046
1047
1048</body>
1049</html>