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