blob: 4943dd00536d9f4c98fa164fc233ca2abf52327a [file] [log] [blame]
quddusc563daee2013-12-03 19:31:14 -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
76
77
Quddus Chong26ca3fa2014-05-06 17:02:49 -070078
79
80
81
82
83
84
Quddus Chong559c0062014-06-12 13:59:34 -070085
86
Quddus Chong2b4b3d22014-10-26 18:10:42 -070087
88
89
90
91
92
93
94
95
96
97
Quddus Chongfd19ada2014-11-18 16:41:07 -080098
Joe Fernandez77869172015-03-19 16:36:02 +000099
100
quddusc563daee2013-12-03 19:31:14 -0800101<html>
102<head>
103
104
105<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
106<meta name="viewport" content="width=device-width" />
107
108<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
Quddus Chong559c0062014-06-12 13:59:34 -0700109<title>ActivityRecognition | Android Developers</title>
quddusc563daee2013-12-03 19:31:14 -0800110
111<!-- STYLESHEETS -->
112<link rel="stylesheet"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700113href="//fonts.googleapis.com/css?family=Roboto+Condensed">
114<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
115 title="roboto">
Joe Fernandez77869172015-03-19 16:36:02 +0000116<link href="/assets/css/default.css?v=5" rel="stylesheet" type="text/css">
quddusc563daee2013-12-03 19:31:14 -0800117
118
119
120<!-- JAVASCRIPT -->
121<script src="//www.google.com/jsapi" type="text/javascript"></script>
122<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script>
123<script type="text/javascript">
124 var toRoot = "/";
125 var metaTags = [];
126 var devsite = false;
127</script>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800128<script src="/assets/js/docs.js?v=3" type="text/javascript"></script>
quddusc563daee2013-12-03 19:31:14 -0800129
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700130
131
Quddus Chong559c0062014-06-12 13:59:34 -0700132<script>
133 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
134 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
135 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
136 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
quddusc563daee2013-12-03 19:31:14 -0800137
Quddus Chong559c0062014-06-12 13:59:34 -0700138 ga('create', 'UA-5831155-1', 'android.com');
139 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
140 ga('send', 'pageview');
141 ga('universal.send', 'pageview'); // Send page view for new tracker.
quddusc563daee2013-12-03 19:31:14 -0800142</script>
Quddus Chong559c0062014-06-12 13:59:34 -0700143
quddusc563daee2013-12-03 19:31:14 -0800144</head>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700145
quddusc563daee2013-12-03 19:31:14 -0800146<body class="gc-documentation google
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700147 develop reference" itemscope itemtype="http://schema.org/Article">
quddusc563daee2013-12-03 19:31:14 -0800148 <div id="doc-api-level" class="" style="display:none"></div>
149 <a name="top"></a>
150
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700151
quddusc563daee2013-12-03 19:31:14 -0800152<a name="top"></a>
153
Quddus Chongfd19ada2014-11-18 16:41:07 -0800154<!-- dialog to prompt lang pref change when loaded from hardcoded URL
155<div id="langMessage" style="display:none">
156 <div>
157 <div class="lang en">
158 <p>You requested a page in English, would you like to proceed with this language setting?</p>
159 </div>
160 <div class="lang es">
161 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p>
162 </div>
163 <div class="lang ja">
164 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p>
165 </div>
166 <div class="lang ko">
167 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p>
168 </div>
169 <div class="lang ru">
170 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p>
171 </div>
172 <div class="lang zh-cn">
173 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p>
174 </div>
175 <div class="lang zh-tw">
176 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p>
177 </div>
178 <a href="#" class="button yes" onclick="return false;">
179 <span class="lang en">Yes</span>
180 <span class="lang es">Sí</span>
181 <span class="lang ja">Yes</span>
182 <span class="lang ko">Yes</span>
183 <span class="lang ru">Yes</span>
184 <span class="lang zh-cn">是的</span>
185 <span class="lang zh-tw">没有</span>
186 </a>
187 <a href="#" class="button" onclick="$('#langMessage').hide();return false;">
188 <span class="lang en">No</span>
189 <span class="lang es">No</span>
190 <span class="lang ja">No</span>
191 <span class="lang ko">No</span>
192 <span class="lang ru">No</span>
193 <span class="lang zh-cn">没有</span>
194 <span class="lang zh-tw">没有</span>
195 </a>
196 </div>
197</div> -->
198
199
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700200 <!-- Header -->
201 <div id="header-wrapper">
quddusc563daee2013-12-03 19:31:14 -0800202 <div id="header">
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700203
Quddus Chongfd19ada2014-11-18 16:41:07 -0800204
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700205
206
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700207 <div class="wrap" id="header-wrap">
208 <div class="col-3 logo">
quddusc563daee2013-12-03 19:31:14 -0800209 <a href="/index.html">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700210 <img src="/assets/images/dac_logo.png"
211 srcset="/assets/images/dac_logo@2x.png 2x"
212 width="123" height="25" alt="Android Developers" />
quddusc563daee2013-12-03 19:31:14 -0800213 </a>
214 <div class="btn-quicknav" id="btn-quicknav">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700215 <a href="#" class="arrow-inactive">Quicknav</a>
216 <a href="#" class="arrow-active">Quicknav</a>
quddusc563daee2013-12-03 19:31:14 -0800217 </div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700218 </div>
219 <ul class="nav-x col-9">
220 <li class="design">
221 <a href="/design/index.html"
222 zh-tw-lang="設計"
223 zh-cn-lang="设计"
224 ru-lang="Проектирование"
225 ko-lang="디자인"
226 ja-lang="設計"
227 es-lang="Diseñar"
228 >Design</a></li>
229 <li class="develop"><a href="/develop/index.html"
230 zh-tw-lang="開發"
231 zh-cn-lang="开发"
232 ru-lang="Разработка"
233 ko-lang="개발"
234 ja-lang="開発"
235 es-lang="Desarrollar"
236 >Develop</a></li>
237 <li class="distribute last"><a href="/distribute/index.html"
238 zh-tw-lang="發佈"
239 zh-cn-lang="分发"
240 ru-lang="Распространение"
241 ko-lang="배포"
242 ja-lang="配布"
243 es-lang="Distribuir"
244 >Distribute</a></li>
245 </ul>
246
247
Quddus Chongfd19ada2014-11-18 16:41:07 -0800248
249
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700250<div class="menu-container">
251 <div class="moremenu">
quddusc563daee2013-12-03 19:31:14 -0800252 <div id="more-btn"></div>
253 </div>
254 <div class="morehover" id="moremenu">
255 <div class="top"></div>
256 <div class="mid">
257 <div class="header">Links</div>
258 <ul>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700259 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li>
quddusc563daee2013-12-03 19:31:14 -0800260 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
261 <li><a href="/about/index.html">About Android</a></li>
262 </ul>
263 <div class="header">Android Sites</div>
264 <ul>
265 <li><a href="http://www.android.com">Android.com</a></li>
266 <li class="active"><a>Android Developers</a></li>
267 <li><a href="http://source.android.com">Android Open Source Project</a></li>
268 </ul>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700269
Quddus Chongfd19ada2014-11-18 16:41:07 -0800270
271
quddusc563daee2013-12-03 19:31:14 -0800272 <div class="header">Language</div>
273 <div id="language" class="locales">
274 <select name="language" onChange="changeLangPref(this.value, true)">
275 <option value="en">English</option>
276 <option value="es">Español</option>
277 <option value="ja">日本語</option>
278 <option value="ko">한국어</option>
279 <option value="ru">Русский</option>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800280 <option value="zh-cn">中文(简体)</option>
281 <option value="zh-tw">中文(繁體)</option>
quddusc563daee2013-12-03 19:31:14 -0800282 </select>
283 </div>
284 <script type="text/javascript">
285 <!--
286 loadLangPref();
287 //-->
288 </script>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800289
290
quddusc563daee2013-12-03 19:31:14 -0800291 <br class="clearfix" />
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700292 </div><!-- end 'mid' -->
quddusc563daee2013-12-03 19:31:14 -0800293 <div class="bottom"></div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700294 </div><!-- end 'moremenu' -->
295
quddusc563daee2013-12-03 19:31:14 -0800296 <div class="search" id="search-container">
297 <div class="search-inner">
298 <div id="search-btn"></div>
299 <div class="left"></div>
300 <form onsubmit="return submit_search()">
301 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700302 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
303 onkeydown="return search_changed(event, true, '/')"
304 onkeyup="return search_changed(event, false, '/')" />
quddusc563daee2013-12-03 19:31:14 -0800305 </form>
306 <div class="right"></div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700307 <a class="close hide">close</a>
308 <div class="left"></div>
309 <div class="right"></div>
310 </div><!-- end search-inner -->
311 </div><!-- end search-container -->
quddusc563daee2013-12-03 19:31:14 -0800312
313 <div class="search_filtered_wrapper reference">
314 <div class="suggest-card reference no-display">
315 <ul class="search_filtered">
316 </ul>
317 </div>
318 </div>
319
320 <div class="search_filtered_wrapper docs">
321 <div class="suggest-card dummy no-display">&nbsp;</div>
322 <div class="suggest-card develop no-display">
323 <ul class="search_filtered">
324 </ul>
325 <div class="child-card guides no-display">
326 </div>
327 <div class="child-card training no-display">
328 </div>
329 <div class="child-card samples no-display">
330 </div>
331 </div>
332 <div class="suggest-card design no-display">
333 <ul class="search_filtered">
334 </ul>
335 </div>
336 <div class="suggest-card distribute no-display">
337 <ul class="search_filtered">
338 </ul>
339 </div>
340 </div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700341</div><!-- end menu-container (search and menu widget) -->
quddusc563daee2013-12-03 19:31:14 -0800342
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700343
344
345 <!-- Expanded quicknav -->
Quddus Chong559c0062014-06-12 13:59:34 -0700346 <div id="quicknav" class="col-13">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700347 <ul>
Quddus Chong559c0062014-06-12 13:59:34 -0700348 <li class="about">
349 <ul>
350 <li><a href="/about/index.html">About</a></li>
351 <li><a href="/wear/index.html">Wear</a></li>
352 <li><a href="/tv/index.html">TV</a></li>
353 <li><a href="/auto/index.html">Auto</a></li>
354 </ul>
355 </li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700356 <li class="design">
357 <ul>
358 <li><a href="/design/index.html">Get Started</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700359 <li><a href="/design/devices.html">Devices</a></li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700360 <li><a href="/design/style/index.html">Style</a></li>
361 <li><a href="/design/patterns/index.html">Patterns</a></li>
362 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
363 <li><a href="/design/downloads/index.html">Downloads</a></li>
364 <li><a href="/design/videos/index.html">Videos</a></li>
365 </ul>
366 </li>
367 <li class="develop">
368 <ul>
369 <li><a href="/training/index.html"
370 zh-tw-lang="訓練課程"
371 zh-cn-lang="培训"
372 ru-lang="Курсы"
373 ko-lang="교육"
374 ja-lang="トレーニング"
375 es-lang="Capacitación"
376 >Training</a></li>
377 <li><a href="/guide/index.html"
378 zh-tw-lang="API 指南"
379 zh-cn-lang="API 指南"
380 ru-lang="Руководства по API"
381 ko-lang="API 가이드"
382 ja-lang="API ガイド"
383 es-lang="Guías de la API"
384 >API Guides</a></li>
385 <li><a href="/reference/packages.html"
386 zh-tw-lang="參考資源"
387 zh-cn-lang="参考"
388 ru-lang="Справочник"
389 ko-lang="참조문서"
390 ja-lang="リファレンス"
391 es-lang="Referencia"
392 >Reference</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700393 <li><a href="/sdk/index.html"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700394 zh-tw-lang="相關工具"
395 zh-cn-lang="工具"
396 ru-lang="Инструменты"
397 ko-lang="도구"
398 ja-lang="ツール"
399 es-lang="Herramientas"
400 >Tools</a>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700401 </li>
402 <li><a href="/google/index.html">Google Services</a>
403 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800404
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700405 <li><a href="/samples/index.html">Samples</a>
406 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800407
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700408 </ul>
409 </li>
410 <li class="distribute last">
411 <ul>
412 <li><a href="/distribute/googleplay/index.html">Google Play</a></li>
413 <li><a href="/distribute/essentials/index.html">Essentials</a></li>
414 <li><a href="/distribute/users/index.html">Get Users</a></li>
415 <li><a href="/distribute/engage/index.html">Engage &amp; Retain</a></li>
416 <li><a href="/distribute/monetize/index.html">Monetize</a></li>
Joe Fernandez77869172015-03-19 16:36:02 +0000417 <li><a href="/distribute/analyze/index.html">Analyze</a></li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700418 <li><a href="/distribute/tools/index.html">Tools &amp; Reference</a></li>
419 <li><a href="/distribute/stories/index.html">Developer Stories</a></li>
420 </ul>
421 </li>
422 </ul>
423 </div><!-- /Expanded quicknav -->
424 </div><!-- end header-wrap.wrap -->
425 </div><!-- end header -->
426
Quddus Chongfd19ada2014-11-18 16:41:07 -0800427
quddusc563daee2013-12-03 19:31:14 -0800428 <!-- Secondary x-nav -->
429 <div id="nav-x">
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700430 <div class="wrap" style="position:relative;z-index:1">
431
Quddus Chongfd19ada2014-11-18 16:41:07 -0800432
433
434
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700435
quddusc563daee2013-12-03 19:31:14 -0800436 <ul class="nav-x col-9 develop" style="width:100%">
437 <li class="training"><a href="/training/index.html"
438 zh-tw-lang="訓練課程"
439 zh-cn-lang="培训"
440 ru-lang="Курсы"
441 ko-lang="교육"
442 ja-lang="トレーニング"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700443 es-lang="Capacitación"
quddusc563daee2013-12-03 19:31:14 -0800444 >Training</a></li>
445 <li class="guide"><a href="/guide/index.html"
446 zh-tw-lang="API 指南"
447 zh-cn-lang="API 指南"
448 ru-lang="Руководства по API"
449 ko-lang="API 가이드"
450 ja-lang="API ガイド"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700451 es-lang="Guías de la API"
quddusc563daee2013-12-03 19:31:14 -0800452 >API Guides</a></li>
453 <li class="reference"><a href="/reference/packages.html"
454 zh-tw-lang="參考資源"
455 zh-cn-lang="参考"
456 ru-lang="Справочник"
457 ko-lang="참조문서"
458 ja-lang="リファレンス"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700459 es-lang="Referencia"
quddusc563daee2013-12-03 19:31:14 -0800460 >Reference</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700461 <li class="tools"><a href="/sdk/index.html"
quddusc563daee2013-12-03 19:31:14 -0800462 zh-tw-lang="相關工具"
463 zh-cn-lang="工具"
464 ru-lang="Инструменты"
465 ko-lang="도구"
466 ja-lang="ツール"
467 es-lang="Herramientas"
468 >Tools</a></li>
469 <li class="google"><a href="/google/index.html"
470 >Google Services</a>
471 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800472
quddusc563daee2013-12-03 19:31:14 -0800473 <li class="samples"><a href="/samples/index.html"
474 >Samples</a>
475 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800476
quddusc563daee2013-12-03 19:31:14 -0800477 </ul>
478 </div>
quddusc563daee2013-12-03 19:31:14 -0800479 </div>
Quddus Chong559c0062014-06-12 13:59:34 -0700480 <!-- /Sendondary x-nav DEVELOP -->
quddusc563daee2013-12-03 19:31:14 -0800481
Quddus Chongfd19ada2014-11-18 16:41:07 -0800482
quddusc563daee2013-12-03 19:31:14 -0800483
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700484 <div id="searchResults" class="wrap" style="display:none;">
485 <h2 id="searchTitle">Results</h2>
486 <div id="leftSearchControl" class="search-control">Loading...</div>
487 </div>
488 </div> <!--end header-wrapper -->
489
490 <div id="sticky-header">
491 <div>
492 <a class="logo" href="#top"></a>
493 <a class="top" href="#top"></a>
494 <ul class="breadcrumb">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800495
Quddus Chong559c0062014-06-12 13:59:34 -0700496 <li class="current">ActivityRecognition</li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700497 </ul>
498 </div>
499 </div>
500
501
502
503
quddusc563daee2013-12-03 19:31:14 -0800504
Quddus Chongfd19ada2014-11-18 16:41:07 -0800505
quddusc563daee2013-12-03 19:31:14 -0800506 <div class="wrap clearfix" id="body-content">
507 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
508 <div id="devdoc-nav" class="scroll-pane">
quddusc563daee2013-12-03 19:31:14 -0800509
510
511
512<ul id="nav">
513
514 <li class="nav-section">
515 <div class="nav-section-header empty"><a href="/google/index.html">
516 <span class="en">Overview</span>
517 </a></div>
518 </li>
519
520 <li class="nav-section">
521 <div class="nav-section-header empty"><a href="/google/play-services/games.html">
522 <span class="en">Games</span>
523 </a></div>
524 </li>
525 <li class="nav-section">
526 <div class="nav-section-header empty"><a href="/google/play-services/location.html">
527 <span class="en">Location</span>
528 </a></div>
529 </li>
530 <li class="nav-section">
531 <div class="nav-section-header empty"><a href="/google/play-services/plus.html">
532 <span class="en">Google+</span>
533 </a></div>
534 </li>
535 <li class="nav-section">
536 <div class="nav-section-header empty"><a href="/google/play-services/maps.html">
537 <span class="en">Maps</span>
538 </a></div>
539 </li>
540 <li class="nav-section">
Dirk Dougherty16542642014-02-07 19:58:28 -0800541 <div class="nav-section-header empty"><a href="/google/play-services/drive.html">
542 <span class="en">Drive</span>
543 </a></div>
544 </li>
545 <li class="nav-section">
546 <div class="nav-section-header empty"><a href="/google/play-services/cast.html">
547 <span class="en">Cast</span>
548 </a></div>
549 </li>
550 <li class="nav-section">
quddusc563daee2013-12-03 19:31:14 -0800551 <div class="nav-section-header"><a href="/google/play-services/ads.html">
552 <span class="en">Ads</span></a>
553 </div>
554 <ul>
555 <li><a href="/google/play-services/id.html">
556 <span class="en">Advertising ID</span></a>
557 </li>
558 </ul>
559 </li>
560 <li class="nav-section">
561 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html">
562 <span class="en">Wallet</span>
563 </a></div>
564 </li>
Quddus Chong33fca8e2015-04-13 15:16:55 -0700565 <li class="nav-section">
566 <div class="nav-section-header"><a href="/google/play/safetynet/index.html">
567 <span class="en">SafetyNet</span>
568 </a></div>
569 <ul>
570 <li>
571 <a href="/google/play/safetynet/start.html">
572 <span class="en">Getting Started</span>
573 </a>
574 </li>
575 </ul>
576 </li>
quddusc563daee2013-12-03 19:31:14 -0800577
578 <li class="nav-section">
579 <div class="nav-section-header"><a href="/google/play-services/index.html">
580 <span class="en">Google Play Services</span></a>
581 </div>
582 <ul>
583 <li><a href="/google/play-services/setup.html">
Quddus Chonge457fb62014-09-11 18:55:43 -0700584 <span class="en">Setting Up Google Play Services</span></a>
quddusc563daee2013-12-03 19:31:14 -0800585 </li>
quddusc682d8e92014-03-13 11:55:32 -0700586 <li class="nav-section">
587 <div class="nav-section-header"><a href="/google/auth/api-client.html">
Quddus Chonge457fb62014-09-11 18:55:43 -0700588 <span class="en">Accessing Google APIs</span></a>
quddusc682d8e92014-03-13 11:55:32 -0700589 </div>
590 <ul>
591 <li>
592 <a href="/google/auth/http-auth.html">
593 <span class="en">Authorizing with Google for REST APIs</span>
594 </a>
595 </li>
596 </ul>
597 </li>
quddusc563daee2013-12-03 19:31:14 -0800598 <li id="gms-tree-list" class="nav-section">
599 <div class="nav-section-header">
600 <a href="/reference/gms-packages.html">
601 <span class="en">Reference</span>
602 </a>
603 <div>
604 </li>
605 </ul>
606 </li>
607
608
609 <li class="nav-section">
Joe Fernandez77869172015-03-19 16:36:02 +0000610 <div class="nav-section-header"><a href="/google/play/billing/index.html" zh-cn-lang="应用内结算">
quddusc563daee2013-12-03 19:31:14 -0800611 <span class="en">Google Play In-app Billing</span></a>
612 </div>
613 <ul>
Joe Fernandez77869172015-03-19 16:36:02 +0000614 <li><a href="/google/play/billing/billing_overview.html" zh-cn-lang="应用内结算概述">
quddusc563daee2013-12-03 19:31:14 -0800615 <span class="en">Overview</span></a>
616 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000617 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html" zh-cn-lang="应用内结算 API">
quddusc563daee2013-12-03 19:31:14 -0800618 <span class="en">Version 3 API</span></a></div>
619 <ul>
620 <li><a href="/google/play/billing/billing_integrate.html">
621 <span class="en">Implementing the API</span></a></li>
622 <li><a href="/google/play/billing/billing_reference.html">
623 <span class="en">Reference</span></a></li>
624 </ul>
625 </li>
626 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html">
627 <span class="en">Version 2 API</span></a></div>
628 <ul>
629 <li><a href="/google/play/billing/v2/billing_integrate.html">
630 <span class="en">Implementing the API</span></a></li>
631 <li><a href="/google/play/billing/v2/billing_subscriptions.html">
632 <span class="en">Subscriptions</span></a></li>
633 <li><a href="/google/play/billing/v2/billing_reference.html">
634 <span class="en">Reference</span></a></li>
635 </ul>
636 </li>
637 <li><a href="/google/play/billing/billing_subscriptions.html">
638 <span class="en">Subscriptions</span></a>
639 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000640 <li><a href="/google/play/billing/billing_best_practices.html" zh-cn-lang="安全性和设计">
quddusc563daee2013-12-03 19:31:14 -0800641 <span class="en">Security and Design</span></a>
642 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000643 <li><a href="/google/play/billing/billing_testing.html" zh-cn-lang="测试应用内结算">
quddusc563daee2013-12-03 19:31:14 -0800644 <span class="en">Testing In-app Billing</span></a>
645 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000646 <li><a href="/google/play/billing/billing_admin.html" zh-cn-lang="管理应用内结算">
quddusc563daee2013-12-03 19:31:14 -0800647 <span class="en">Administering In-app Billing</span></a>
648 </li>
quddusc563daee2013-12-03 19:31:14 -0800649 <li><a href="/google/play/billing/versions.html">
650 <span class="en">Version Notes</span></a>
651 </li>
652 </ul>
653 </li>
654
655
656
657 <li class="nav-section">
658 <div class="nav-section-header"><a href="/google/gcm/index.html">
659 <span class="en">Google Cloud Messaging</span></a>
660 </div>
661 <ul>
662 <li><a href="/google/gcm/gcm.html">
663 <span class="en">Overview</span></a>
664 </li>
665 <li><a href="/google/gcm/gs.html">
666 <span class="en">Getting Started</span></a>
667 </li>
668 <li><a href="/google/gcm/client.html">
669 <span class="en">Implementing GCM Client</span></a>
670 </li>
671 <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html">
672 <span class="en">Implementing GCM Server</span></a></div>
673 <ul>
674 <li><a href="/google/gcm/ccs.html">
675 <span class="en">CCS (XMPP)</span></a></li>
676 <li><a href="/google/gcm/http.html">
677 <span class="en">HTTP</span></a></li>
678 </ul>
679 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000680 <li><a href="/google/gcm/server-ref.html">
681 <span class="en">Server Reference</span></a>
682 </li>
quddusc563daee2013-12-03 19:31:14 -0800683 <li><a href="/google/gcm/notifications.html">
684 <span class="en">User Notifications</span></a>
685 </li>
quddusc563daee2013-12-03 19:31:14 -0800686 <li><a href="/google/gcm/c2dm.html">
687 <span class="en">Migration</span></a>
688 </li>
quddusc563daee2013-12-03 19:31:14 -0800689 </ul>
690 </li>
691
692 <li class="nav-section">
Quddus Chonge457fb62014-09-11 18:55:43 -0700693 <div class="nav-section-header empty"><a href="/google/gcs/index.html">
694 <span class="en">Google Cloud Save</span></a>
695 </div>
696 </li>
697
698 <li class="nav-section">
quddusc563daee2013-12-03 19:31:14 -0800699 <div class="nav-section-header"><a href="/google/play/dist.html">
700 <span class="en">Google Play Distribution</span></a>
701 </div>
702 <ul>
703 <li><a href="/google/play/filters.html">
704 <span class="en">Filters on Google Play</span></a>
705 </li>
Quddus Chonge457fb62014-09-11 18:55:43 -0700706 <li><a href="/google/play/billing/gp-purchase-status-api.html">
707 <span class="en">Google Play Developer API</span></a>
708 </li>
quddusc563daee2013-12-03 19:31:14 -0800709 <li><a href="/google/play/publishing/multiple-apks.html">
710 <span class="en">Multiple APK Support</span></a>
711 </li>
712 <li><a href="/google/play/expansion-files.html">
713 <span class="en">APK Expansion Files</span></a>
714 </li>
715 <li class="nav-section">
716 <div class="nav-section-header"><a href="/google/play/licensing/index.html">
717 <span class="en">Application Licensing</span></a>
718 </div>
719 <ul>
720 <li><a href="/google/play/licensing/overview.html">
721 <span class="en">Licensing Overview</span></a>
722 </li>
723 <li><a href="/google/play/licensing/setting-up.html">
724 <span class="en">Setting Up for Licensing</span></a>
725 </li>
726 <li><a href="/google/play/licensing/adding-licensing.html">
727 <span class="en">Adding Licensing to Your App</span></a>
728 </li>
729 <li><a href="/google/play/licensing/licensing-reference.html">
730 <span class="en">Licensing Reference</span></a>
731 </li>
732 </ul>
733 </li>
734
735 <li class="nav-section">
736 <div class="nav-section-header"><a href="/google/backup/index.html">
737 Android Backup Service</a>
738 </div>
739 <ul>
740 <li><a href="/google/backup/signup.html">
741 Register</a>
742 </li>
743 </ul>
744 </li>
745
746 </ul>
747
748</li>
749
750
751
752</ul>
753
754<script type="text/javascript">
755<!--
756 buildToggleLists();
757 changeNavLang(getLangPref());
758//-->
759</script>
760
761
Quddus Chongfd19ada2014-11-18 16:41:07 -0800762
quddusc563daee2013-12-03 19:31:14 -0800763
764 </div>
765 <script type="text/javascript">
766 showGoogleRefTree();
Quddus Chongfd19ada2014-11-18 16:41:07 -0800767
quddusc563daee2013-12-03 19:31:14 -0800768 </script>
769 </div> <!-- end side-nav -->
770 <script>
771 $(document).ready(function() {
772 scrollIntoView("devdoc-nav");
773 });
774 </script>
775
776
Quddus Chongfd19ada2014-11-18 16:41:07 -0800777
quddusc563daee2013-12-03 19:31:14 -0800778
779
780
781<div class="col-12" id="doc-col">
782
783<div id="api-info-block">
784
785
786
Quddus Chongfd19ada2014-11-18 16:41:07 -0800787
788
789
790
791
792
quddusc563daee2013-12-03 19:31:14 -0800793
794
795<div class="sum-details-links">
796
797Summary:
798
799
800
801
802
Quddus Chong559c0062014-06-12 13:59:34 -0700803 <a href="#constants">Constants</a>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800804
Quddus Chong559c0062014-06-12 13:59:34 -0700805
806
807
808 &#124; <a href="#lfields">Fields</a>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800809
quddusc563daee2013-12-03 19:31:14 -0800810
811
812
813
814
quddusc563daee2013-12-03 19:31:14 -0800815
816
817 &#124; <a href="#inhmethods">Inherited Methods</a>
818
819&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
820
821</div><!-- end sum-details-links -->
822<div class="api-level">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800823
824
825
quddusc563daee2013-12-03 19:31:14 -0800826
827</div>
828</div><!-- end api-info-block -->
829
830
831<!-- ======== START OF CLASS DATA ======== -->
832
833<div id="jd-header">
834 public
Quddus Chongfd19ada2014-11-18 16:41:07 -0800835
836
837
Quddus Chong559c0062014-06-12 13:59:34 -0700838 class
839<h1 itemprop="name">ActivityRecognition</h1>
840
841
842
Quddus Chongfd19ada2014-11-18 16:41:07 -0800843
Quddus Chong559c0062014-06-12 13:59:34 -0700844 extends Object<br/>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800845
846
847
848
849
850
851
Quddus Chong559c0062014-06-12 13:59:34 -0700852
853
Quddus Chongfd19ada2014-11-18 16:41:07 -0800854
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700855
856
quddusc563daee2013-12-03 19:31:14 -0800857</div><!-- end header -->
858
859<div id="naMessage"></div>
860
861<div id="jd-content" class="api apilevel-">
862<table class="jd-inheritance-table">
863
864
865 <tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800866
Quddus Chong559c0062014-06-12 13:59:34 -0700867 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
quddusc563daee2013-12-03 19:31:14 -0800868 </tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800869
Quddus Chong559c0062014-06-12 13:59:34 -0700870
871 <tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800872
Quddus Chong559c0062014-06-12 13:59:34 -0700873 <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800874
Quddus Chong559c0062014-06-12 13:59:34 -0700875 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.location.ActivityRecognition</td>
876 </tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800877
quddusc563daee2013-12-03 19:31:14 -0800878
879</table>
880
881
882
883
884
885
886
887<div class="jd-descr">
888
889
890<h2>Class Overview</h2>
Quddus Chong559c0062014-06-12 13:59:34 -0700891<p itemprop="articleBody">The main entry point for activity recognition integration.
quddusc563daee2013-12-03 19:31:14 -0800892</p>
893
894
895
896
897
898</div><!-- jd-descr -->
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915<div class="jd-descr">
916
917
918<h2>Summary</h2>
919
920
921
922
923
924
925
926
927
928
929
930
931
Quddus Chong559c0062014-06-12 13:59:34 -0700932<!-- =========== ENUM CONSTANT SUMMARY =========== -->
933<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr>
quddusc563daee2013-12-03 19:31:14 -0800934
935
Quddus Chongfd19ada2014-11-18 16:41:07 -0800936
quddusc563daee2013-12-03 19:31:14 -0800937 <tr class="alt-color api apilevel-" >
Quddus Chong559c0062014-06-12 13:59:34 -0700938 <td class="jd-typecol">String</td>
939 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/ActivityRecognition.html#CLIENT_NAME">CLIENT_NAME</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700940 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800941
942
943
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700944
945 </td>
Quddus Chong559c0062014-06-12 13:59:34 -0700946 </tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800947
948
quddusc563daee2013-12-03 19:31:14 -0800949
950</table>
951
952
953
954
955
956
957
Quddus Chong559c0062014-06-12 13:59:34 -0700958<!-- =========== FIELD SUMMARY =========== -->
959<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr>
960
961
Quddus Chongfd19ada2014-11-18 16:41:07 -0800962
Quddus Chong559c0062014-06-12 13:59:34 -0700963 <tr class="alt-color api apilevel-" >
964 <td class="jd-typecol"><nobr>
965 public
966 static
967 final
968 <a href="/reference/com/google/android/gms/common/api/Api.html">Api</a>&lt;<a href="/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html">Api.ApiOptions.NoOptions</a>&gt;</nobr></td>
969 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/ActivityRecognition.html#API">API</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700970 <td class="jd-descrcol" width="100%">
971 Token to pass to <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApi(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>)">addApi(Api<? extends Api.ApiOptions.NotRequiredOptions>)</a></code> to enable ContextServices.
Quddus Chongfd19ada2014-11-18 16:41:07 -0800972
973
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700974
975 </td>
Quddus Chong559c0062014-06-12 13:59:34 -0700976 </tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800977
978
Quddus Chong559c0062014-06-12 13:59:34 -0700979 <tr class=" api apilevel-" >
980 <td class="jd-typecol"><nobr>
981 public
982 static
Quddus Chongfd19ada2014-11-18 16:41:07 -0800983
Quddus Chong559c0062014-06-12 13:59:34 -0700984 <a href="/reference/com/google/android/gms/location/ActivityRecognitionApi.html">ActivityRecognitionApi</a></nobr></td>
985 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/ActivityRecognition.html#ActivityRecognitionApi">ActivityRecognitionApi</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700986 <td class="jd-descrcol" width="100%">
987 Entry point to the activity recognition APIs.
Quddus Chongfd19ada2014-11-18 16:41:07 -0800988
989
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700990
991 </td>
Quddus Chong559c0062014-06-12 13:59:34 -0700992 </tr>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800993
994
Quddus Chong559c0062014-06-12 13:59:34 -0700995
996</table>
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
quddusc563daee2013-12-03 19:31:14 -08001013<!-- ========== METHOD SUMMARY =========== -->
1014<table id="inhmethods" class="jd-sumtable"><tr><th>
1015 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
1016 <div style="clear:left;">Inherited Methods</div></th></tr>
1017
1018
1019<tr class="api apilevel-" >
1020<td colspan="12">
Quddus Chong559c0062014-06-12 13:59:34 -07001021 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
1022 ><img id="inherited-methods-java.lang.Object-trigger"
quddusc563daee2013-12-03 19:31:14 -08001023 src="/assets/images/triangle-closed.png"
1024 class="jd-expando-trigger-img" /></a>
Quddus Chong559c0062014-06-12 13:59:34 -07001025From class
quddusc563daee2013-12-03 19:31:14 -08001026
Quddus Chong559c0062014-06-12 13:59:34 -07001027 java.lang.Object
quddusc563daee2013-12-03 19:31:14 -08001028
Quddus Chong559c0062014-06-12 13:59:34 -07001029<div id="inherited-methods-java.lang.Object">
1030 <div id="inherited-methods-java.lang.Object-list"
quddusc563daee2013-12-03 19:31:14 -08001031 class="jd-inheritedlinks">
1032 </div>
Quddus Chong559c0062014-06-12 13:59:34 -07001033 <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
quddusc563daee2013-12-03 19:31:14 -08001034 <table class="jd-sumtable-expando">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001035
quddusc563daee2013-12-03 19:31:14 -08001036
1037
Quddus Chongfd19ada2014-11-18 16:41:07 -08001038
quddusc563daee2013-12-03 19:31:14 -08001039 <tr class="alt-color api apilevel-" >
1040 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001041
1042
1043
1044
1045
Quddus Chong559c0062014-06-12 13:59:34 -07001046 Object</nobr>
quddusc563daee2013-12-03 19:31:14 -08001047 </td>
1048 <td class="jd-linkcol" width="100%"><nobr>
Quddus Chong559c0062014-06-12 13:59:34 -07001049 <span class="sympad">clone</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001050
Quddus Chong559c0062014-06-12 13:59:34 -07001051 </td></tr>
1052
1053
Quddus Chongfd19ada2014-11-18 16:41:07 -08001054
Quddus Chong559c0062014-06-12 13:59:34 -07001055 <tr class=" api apilevel-" >
1056 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001057
1058
1059
1060
1061
Quddus Chong559c0062014-06-12 13:59:34 -07001062 boolean</nobr>
1063 </td>
1064 <td class="jd-linkcol" width="100%"><nobr>
1065 <span class="sympad">equals</span>(Object arg0)</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001066
Quddus Chong559c0062014-06-12 13:59:34 -07001067 </td></tr>
1068
1069
Quddus Chongfd19ada2014-11-18 16:41:07 -08001070
Quddus Chong559c0062014-06-12 13:59:34 -07001071 <tr class="alt-color api apilevel-" >
1072 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001073
1074
1075
1076
1077
Quddus Chong559c0062014-06-12 13:59:34 -07001078 void</nobr>
1079 </td>
1080 <td class="jd-linkcol" width="100%"><nobr>
1081 <span class="sympad">finalize</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001082
Quddus Chong559c0062014-06-12 13:59:34 -07001083 </td></tr>
1084
1085
Quddus Chongfd19ada2014-11-18 16:41:07 -08001086
Quddus Chong559c0062014-06-12 13:59:34 -07001087 <tr class=" api apilevel-" >
1088 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001089
1090
Quddus Chong559c0062014-06-12 13:59:34 -07001091 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001092
1093
Quddus Chong559c0062014-06-12 13:59:34 -07001094 Class&lt;?&gt;</nobr>
1095 </td>
1096 <td class="jd-linkcol" width="100%"><nobr>
1097 <span class="sympad">getClass</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001098
Quddus Chong559c0062014-06-12 13:59:34 -07001099 </td></tr>
1100
1101
Quddus Chongfd19ada2014-11-18 16:41:07 -08001102
Quddus Chong559c0062014-06-12 13:59:34 -07001103 <tr class="alt-color api apilevel-" >
1104 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001105
1106
1107
1108
1109
Quddus Chong559c0062014-06-12 13:59:34 -07001110 int</nobr>
1111 </td>
1112 <td class="jd-linkcol" width="100%"><nobr>
1113 <span class="sympad">hashCode</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001114
Quddus Chong559c0062014-06-12 13:59:34 -07001115 </td></tr>
1116
1117
Quddus Chongfd19ada2014-11-18 16:41:07 -08001118
Quddus Chong559c0062014-06-12 13:59:34 -07001119 <tr class=" api apilevel-" >
1120 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001121
1122
Quddus Chong559c0062014-06-12 13:59:34 -07001123 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001124
1125
Quddus Chong559c0062014-06-12 13:59:34 -07001126 void</nobr>
1127 </td>
1128 <td class="jd-linkcol" width="100%"><nobr>
1129 <span class="sympad">notify</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001130
Quddus Chong559c0062014-06-12 13:59:34 -07001131 </td></tr>
1132
1133
Quddus Chongfd19ada2014-11-18 16:41:07 -08001134
Quddus Chong559c0062014-06-12 13:59:34 -07001135 <tr class="alt-color api apilevel-" >
1136 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001137
1138
Quddus Chong559c0062014-06-12 13:59:34 -07001139 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001140
1141
Quddus Chong559c0062014-06-12 13:59:34 -07001142 void</nobr>
1143 </td>
1144 <td class="jd-linkcol" width="100%"><nobr>
1145 <span class="sympad">notifyAll</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001146
Quddus Chong559c0062014-06-12 13:59:34 -07001147 </td></tr>
1148
1149
Quddus Chongfd19ada2014-11-18 16:41:07 -08001150
Quddus Chong559c0062014-06-12 13:59:34 -07001151 <tr class=" api apilevel-" >
1152 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001153
1154
1155
1156
1157
Quddus Chong559c0062014-06-12 13:59:34 -07001158 String</nobr>
1159 </td>
1160 <td class="jd-linkcol" width="100%"><nobr>
1161 <span class="sympad">toString</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001162
Quddus Chong559c0062014-06-12 13:59:34 -07001163 </td></tr>
1164
1165
Quddus Chongfd19ada2014-11-18 16:41:07 -08001166
Quddus Chong559c0062014-06-12 13:59:34 -07001167 <tr class="alt-color api apilevel-" >
1168 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001169
1170
Quddus Chong559c0062014-06-12 13:59:34 -07001171 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001172
1173
Quddus Chong559c0062014-06-12 13:59:34 -07001174 void</nobr>
1175 </td>
1176 <td class="jd-linkcol" width="100%"><nobr>
1177 <span class="sympad">wait</span>()</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001178
Quddus Chong559c0062014-06-12 13:59:34 -07001179 </td></tr>
1180
1181
Quddus Chongfd19ada2014-11-18 16:41:07 -08001182
Quddus Chong559c0062014-06-12 13:59:34 -07001183 <tr class=" api apilevel-" >
1184 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001185
1186
Quddus Chong559c0062014-06-12 13:59:34 -07001187 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001188
1189
Quddus Chong559c0062014-06-12 13:59:34 -07001190 void</nobr>
1191 </td>
1192 <td class="jd-linkcol" width="100%"><nobr>
1193 <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001194
Quddus Chong559c0062014-06-12 13:59:34 -07001195 </td></tr>
1196
1197
Quddus Chongfd19ada2014-11-18 16:41:07 -08001198
Quddus Chong559c0062014-06-12 13:59:34 -07001199 <tr class="alt-color api apilevel-" >
1200 <td class="jd-typecol"><nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001201
1202
Quddus Chong559c0062014-06-12 13:59:34 -07001203 final
Quddus Chongfd19ada2014-11-18 16:41:07 -08001204
1205
Quddus Chong559c0062014-06-12 13:59:34 -07001206 void</nobr>
1207 </td>
1208 <td class="jd-linkcol" width="100%"><nobr>
1209 <span class="sympad">wait</span>(long arg0)</nobr>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001210
quddusc563daee2013-12-03 19:31:14 -08001211 </td></tr>
1212
1213
1214</table>
1215 </div>
1216</div>
1217</td></tr>
1218
1219
1220</table>
1221
1222
1223</div><!-- jd-descr (summary) -->
1224
1225<!-- Details -->
1226
1227
1228
1229
1230
1231
1232
1233
1234<!-- XML Attributes -->
1235
1236
1237<!-- Enum Values -->
1238
1239
1240<!-- Constants -->
1241
1242
Quddus Chong559c0062014-06-12 13:59:34 -07001243<!-- ========= ENUM CONSTANTS DETAIL ======== -->
1244<h2>Constants</h2>
1245
1246
1247
1248
1249<A NAME="CLIENT_NAME"></A>
1250
Quddus Chongfd19ada2014-11-18 16:41:07 -08001251<div class="jd-details api apilevel-">
Quddus Chong559c0062014-06-12 13:59:34 -07001252 <h4 class="jd-details-title">
1253 <span class="normal">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001254 public
1255 static
1256 final
Quddus Chong559c0062014-06-12 13:59:34 -07001257 String
1258 </span>
1259 CLIENT_NAME
1260 </h4>
1261 <div class="api-level">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001262
1263
1264
Quddus Chong559c0062014-06-12 13:59:34 -07001265
1266 </div>
1267 <div class="jd-details-descr">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001268
1269
Quddus Chong559c0062014-06-12 13:59:34 -07001270
Quddus Chongfd19ada2014-11-18 16:41:07 -08001271
Quddus Chong559c0062014-06-12 13:59:34 -07001272 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1273
Quddus Chongfd19ada2014-11-18 16:41:07 -08001274
Quddus Chong559c0062014-06-12 13:59:34 -07001275 <div class="jd-tagdata">
1276 <span class="jd-tagtitle">Constant Value: </span>
1277 <span>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001278
Quddus Chong559c0062014-06-12 13:59:34 -07001279 "activity_recognition"
Quddus Chongfd19ada2014-11-18 16:41:07 -08001280
Quddus Chong559c0062014-06-12 13:59:34 -07001281 </span>
1282 </div>
Quddus Chongfd19ada2014-11-18 16:41:07 -08001283
Quddus Chong559c0062014-06-12 13:59:34 -07001284 </div>
1285</div>
1286
1287
1288
1289
quddusc563daee2013-12-03 19:31:14 -08001290<!-- Fields -->
1291
1292
Quddus Chong559c0062014-06-12 13:59:34 -07001293<!-- ========= FIELD DETAIL ======== -->
1294<h2>Fields</h2>
1295
1296
1297
1298
1299<A NAME="API"></A>
1300
Quddus Chongfd19ada2014-11-18 16:41:07 -08001301<div class="jd-details api apilevel-">
Quddus Chong559c0062014-06-12 13:59:34 -07001302 <h4 class="jd-details-title">
1303 <span class="normal">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001304 public
1305 static
1306 final
Quddus Chong559c0062014-06-12 13:59:34 -07001307 <a href="/reference/com/google/android/gms/common/api/Api.html">Api</a>&lt;<a href="/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html">Api.ApiOptions.NoOptions</a>&gt;
1308 </span>
1309 API
1310 </h4>
1311 <div class="api-level">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001312
1313
1314
Quddus Chong559c0062014-06-12 13:59:34 -07001315
1316 </div>
1317 <div class="jd-details-descr">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001318
1319
Quddus Chong559c0062014-06-12 13:59:34 -07001320
Quddus Chongfd19ada2014-11-18 16:41:07 -08001321
Quddus Chong559c0062014-06-12 13:59:34 -07001322 <div class="jd-tagdata jd-tagdescr"><p>Token to pass to <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApi(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>)">addApi(Api<? extends Api.ApiOptions.NotRequiredOptions>)</a></code> to enable ContextServices.
1323</p></div>
1324
Quddus Chongfd19ada2014-11-18 16:41:07 -08001325
Quddus Chong559c0062014-06-12 13:59:34 -07001326 </div>
1327</div>
1328
1329
1330
1331<A NAME="ActivityRecognitionApi"></A>
1332
Quddus Chongfd19ada2014-11-18 16:41:07 -08001333<div class="jd-details api apilevel-">
Quddus Chong559c0062014-06-12 13:59:34 -07001334 <h4 class="jd-details-title">
1335 <span class="normal">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001336 public
1337 static
1338
Quddus Chong559c0062014-06-12 13:59:34 -07001339 <a href="/reference/com/google/android/gms/location/ActivityRecognitionApi.html">ActivityRecognitionApi</a>
1340 </span>
1341 ActivityRecognitionApi
1342 </h4>
1343 <div class="api-level">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001344
1345
1346
Quddus Chong559c0062014-06-12 13:59:34 -07001347
1348 </div>
1349 <div class="jd-details-descr">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001350
1351
Quddus Chong559c0062014-06-12 13:59:34 -07001352
Quddus Chongfd19ada2014-11-18 16:41:07 -08001353
Quddus Chong559c0062014-06-12 13:59:34 -07001354 <div class="jd-tagdata jd-tagdescr"><p>Entry point to the activity recognition APIs.
1355</p></div>
1356
Quddus Chongfd19ada2014-11-18 16:41:07 -08001357
Quddus Chong559c0062014-06-12 13:59:34 -07001358 </div>
1359</div>
1360
1361
1362
1363
quddusc563daee2013-12-03 19:31:14 -08001364<!-- Public ctors -->
1365
1366
1367
1368<!-- ========= CONSTRUCTOR DETAIL ======== -->
1369<!-- Protected ctors -->
1370
1371
1372
1373<!-- ========= METHOD DETAIL ======== -->
1374<!-- Public methdos -->
1375
quddusc563daee2013-12-03 19:31:14 -08001376
1377
1378<!-- ========= METHOD DETAIL ======== -->
1379
1380
1381
1382<!-- ========= END OF CLASS DATA ========= -->
1383<A NAME="navbar_top"></A>
1384
1385<div id="footer" class="wrap" >
Quddus Chongfd19ada2014-11-18 16:41:07 -08001386
quddusc563daee2013-12-03 19:31:14 -08001387
1388 <div id="copyright">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001389
quddusc563daee2013-12-03 19:31:14 -08001390 Except as noted, this content is licensed under <a
Quddus Chongfd19ada2014-11-18 16:41:07 -08001391 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
quddusc563daee2013-12-03 19:31:14 -08001392 For details and restrictions, see the <a href="/license.html">
1393 Content License</a>.
1394 </div>
1395 <div id="build_info">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001396
quddusc563daee2013-12-03 19:31:14 -08001397<script src="/timestamp.js" type="text/javascript"></script>
1398<script>document.write(BUILD_TIMESTAMP)</script>
1399
1400 </div>
1401
1402
1403 <div id="footerlinks">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001404
quddusc563daee2013-12-03 19:31:14 -08001405 <p>
1406 <a href="/about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
1407 <a href="/legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
1408 <a href="/support.html">Support</a>
1409 </p>
1410 </div>
1411
1412</div> <!-- end footer -->
1413</div> <!-- jd-content -->
1414
1415</div><!-- end doc-content -->
1416
Quddus Chongfd19ada2014-11-18 16:41:07 -08001417</div> <!-- end body-content -->
quddusc563daee2013-12-03 19:31:14 -08001418
1419
1420
1421
1422
1423
1424</body>
1425</html>