diff options
author | Quddus Chong <quddusc@google.com> | 2015-04-13 15:16:55 -0700 |
---|---|---|
committer | Quddus Chong <quddusc@google.com> | 2015-04-22 16:43:05 -0700 |
commit | a93259a4d6ab5c3f003322bfe72cac462fb5d77a (patch) | |
tree | 535e3429ee7eb6a8e7074ebac78658c177a57202 /docs/html/reference/com/google/android/gms/common | |
parent | ee066f576e153bc11ea1a3991d0204c953d2c3fa (diff) | |
download | frameworks_base-a93259a4d6ab5c3f003322bfe72cac462fb5d77a.zip frameworks_base-a93259a4d6ab5c3f003322bfe72cac462fb5d77a.tar.gz frameworks_base-a93259a4d6ab5c3f003322bfe72cac462fb5d77a.tar.bz2 |
cherrypick from lmp-docs. docs: Added 3rd-party Javadocs for GMS
Parmesan release. Original change-Id: Ia133c7267e500969310524369d34ab07c6aaa854
Change-Id: I07f38278510e92bc3097ea749c7fb4e6b817f545
Diffstat (limited to 'docs/html/reference/com/google/android/gms/common')
52 files changed, 3822 insertions, 213 deletions
diff --git a/docs/html/reference/com/google/android/gms/common/AccountPicker.html b/docs/html/reference/com/google/android/gms/common/AccountPicker.html index 3ad45f2..f1dabba 100644 --- a/docs/html/reference/com/google/android/gms/common/AccountPicker.html +++ b/docs/html/reference/com/google/android/gms/common/AccountPicker.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1259,7 +1270,7 @@ From class startActivityForResult(intent, SOME_REQUEST_CODE); </pre> - The account picker activity will return when use has selected and/or created an account, + The account picker activity will return when the user has selected and/or created an account, and the resulting account name can be retrieved as follows: <pre> protected void onActivityResult(final int requestCode, final int resultCode, diff --git a/docs/html/reference/com/google/android/gms/common/ConnectionResult.html b/docs/html/reference/com/google/android/gms/common/ConnectionResult.html index 623143c..c165b02 100644 --- a/docs/html/reference/com/google/android/gms/common/ConnectionResult.html +++ b/docs/html/reference/com/google/android/gms/common/ConnectionResult.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -963,8 +974,7 @@ Summary: <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#CANCELED">CANCELED</a></td> <td class="jd-descrcol" width="100%"> - The client canceled the connection by calling - <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code>. + The connection was canceled. @@ -1110,6 +1120,18 @@ Summary: <tr class=" api apilevel-" > <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SERVICE_UPDATING">SERVICE_UPDATING</a></td> + <td class="jd-descrcol" width="100%"> + Google Play service is currently being updated on this device. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SERVICE_VERSION_UPDATE_REQUIRED">SERVICE_VERSION_UPDATE_REQUIRED</a></td> <td class="jd-descrcol" width="100%"> The installed version of Google Play services is out of date. @@ -1120,7 +1142,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SIGN_IN_FAILED">SIGN_IN_FAILED</a></td> <td class="jd-descrcol" width="100%"> @@ -1132,7 +1154,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SIGN_IN_REQUIRED">SIGN_IN_REQUIRED</a></td> <td class="jd-descrcol" width="100%"> @@ -1145,7 +1167,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></td> <td class="jd-descrcol" width="100%"> @@ -1157,7 +1179,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/ConnectionResult.html#TIMEOUT">TIMEOUT</a></td> <td class="jd-descrcol" width="100%"> @@ -1874,9 +1896,15 @@ From interface - <div class="jd-tagdata jd-tagdescr"><p>The client canceled the connection by calling - <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code>. Only returned by - <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#blockingConnect()">blockingConnect()</a></code>. + <div class="jd-tagdata jd-tagdescr"><p>The connection was canceled. This is returned in two situations: + <ul> + <li>By <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#blockingConnect()">blockingConnect()</a></code> when + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> is called before the + connection completes. + <li>To the OnConnectionFailedListener passed to + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#enableAutoManage(android.support.v4.app.FragmentActivity, int, com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener)">enableAutoManage(FragmentActivity, int, GoogleApiClient.OnConnectionFailedListener)</a></code> when the + user choses not to complete a provided resolution. For example by canceling a dialog. + </ul> </p></div> @@ -2381,6 +2409,48 @@ From interface +<A NAME="SERVICE_UPDATING"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + SERVICE_UPDATING + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Google Play service is currently being updated on this device. +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 18 + (0x00000012) + + </span> + </div> + + </div> +</div> + + + <A NAME="SERVICE_VERSION_UPDATE_REQUIRED"></A> <div class="jd-details api apilevel-"> @@ -2449,10 +2519,12 @@ From interface - <div class="jd-tagdata jd-tagdescr"><p>The client attempted to connect to the service but the user is not signed in. Either an error - occurred when signing in the user and the error can not be recovered with any user - interaction; or the service may have been part of an optional API and it may be the case - that no mandatory APIs required authentication, so authentication will not occur. + <div class="jd-tagdata jd-tagdescr"><p>The client attempted to connect to the service but the user is not signed in. An error may + have occurred when signing in the user and the error can not be recovered with any user + interaction. Alternately, the API may have been requested with + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApiIfAvailable(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>, com.google.android.gms.common.api.Scope...)">addApiIfAvailable(Api<? extends Api.ApiOptions.NotRequiredOptions>, Scope...)</a></code> and + it may be the case that no required APIs needed authentication, so authentication did not + occur. <p> When seeing this error code,there is no resolution for the sign-in failure. </p></div> diff --git a/docs/html/reference/com/google/android/gms/common/ErrorDialogFragment.html b/docs/html/reference/com/google/android/gms/common/ErrorDialogFragment.html index 61e8fe8..b1f2a56 100644 --- a/docs/html/reference/com/google/android/gms/common/ErrorDialogFragment.html +++ b/docs/html/reference/com/google/android/gms/common/ErrorDialogFragment.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/GoogleApiAvailability.html b/docs/html/reference/com/google/android/gms/common/GoogleApiAvailability.html new file mode 100644 index 0000000..38c00a6 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/common/GoogleApiAvailability.html @@ -0,0 +1,2204 @@ +<!DOCTYPE html> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<html> +<head> + + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width" /> + +<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> +<title>GoogleApiAvailability | Android Developers</title> + +<!-- STYLESHEETS --> +<link rel="stylesheet" +href="//fonts.googleapis.com/css?family=Roboto+Condensed"> +<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold" + title="roboto"> +<link href="/assets/css/default.css?v=5" rel="stylesheet" type="text/css"> + + + +<!-- JAVASCRIPT --> +<script src="//www.google.com/jsapi" type="text/javascript"></script> +<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script> +<script type="text/javascript"> + var toRoot = "/"; + var metaTags = []; + var devsite = false; +</script> +<script src="/assets/js/docs.js?v=3" type="text/javascript"></script> + + + +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-5831155-1', 'android.com'); + ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker); + ga('send', 'pageview'); + ga('universal.send', 'pageview'); // Send page view for new tracker. +</script> + +</head> + +<body class="gc-documentation google + develop reference" itemscope itemtype="http://schema.org/Article"> + <div id="doc-api-level" class="" style="display:none"></div> + <a name="top"></a> + + +<a name="top"></a> + +<!-- dialog to prompt lang pref change when loaded from hardcoded URL +<div id="langMessage" style="display:none"> + <div> + <div class="lang en"> + <p>You requested a page in English, would you like to proceed with this language setting?</p> + </div> + <div class="lang es"> + <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p> + </div> + <div class="lang ja"> + <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p> + </div> + <div class="lang ko"> + <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p> + </div> + <div class="lang ru"> + <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p> + </div> + <div class="lang zh-cn"> + <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p> + </div> + <div class="lang zh-tw"> + <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p> + </div> + <a href="#" class="button yes" onclick="return false;"> + <span class="lang en">Yes</span> + <span class="lang es">Sí</span> + <span class="lang ja">Yes</span> + <span class="lang ko">Yes</span> + <span class="lang ru">Yes</span> + <span class="lang zh-cn">是的</span> + <span class="lang zh-tw">没有</span> + </a> + <a href="#" class="button" onclick="$('#langMessage').hide();return false;"> + <span class="lang en">No</span> + <span class="lang es">No</span> + <span class="lang ja">No</span> + <span class="lang ko">No</span> + <span class="lang ru">No</span> + <span class="lang zh-cn">没有</span> + <span class="lang zh-tw">没有</span> + </a> + </div> +</div> --> + + + <!-- Header --> + <div id="header-wrapper"> + <div id="header"> + + + + + <div class="wrap" id="header-wrap"> + <div class="col-3 logo"> + <a href="/index.html"> + <img src="/assets/images/dac_logo.png" + srcset="/assets/images/dac_logo@2x.png 2x" + width="123" height="25" alt="Android Developers" /> + </a> + <div class="btn-quicknav" id="btn-quicknav"> + <a href="#" class="arrow-inactive">Quicknav</a> + <a href="#" class="arrow-active">Quicknav</a> + </div> + </div> + <ul class="nav-x col-9"> + <li class="design"> + <a href="/design/index.html" + zh-tw-lang="設計" + zh-cn-lang="设计" + ru-lang="Проектирование" + ko-lang="디자인" + ja-lang="設計" + es-lang="Diseñar" + >Design</a></li> + <li class="develop"><a href="/develop/index.html" + zh-tw-lang="開發" + zh-cn-lang="开发" + ru-lang="Разработка" + ko-lang="개발" + ja-lang="開発" + es-lang="Desarrollar" + >Develop</a></li> + <li class="distribute last"><a href="/distribute/index.html" + zh-tw-lang="發佈" + zh-cn-lang="分发" + ru-lang="Распространение" + ko-lang="배포" + ja-lang="配布" + es-lang="Distribuir" + >Distribute</a></li> + </ul> + + + + +<div class="menu-container"> + <div class="moremenu"> + <div id="more-btn"></div> + </div> + <div class="morehover" id="moremenu"> + <div class="top"></div> + <div class="mid"> + <div class="header">Links</div> + <ul> + <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li> + <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> + <li><a href="/about/index.html">About Android</a></li> + </ul> + <div class="header">Android Sites</div> + <ul> + <li><a href="http://www.android.com">Android.com</a></li> + <li class="active"><a>Android Developers</a></li> + <li><a href="http://source.android.com">Android Open Source Project</a></li> + </ul> + + + + <div class="header">Language</div> + <div id="language" class="locales"> + <select name="language" onChange="changeLangPref(this.value, true)"> + <option value="en">English</option> + <option value="es">Español</option> + <option value="ja">日本語</option> + <option value="ko">한국어</option> + <option value="ru">Русский</option> + <option value="zh-cn">中文(简体)</option> + <option value="zh-tw">中文(繁體)</option> + </select> + </div> + <script type="text/javascript"> + <!-- + loadLangPref(); + //--> + </script> + + + <br class="clearfix" /> + </div><!-- end 'mid' --> + <div class="bottom"></div> + </div><!-- end 'moremenu' --> + + <div class="search" id="search-container"> + <div class="search-inner"> + <div id="search-btn"></div> + <div class="left"></div> + <form onsubmit="return submit_search()"> + <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" + onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" + onkeydown="return search_changed(event, true, '/')" + onkeyup="return search_changed(event, false, '/')" /> + </form> + <div class="right"></div> + <a class="close hide">close</a> + <div class="left"></div> + <div class="right"></div> + </div><!-- end search-inner --> + </div><!-- end search-container --> + + <div class="search_filtered_wrapper reference"> + <div class="suggest-card reference no-display"> + <ul class="search_filtered"> + </ul> + </div> + </div> + + <div class="search_filtered_wrapper docs"> + <div class="suggest-card dummy no-display"> </div> + <div class="suggest-card develop no-display"> + <ul class="search_filtered"> + </ul> + <div class="child-card guides no-display"> + </div> + <div class="child-card training no-display"> + </div> + <div class="child-card samples no-display"> + </div> + </div> + <div class="suggest-card design no-display"> + <ul class="search_filtered"> + </ul> + </div> + <div class="suggest-card distribute no-display"> + <ul class="search_filtered"> + </ul> + </div> + </div> +</div><!-- end menu-container (search and menu widget) --> + + + + <!-- Expanded quicknav --> + <div id="quicknav" class="col-13"> + <ul> + <li class="about"> + <ul> + <li><a href="/about/index.html">About</a></li> + <li><a href="/wear/index.html">Wear</a></li> + <li><a href="/tv/index.html">TV</a></li> + <li><a href="/auto/index.html">Auto</a></li> + </ul> + </li> + <li class="design"> + <ul> + <li><a href="/design/index.html">Get Started</a></li> + <li><a href="/design/devices.html">Devices</a></li> + <li><a href="/design/style/index.html">Style</a></li> + <li><a href="/design/patterns/index.html">Patterns</a></li> + <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> + <li><a href="/design/downloads/index.html">Downloads</a></li> + <li><a href="/design/videos/index.html">Videos</a></li> + </ul> + </li> + <li class="develop"> + <ul> + <li><a href="/training/index.html" + zh-tw-lang="訓練課程" + zh-cn-lang="培训" + ru-lang="Курсы" + ko-lang="교육" + ja-lang="トレーニング" + es-lang="Capacitación" + >Training</a></li> + <li><a href="/guide/index.html" + zh-tw-lang="API 指南" + zh-cn-lang="API 指南" + ru-lang="Руководства по API" + ko-lang="API 가이드" + ja-lang="API ガイド" + es-lang="Guías de la API" + >API Guides</a></li> + <li><a href="/reference/packages.html" + zh-tw-lang="參考資源" + zh-cn-lang="参考" + ru-lang="Справочник" + ko-lang="참조문서" + ja-lang="リファレンス" + es-lang="Referencia" + >Reference</a></li> + <li><a href="/sdk/index.html" + zh-tw-lang="相關工具" + zh-cn-lang="工具" + ru-lang="Инструменты" + ko-lang="도구" + ja-lang="ツール" + es-lang="Herramientas" + >Tools</a> + </li> + <li><a href="/google/index.html">Google Services</a> + </li> + + <li><a href="/samples/index.html">Samples</a> + </li> + + </ul> + </li> + <li class="distribute last"> + <ul> + <li><a href="/distribute/googleplay/index.html">Google Play</a></li> + <li><a href="/distribute/essentials/index.html">Essentials</a></li> + <li><a href="/distribute/users/index.html">Get Users</a></li> + <li><a href="/distribute/engage/index.html">Engage & Retain</a></li> + <li><a href="/distribute/monetize/index.html">Monetize</a></li> + <li><a href="/distribute/analyze/index.html">Analyze</a></li> + <li><a href="/distribute/tools/index.html">Tools & Reference</a></li> + <li><a href="/distribute/stories/index.html">Developer Stories</a></li> + </ul> + </li> + </ul> + </div><!-- /Expanded quicknav --> + </div><!-- end header-wrap.wrap --> + </div><!-- end header --> + + + <!-- Secondary x-nav --> + <div id="nav-x"> + <div class="wrap" style="position:relative;z-index:1"> + + + + + + <ul class="nav-x col-9 develop" style="width:100%"> + <li class="training"><a href="/training/index.html" + zh-tw-lang="訓練課程" + zh-cn-lang="培训" + ru-lang="Курсы" + ko-lang="교육" + ja-lang="トレーニング" + es-lang="Capacitación" + >Training</a></li> + <li class="guide"><a href="/guide/index.html" + zh-tw-lang="API 指南" + zh-cn-lang="API 指南" + ru-lang="Руководства по API" + ko-lang="API 가이드" + ja-lang="API ガイド" + es-lang="Guías de la API" + >API Guides</a></li> + <li class="reference"><a href="/reference/packages.html" + zh-tw-lang="參考資源" + zh-cn-lang="参考" + ru-lang="Справочник" + ko-lang="참조문서" + ja-lang="リファレンス" + es-lang="Referencia" + >Reference</a></li> + <li class="tools"><a href="/sdk/index.html" + zh-tw-lang="相關工具" + zh-cn-lang="工具" + ru-lang="Инструменты" + ko-lang="도구" + ja-lang="ツール" + es-lang="Herramientas" + >Tools</a></li> + <li class="google"><a href="/google/index.html" + >Google Services</a> + </li> + + <li class="samples"><a href="/samples/index.html" + >Samples</a> + </li> + + </ul> + </div> + </div> + <!-- /Sendondary x-nav DEVELOP --> + + + + <div id="searchResults" class="wrap" style="display:none;"> + <h2 id="searchTitle">Results</h2> + <div id="leftSearchControl" class="search-control">Loading...</div> + </div> + </div> <!--end header-wrapper --> + + <div id="sticky-header"> + <div> + <a class="logo" href="#top"></a> + <a class="top" href="#top"></a> + <ul class="breadcrumb"> + + <li class="current">GoogleApiAvailability</li> + </ul> + </div> + </div> + + + + + + + <div class="wrap clearfix" id="body-content"> + <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> + <div id="devdoc-nav" class="scroll-pane"> + + + +<ul id="nav"> + + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/index.html"> + <span class="en">Overview</span> + </a></div> + </li> + + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/games.html"> + <span class="en">Games</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/location.html"> + <span class="en">Location</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/plus.html"> + <span class="en">Google+</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/maps.html"> + <span class="en">Maps</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/drive.html"> + <span class="en">Drive</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/cast.html"> + <span class="en">Cast</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play-services/ads.html"> + <span class="en">Ads</span></a> + </div> + <ul> + <li><a href="/google/play-services/id.html"> + <span class="en">Advertising ID</span></a> + </li> + </ul> + </li> + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/play-services/wallet.html"> + <span class="en">Wallet</span> + </a></div> + </li> + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> + + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play-services/index.html"> + <span class="en">Google Play Services</span></a> + </div> + <ul> + <li><a href="/google/play-services/setup.html"> + <span class="en">Setting Up Google Play Services</span></a> + </li> + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/auth/api-client.html"> + <span class="en">Accessing Google APIs</span></a> + </div> + <ul> + <li> + <a href="/google/auth/http-auth.html"> + <span class="en">Authorizing with Google for REST APIs</span> + </a> + </li> + </ul> + </li> + <li id="gms-tree-list" class="nav-section"> + <div class="nav-section-header"> + <a href="/reference/gms-packages.html"> + <span class="en">Reference</span> + </a> + <div> + </li> + </ul> + </li> + + + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/billing/index.html" zh-cn-lang="应用内结算"> + <span class="en">Google Play In-app Billing</span></a> + </div> + <ul> + <li><a href="/google/play/billing/billing_overview.html" zh-cn-lang="应用内结算概述"> + <span class="en">Overview</span></a> + </li> + <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html" zh-cn-lang="应用内结算 API"> + <span class="en">Version 3 API</span></a></div> + <ul> + <li><a href="/google/play/billing/billing_integrate.html"> + <span class="en">Implementing the API</span></a></li> + <li><a href="/google/play/billing/billing_reference.html"> + <span class="en">Reference</span></a></li> + </ul> + </li> + <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html"> + <span class="en">Version 2 API</span></a></div> + <ul> + <li><a href="/google/play/billing/v2/billing_integrate.html"> + <span class="en">Implementing the API</span></a></li> + <li><a href="/google/play/billing/v2/billing_subscriptions.html"> + <span class="en">Subscriptions</span></a></li> + <li><a href="/google/play/billing/v2/billing_reference.html"> + <span class="en">Reference</span></a></li> + </ul> + </li> + <li><a href="/google/play/billing/billing_subscriptions.html"> + <span class="en">Subscriptions</span></a> + </li> + <li><a href="/google/play/billing/billing_best_practices.html" zh-cn-lang="安全性和设计"> + <span class="en">Security and Design</span></a> + </li> + <li><a href="/google/play/billing/billing_testing.html" zh-cn-lang="测试应用内结算"> + <span class="en">Testing In-app Billing</span></a> + </li> + <li><a href="/google/play/billing/billing_admin.html" zh-cn-lang="管理应用内结算"> + <span class="en">Administering In-app Billing</span></a> + </li> + <li><a href="/google/play/billing/versions.html"> + <span class="en">Version Notes</span></a> + </li> + </ul> + </li> + + + + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/gcm/index.html"> + <span class="en">Google Cloud Messaging</span></a> + </div> + <ul> + <li><a href="/google/gcm/gcm.html"> + <span class="en">Overview</span></a> + </li> + <li><a href="/google/gcm/gs.html"> + <span class="en">Getting Started</span></a> + </li> + <li><a href="/google/gcm/client.html"> + <span class="en">Implementing GCM Client</span></a> + </li> + <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html"> + <span class="en">Implementing GCM Server</span></a></div> + <ul> + <li><a href="/google/gcm/ccs.html"> + <span class="en">CCS (XMPP)</span></a></li> + <li><a href="/google/gcm/http.html"> + <span class="en">HTTP</span></a></li> + </ul> + </li> + <li><a href="/google/gcm/server-ref.html"> + <span class="en">Server Reference</span></a> + </li> + <li><a href="/google/gcm/notifications.html"> + <span class="en">User Notifications</span></a> + </li> + <li><a href="/google/gcm/c2dm.html"> + <span class="en">Migration</span></a> + </li> + </ul> + </li> + + <li class="nav-section"> + <div class="nav-section-header empty"><a href="/google/gcs/index.html"> + <span class="en">Google Cloud Save</span></a> + </div> + </li> + + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/dist.html"> + <span class="en">Google Play Distribution</span></a> + </div> + <ul> + <li><a href="/google/play/filters.html"> + <span class="en">Filters on Google Play</span></a> + </li> + <li><a href="/google/play/billing/gp-purchase-status-api.html"> + <span class="en">Google Play Developer API</span></a> + </li> + <li><a href="/google/play/publishing/multiple-apks.html"> + <span class="en">Multiple APK Support</span></a> + </li> + <li><a href="/google/play/expansion-files.html"> + <span class="en">APK Expansion Files</span></a> + </li> + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/licensing/index.html"> + <span class="en">Application Licensing</span></a> + </div> + <ul> + <li><a href="/google/play/licensing/overview.html"> + <span class="en">Licensing Overview</span></a> + </li> + <li><a href="/google/play/licensing/setting-up.html"> + <span class="en">Setting Up for Licensing</span></a> + </li> + <li><a href="/google/play/licensing/adding-licensing.html"> + <span class="en">Adding Licensing to Your App</span></a> + </li> + <li><a href="/google/play/licensing/licensing-reference.html"> + <span class="en">Licensing Reference</span></a> + </li> + </ul> + </li> + + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/backup/index.html"> + Android Backup Service</a> + </div> + <ul> + <li><a href="/google/backup/signup.html"> + Register</a> + </li> + </ul> + </li> + + </ul> + +</li> + + + +</ul> + +<script type="text/javascript"> +<!-- + buildToggleLists(); + changeNavLang(getLangPref()); +//--> +</script> + + + + + </div> + <script type="text/javascript"> + showGoogleRefTree(); + + </script> + </div> <!-- end side-nav --> + <script> + $(document).ready(function() { + scrollIntoView("devdoc-nav"); + }); + </script> + + + + + + +<div class="col-12" id="doc-col"> + +<div id="api-info-block"> + + + + + + + + + + + +<div class="sum-details-links"> + +Summary: + + + + + + <a href="#constants">Constants</a> + + + + + + + + + | <a href="#pubmethods">Methods</a> + + + + + | <a href="#inhmethods">Inherited Methods</a> + +| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> + +</div><!-- end sum-details-links --> +<div class="api-level"> + + + + +</div> +</div><!-- end api-info-block --> + + +<!-- ======== START OF CLASS DATA ======== --> + +<div id="jd-header"> + public + + + + class +<h1 itemprop="name">GoogleApiAvailability</h1> + + + + + extends Object<br/> + + + + + + + + + + + + +</div><!-- end header --> + +<div id="naMessage"></div> + +<div id="jd-content" class="api apilevel-"> +<table class="jd-inheritance-table"> + + + <tr> + + <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> + </tr> + + + <tr> + + <td class="jd-inheritance-space"> ↳</td> + + <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.common.GoogleApiAvailability</td> + </tr> + + +</table> + + + + + + + +<div class="jd-descr"> + + +<h2>Class Overview</h2> +<p itemprop="articleBody">Helper class for verifying that the Google Play services APK is available and + up-to-date on this device. +</p> + + + + + +</div><!-- jd-descr --> + + + + + + + + + + + + + + + + +<div class="jd-descr"> + + +<h2>Summary</h2> + + + + + + + + + + + + + +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_PACKAGE">GOOGLE_PLAY_SERVICES_PACKAGE</a></td> + <td class="jd-descrcol" width="100%"> + Package name for Google Play services. + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_VERSION_CODE">GOOGLE_PLAY_SERVICES_VERSION_CODE</a></td> + <td class="jd-descrcol" width="100%"> + Google Play services client library version (declared in library's + AndroidManifest.xml android:versionCode). + + + + </td> + </tr> + + + +</table> + + + + + + + + + + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> + + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + Dialog</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int, android.content.DialogInterface.OnCancelListener)">getErrorDialog</a></span>(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener)</nobr> + + <div class="jd-descrdiv"> + Returns a dialog to address the provided errorCode. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + Dialog</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog</a></span>(Activity activity, int errorCode, int requestCode)</nobr> + + <div class="jd-descrdiv"> + Returns a dialog to address the provided errorCode. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + PendingIntent</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorResolutionPendingIntent(android.content.Context, int, int)">getErrorResolutionPendingIntent</a></span>(Context context, int errorCode, int requestCode)</nobr> + + <div class="jd-descrdiv"> + Returns a PendingIntent to address the provided errorCode. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorString(int)">getErrorString</a></span>(int errorCode)</nobr> + + <div class="jd-descrdiv"> + Returns a human-readable string of the error code returned from + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + static + + <a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">GoogleApiAvailability</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getInstance()">getInstance</a></span>()</nobr> + + <div class="jd-descrdiv"> + Returns the singleton instance of GoogleApiAvailability. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getOpenSourceSoftwareLicenseInfo(android.content.Context)">getOpenSourceSoftwareLicenseInfo</a></span>(Context context)</nobr> + + <div class="jd-descrdiv"> + Returns the open source software license information for the Google Play services + application, or null if Google Play services is not available on this device. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable</a></span>(Context context)</nobr> + + <div class="jd-descrdiv"> + Verifies that Google Play services is installed and enabled on this device, and that the + version installed on this device is no older than the one required by this client. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isUserResolvableError(int)">isUserResolvableError</a></span>(int errorCode)</nobr> + + <div class="jd-descrdiv"> + Determines whether an error can be resolved via user action. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#showErrorDialogFragment(android.app.Activity, int, int, android.content.DialogInterface.OnCancelListener)">showErrorDialogFragment</a></span>(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener)</nobr> + + <div class="jd-descrdiv"> + Displays a DialogFragment for an error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#showErrorDialogFragment(android.app.Activity, int, int)">showErrorDialogFragment</a></span>(Activity activity, int errorCode, int requestCode)</nobr> + + <div class="jd-descrdiv"> + Displays a DialogFragment for an error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#showErrorNotification(android.content.Context, int)">showErrorNotification</a></span>(Context context, int errorCode)</nobr> + + <div class="jd-descrdiv"> + Displays a notification relevant to the provided error code. + + + + </div> + + </td></tr> + + + +</table> + + + + + + + +<!-- ========== METHOD SUMMARY =========== --> +<table id="inhmethods" class="jd-sumtable"><tr><th> + <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> + <div style="clear:left;">Inherited Methods</div></th></tr> + + +<tr class="api apilevel-" > +<td colspan="12"> + <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" + ><img id="inherited-methods-java.lang.Object-trigger" + src="/assets/images/triangle-closed.png" + class="jd-expando-trigger-img" /></a> +From class + + java.lang.Object + +<div id="inherited-methods-java.lang.Object"> + <div id="inherited-methods-java.lang.Object-list" + class="jd-inheritedlinks"> + </div> + <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> + <table class="jd-sumtable-expando"> + + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + Object</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">clone</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">equals</span>(Object arg0)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">finalize</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + Class<?></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">getClass</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + int</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">hashCode</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notify</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">notifyAll</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + String</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">toString</span>()</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>()</nobr> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0, int arg1)</nobr> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad">wait</span>(long arg0)</nobr> + + </td></tr> + + +</table> + </div> +</div> +</td></tr> + + +</table> + + +</div><!-- jd-descr (summary) --> + +<!-- Details --> + + + + + + + + +<!-- XML Attributes --> + + +<!-- Enum Values --> + + +<!-- Constants --> + + +<!-- ========= ENUM CONSTANTS DETAIL ======== --> +<h2>Constants</h2> + + + + +<A NAME="GOOGLE_PLAY_SERVICES_PACKAGE"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + GOOGLE_PLAY_SERVICES_PACKAGE + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services. +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "com.google.android.gms" + + </span> + </div> + + </div> +</div> + + + +<A NAME="GOOGLE_PLAY_SERVICES_VERSION_CODE"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + GOOGLE_PLAY_SERVICES_VERSION_CODE + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Google Play services client library version (declared in library's + AndroidManifest.xml android:versionCode). +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 7329000 + (0x006fd4e8) + + </span> + </div> + + </div> +</div> + + + + +<!-- Fields --> + + +<!-- Public ctors --> + + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<!-- Protected ctors --> + + + +<!-- ========= METHOD DETAIL ======== --> +<!-- Public methdos --> + +<h2>Public Methods</h2> + + + +<A NAME="getErrorDialog(android.app.Activity, int, int, android.content.DialogInterface.OnCancelListener)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + Dialog + </span> + <span class="sympad">getErrorDialog</span> + <span class="normal">(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized + message about the error and upon user confirmation (by tapping on dialog) will direct them to + the Play Store if Google Play services is out of date or missing, or to system settings if + Google Play services is disabled on the device.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>activity</td> + <td>parent activity for creating the dialog, also used for identifying language + to display dialog in.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. + If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td> + </tr> + <tr> + <th>requestCode</td> + <td>The requestCode given when calling startActivityForResult.</td> + </tr> + <tr> + <th>cancelListener</td> + <td>The <code><a href="/reference/android/content/DialogInterface.OnCancelListener.html">DialogInterface.OnCancelListener</a></code> to invoke if the dialog is + canceled. +</td> + </tr> + </table> + </div> + + </div> +</div> + + +<A NAME="getErrorDialog(android.app.Activity, int, int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + Dialog + </span> + <span class="sympad">getErrorDialog</span> + <span class="normal">(Activity activity, int errorCode, int requestCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized + message about the error and upon user confirmation (by tapping on dialog) will direct them to + the Play Store if Google Play services is out of date or missing, or to system settings if + Google Play services is disabled on the device.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>activity</td> + <td>parent activity for creating the dialog, also used for identifying language + to display dialog in.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. + If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td> + </tr> + <tr> + <th>requestCode</td> + <td>The requestCode given when calling startActivityForResult. +</td> + </tr> + </table> + </div> + + </div> +</div> + + +<A NAME="getErrorResolutionPendingIntent(android.content.Context, int, int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + PendingIntent + </span> + <span class="sympad">getErrorResolutionPendingIntent</span> + <span class="normal">(Context context, int errorCode, int requestCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns a PendingIntent to address the provided errorCode. It will direct them to either the + Play Store if Google Play services is out of date or missing, or system settings if Google + Play services is disabled on the device.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>context</td> + <td>parent context for creating the PendingIntent.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. + If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned.</td> + </tr> + <tr> + <th>requestCode</td> + <td>The requestCode given when calling startActivityForResult. +</td> + </tr> + </table> + </div> + + </div> +</div> + + +<A NAME="getErrorString(int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + final + + + String + </span> + <span class="sympad">getErrorString</span> + <span class="normal">(int errorCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns a human-readable string of the error code returned from + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. +</p></div> + + </div> +</div> + + +<A NAME="getInstance()"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + + + + <a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">GoogleApiAvailability</a> + </span> + <span class="sympad">getInstance</span> + <span class="normal">()</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns the singleton instance of GoogleApiAvailability. +</p></div> + + </div> +</div> + + +<A NAME="getOpenSourceSoftwareLicenseInfo(android.content.Context)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + String + </span> + <span class="sympad">getOpenSourceSoftwareLicenseInfo</span> + <span class="normal">(Context context)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns the open source software license information for the Google Play services + application, or null if Google Play services is not available on this device. +</p></div> + + </div> +</div> + + +<A NAME="isGooglePlayServicesAvailable(android.content.Context)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + int + </span> + <span class="sympad">isGooglePlayServicesAvailable</span> + <span class="normal">(Context context)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Verifies that Google Play services is installed and enabled on this device, and that the + version installed on this device is no older than the one required by this client.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Returns</h5> + <ul class="nolist"><li>status code indicating whether there was an error. Can be one of following in + <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code>: SUCCESS, SERVICE_MISSING, SERVICE_UPDATING, + SERVICE_VERSION_UPDATE_REQUIRED, SERVICE_DISABLED, SERVICE_INVALID +</li></ul> + </div> + + </div> +</div> + + +<A NAME="isUserResolvableError(int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + final + + + boolean + </span> + <span class="sympad">isUserResolvableError</span> + <span class="normal">(int errorCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Determines whether an error can be resolved via user action. If true, proceed by calling + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog(Activity, int, int)</a></code> and showing the dialog.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>errorCode</td> + <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>, or + returned to your application via + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html#onConnectionFailed(com.google.android.gms.common.ConnectionResult)">onConnectionFailed(ConnectionResult)</a></code></td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Returns</h5> + <ul class="nolist"><li>true if the error is resolvable with <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog(Activity, int, int)</a></code> +</li></ul> + </div> + + </div> +</div> + + +<A NAME="showErrorDialogFragment(android.app.Activity, int, int, android.content.DialogInterface.OnCancelListener)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">showErrorDialogFragment</span> + <span class="normal">(Activity activity, int errorCode, int requestCode, DialogInterface.OnCancelListener cancelListener)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Displays a DialogFragment for an error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>activity</td> + <td>parent activity for creating the dialog, also used for + identifying language to display dialog in.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. If + errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then this + does nothing</td> + </tr> + <tr> + <th>requestCode</td> + <td>The requestCode given when calling + startActivityForResult.</td> + </tr> + <tr> + <th>cancelListener</td> + <td>The <code><a href="/reference/android/content/DialogInterface.OnCancelListener.html">DialogInterface.OnCancelListener</a></code> to + invoke if the dialog is canceled.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Returns</h5> + <ul class="nolist"><li>true if the dialog is shown, false otherwise.</li></ul> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Throws</h5> + <table class="jd-tagtable"> + <tr> + <th>RuntimeException</td> + <td>if API level is below 11 and <code>activity</code> is not a + <code><a href="/reference/android/support/v4/app/FragmentActivity.html">FragmentActivity</a></code>.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">See Also</h5> + <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/common/ErrorDialogFragment.html">ErrorDialogFragment</a></code></li><li><code><a href="/reference/default package/SupportErrorDialogFragment.html">SupportErrorDialogFragment</a></code></li> + </ul> + </div> + + </div> +</div> + + +<A NAME="showErrorDialogFragment(android.app.Activity, int, int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + boolean + </span> + <span class="sympad">showErrorDialogFragment</span> + <span class="normal">(Activity activity, int errorCode, int requestCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Displays a DialogFragment for an error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>activity</td> + <td>parent activity for creating the dialog, also used for + identifying language to display dialog in.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. If + errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then this + does nothing.</td> + </tr> + <tr> + <th>requestCode</td> + <td>The requestCode given when calling + startActivityForResult.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Returns</h5> + <ul class="nolist"><li>true if the dialog is shown, false otherwise</li></ul> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Throws</h5> + <table class="jd-tagtable"> + <tr> + <th>RuntimeException</td> + <td>if API level is below 11 and <code>activity</code> is not a + <code><a href="/reference/android/support/v4/app/FragmentActivity.html">FragmentActivity</a></code>.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">See Also</h5> + <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/common/ErrorDialogFragment.html">ErrorDialogFragment</a></code></li><li><code><a href="/reference/default package/SupportErrorDialogFragment.html">SupportErrorDialogFragment</a></code></li> + </ul> + </div> + + </div> +</div> + + +<A NAME="showErrorNotification(android.content.Context, int)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + void + </span> + <span class="sympad">showErrorNotification</span> + <span class="normal">(Context context, int errorCode)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Displays a notification relevant to the provided error code. This method is similar to + <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog(android.app.Activity, int, int)</a></code>, but is provided for background tasks + that cannot or should not display dialogs.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>context</td> + <td>used for identifying language to display dialog in as well as accessing the + <code><a href="/reference/android/app/NotificationManager.html">NotificationManager</a></code>.</td> + </tr> + <tr> + <th>errorCode</td> + <td>error code returned by <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> call. + If errorCode is <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#SUCCESS">SUCCESS</a></code> then null is returned. +</td> + </tr> + </table> + </div> + + </div> +</div> + + + + + +<!-- ========= METHOD DETAIL ======== --> + + + +<!-- ========= END OF CLASS DATA ========= --> +<A NAME="navbar_top"></A> + +<div id="footer" class="wrap" > + + + <div id="copyright"> + + Except as noted, this content is licensed under <a + href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. + For details and restrictions, see the <a href="/license.html"> + Content License</a>. + </div> + <div id="build_info"> + +<script src="/timestamp.js" type="text/javascript"></script> +<script>document.write(BUILD_TIMESTAMP)</script> + + </div> + + + <div id="footerlinks"> + + <p> + <a href="/about/index.html">About Android</a> | + <a href="/legal.html">Legal</a> | + <a href="/support.html">Support</a> + </p> + </div> + +</div> <!-- end footer --> +</div> <!-- jd-content --> + +</div><!-- end doc-content --> + +</div> <!-- end body-content --> + + + + + + +</body> +</html> diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html index f75b64c..46a69c7 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html index 31d3b13..b4253eb 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html index a231170..4484a15 100644 --- a/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html +++ b/docs/html/reference/com/google/android/gms/common/GooglePlayServicesUtil.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -945,7 +956,10 @@ Summary: <td class="jd-typecol">String</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_SERVICES_PACKAGE">GOOGLE_PLAY_SERVICES_PACKAGE</a></td> <td class="jd-descrcol" width="100%"> - Package name for Google Play services. + <em> + This constant is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_PACKAGE">GOOGLE_PLAY_SERVICES_PACKAGE</a></code> instead. +</em> @@ -957,8 +971,10 @@ Summary: <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_SERVICES_VERSION_CODE">GOOGLE_PLAY_SERVICES_VERSION_CODE</a></td> <td class="jd-descrcol" width="100%"> - Google Play services client library version (declared in library's - AndroidManifest.xml android:versionCode). + <em> + This constant is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_VERSION_CODE">GOOGLE_PLAY_SERVICES_VERSION_CODE</a></code> instead. +</em> @@ -970,7 +986,7 @@ Summary: <td class="jd-typecol">String</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#GOOGLE_PLAY_STORE_PACKAGE">GOOGLE_PLAY_STORE_PACKAGE</a></td> <td class="jd-descrcol" width="100%"> - Package name for Google Play services. + Package name for Google Play Store. @@ -1015,7 +1031,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog</a></span>(int errorCode, Activity activity, int requestCode)</nobr> <div class="jd-descrdiv"> - Returns a dialog to address the provided errorCode. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog(Activity, int, int)</a></code> instead. +</em> @@ -1038,7 +1057,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int, android.content.DialogInterface.OnCancelListener)">getErrorDialog</a></span>(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)</nobr> <div class="jd-descrdiv"> - Returns a dialog to address the provided errorCode. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#getErrorDialog(Activity, int, int, OnCancelListener)</a></code> instead. +</em> @@ -1061,7 +1083,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorPendingIntent(int, android.content.Context, int)">getErrorPendingIntent</a></span>(int errorCode, Context context, int requestCode)</nobr> <div class="jd-descrdiv"> - Returns a PendingIntent to address the provided errorCode. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorResolutionPendingIntent(android.content.Context, int, int)">getErrorResolutionPendingIntent(Context, int, int)</a></code> instead. +</em> @@ -1084,8 +1109,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorString(int)">getErrorString</a></span>(int errorCode)</nobr> <div class="jd-descrdiv"> - Returns a human-readable string of the error code returned from - <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorString(int)">getErrorString(int)</a></code> instead. +</em> @@ -1108,8 +1135,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getOpenSourceSoftwareLicenseInfo(android.content.Context)">getOpenSourceSoftwareLicenseInfo</a></span>(Context context)</nobr> <div class="jd-descrdiv"> - Returns the open source software license information for the Google Play services - application, or null if Google Play services is not available on this device. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getOpenSourceSoftwareLicenseInfo(android.content.Context)">getOpenSourceSoftwareLicenseInfo(Context)</a></code> instead. +</em> @@ -1178,8 +1207,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable</a></span>(Context context)</nobr> <div class="jd-descrdiv"> - Verifies that Google Play services is installed and enabled on this device, and that the - version installed on this device is no older than the one required by this client. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> instead. +</em> @@ -1202,7 +1233,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isUserRecoverableError(int)">isUserRecoverableError</a></span>(int errorCode)</nobr> <div class="jd-descrdiv"> - Determines whether an error is user-recoverable. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isUserResolvableError(int)">isUserResolvableError(int)</a></code> instead. +</em> @@ -1225,8 +1259,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#showErrorDialogFragment(int, android.app.Activity, int)">showErrorDialogFragment</a></span>(int errorCode, Activity activity, int requestCode)</nobr> <div class="jd-descrdiv"> - Display a DialogFragment for an error code returned by - <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#showErrorDialogFragment(Activity, int, int)</a></code> instead. +</em> @@ -1265,8 +1301,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#showErrorDialogFragment(int, android.app.Activity, int, android.content.DialogInterface.OnCancelListener)">showErrorDialogFragment</a></span>(int errorCode, Activity activity, int requestCode, DialogInterface.OnCancelListener cancelListener)</nobr> <div class="jd-descrdiv"> - Display a DialogFragment for an error code returned by - <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. + <em> + This method is deprecated. + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#showErrorDialogFragment(Activity, int, int, OnCancelListener)</a></code> instead. +</em> @@ -1289,7 +1327,10 @@ Summary: <span class="sympad"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#showErrorNotification(int, android.content.Context)">showErrorNotification</a></span>(int errorCode, Context context)</nobr> <div class="jd-descrdiv"> - Displays a notification relevant to the provided error code. + <em> + This method is deprecated. + Use {GoogleApiAvailability#showErrorNotification(Context, int)} instead. +</em> @@ -1630,9 +1671,13 @@ From class - - <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services. -</p></div> + <p> + <p class="caution"><strong> + This constant is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_PACKAGE">GOOGLE_PLAY_SERVICES_PACKAGE</a></code> instead. + + </p> + <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services.</p></div> <div class="jd-tagdata"> @@ -1671,18 +1716,22 @@ From class - + <p> + <p class="caution"><strong> + This constant is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#GOOGLE_PLAY_SERVICES_VERSION_CODE">GOOGLE_PLAY_SERVICES_VERSION_CODE</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Google Play services client library version (declared in library's - AndroidManifest.xml android:versionCode). -</p></div> + AndroidManifest.xml android:versionCode).</p></div> <div class="jd-tagdata"> <span class="jd-tagtitle">Constant Value: </span> <span> - 7095000 - (0x006c42d8) + 7329000 + (0x006fd4e8) </span> </div> @@ -1715,7 +1764,7 @@ From class - <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play services. + <div class="jd-tagdata jd-tagdescr"><p>Package name for Google Play Store. </p></div> @@ -1778,7 +1827,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorDialog(android.app.Activity, int, int)">getErrorDialog(Activity, int, int)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized message about the error and upon user confirmation (by tapping on dialog) will direct them to the Play Store if Google Play services is out of date or missing, or to system settings if @@ -1798,8 +1852,7 @@ From class </tr> <tr> <th>requestCode</td> - <td>The requestCode given when calling startActivityForResult. -</td> + <td>The requestCode given when calling startActivityForResult.</td> </tr> </table> </div> @@ -1833,7 +1886,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#getErrorDialog(Activity, int, int, OnCancelListener)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Returns a dialog to address the provided errorCode. The returned dialog displays a localized message about the error and upon user confirmation (by tapping on dialog) will direct them to the Play Store if Google Play services is out of date or missing, or to system settings if @@ -1858,8 +1916,7 @@ From class <tr> <th>cancelListener</td> <td>The <code><a href="/reference/android/content/DialogInterface.OnCancelListener.html">DialogInterface.OnCancelListener</a></code> to invoke if the dialog is - canceled. -</td> + canceled.</td> </tr> </table> </div> @@ -1893,7 +1950,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorResolutionPendingIntent(android.content.Context, int, int)">getErrorResolutionPendingIntent(Context, int, int)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Returns a PendingIntent to address the provided errorCode. It will direct them to one of the following places to either the Play Store if Google Play services is out of date or missing, or system settings if Google Play services is disabled on the device.</p></div> @@ -1911,8 +1973,7 @@ From class </tr> <tr> <th>requestCode</td> - <td>The requestCode given when calling startActivityForResult. -</td> + <td>The requestCode given when calling startActivityForResult.</td> </tr> </table> </div> @@ -1946,10 +2007,14 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getErrorString(int)">getErrorString(int)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Returns a human-readable string of the error code returned from - <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>. -</p></div> + <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</p></div> </div> </div> @@ -1980,10 +2045,14 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#getOpenSourceSoftwareLicenseInfo(android.content.Context)">getOpenSourceSoftwareLicenseInfo(Context)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Returns the open source software license information for the Google Play services - application, or null if Google Play services is not available on this device. -</p></div> + application, or null if Google Play services is not available on this device.</p></div> </div> </div> @@ -2092,15 +2161,19 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Verifies that Google Play services is installed and enabled on this device, and that the version installed on this device is no older than the one required by this client.</p></div> <div class="jd-tagdata"> <h5 class="jd-tagtitle">Returns</h5> <ul class="nolist"><li>status code indicating whether there was an error. Can be one of following in <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code>: SUCCESS, SERVICE_MISSING, - SERVICE_VERSION_UPDATE_REQUIRED, SERVICE_DISABLED, SERVICE_INVALID -</li></ul> + SERVICE_VERSION_UPDATE_REQUIRED, SERVICE_DISABLED, SERVICE_INVALID</li></ul> </div> </div> @@ -2132,7 +2205,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html#isUserResolvableError(int)">isUserResolvableError(int)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Determines whether an error is user-recoverable. If true, proceed by calling <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, Activity, int)</a></code> and showing the dialog.</p></div> <div class="jd-tagdata"> @@ -2149,8 +2227,7 @@ From class <div class="jd-tagdata"> <h5 class="jd-tagtitle">Returns</h5> <ul class="nolist"><li>true if the error is recoverable with - <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, Activity, int)</a></code> -</li></ul> + <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, Activity, int)</a></code></li></ul> </div> </div> @@ -2182,7 +2259,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#showErrorDialogFragment(Activity, int, int)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Display a DialogFragment for an error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</p></div> <div class="jd-tagdata"> @@ -2288,7 +2370,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use <code><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">#showErrorDialogFragment(Activity, int, int, OnCancelListener)</a></code> instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Display a DialogFragment for an error code returned by <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#isGooglePlayServicesAvailable(android.content.Context)">isGooglePlayServicesAvailable(Context)</a></code>.</p></div> <div class="jd-tagdata"> @@ -2367,7 +2454,12 @@ From class - + <p> + <p class="caution"><strong> + This method is deprecated.</strong><br/> + Use {GoogleApiAvailability#showErrorNotification(Context, int)} instead. + + </p> <div class="jd-tagdata jd-tagdescr"><p>Displays a notification relevant to the provided error code. This method is similar to <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html#getErrorDialog(int, android.app.Activity, int)">getErrorDialog(int, android.app.Activity, int)</a></code>, but is provided for background tasks that cannot or shouldn't display dialogs.</p></div> @@ -2382,8 +2474,7 @@ From class <tr> <th>context</td> <td>used for identifying language to display dialog in as well as accessing the - <code><a href="/reference/android/app/NotificationManager.html">NotificationManager</a></code>. -</td> + <code><a href="/reference/android/app/NotificationManager.html">NotificationManager</a></code>.</td> </tr> </table> </div> diff --git a/docs/html/reference/com/google/android/gms/common/Scopes.html b/docs/html/reference/com/google/android/gms/common/Scopes.html index caccc68..c103d84 100644 --- a/docs/html/reference/com/google/android/gms/common/Scopes.html +++ b/docs/html/reference/com/google/android/gms/common/Scopes.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1043,6 +1054,30 @@ Summary: <tr class="alt-color api apilevel-" > <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/Scopes.html#FITNESS_NUTRITION_READ">FITNESS_NUTRITION_READ</a></td> + <td class="jd-descrcol" width="100%"> + Scope for read access to nutrition data types in Google Fit. + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">String</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/Scopes.html#FITNESS_NUTRITION_READ_WRITE">FITNESS_NUTRITION_READ_WRITE</a></td> + <td class="jd-descrcol" width="100%"> + Scope for read/write access to nutrition data types in Google Fit. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol">String</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/Scopes.html#GAMES">GAMES</a></td> <td class="jd-descrcol" width="100%"> Scope for accessing data from Google Play Games. @@ -1777,6 +1812,88 @@ From class +<A NAME="FITNESS_NUTRITION_READ"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + FITNESS_NUTRITION_READ + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Scope for read access to nutrition data types in Google Fit. +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "https://www.googleapis.com/auth/fitness.nutrition.read" + + </span> + </div> + + </div> +</div> + + + +<A NAME="FITNESS_NUTRITION_READ_WRITE"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + String + </span> + FITNESS_NUTRITION_READ_WRITE + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Scope for read/write access to nutrition data types in Google Fit. +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + "https://www.googleapis.com/auth/fitness.nutrition.write" + + </span> + </div> + + </div> +</div> + + + <A NAME="GAMES"></A> <div class="jd-details api apilevel-"> diff --git a/docs/html/reference/com/google/android/gms/common/SignInButton.html b/docs/html/reference/com/google/android/gms/common/SignInButton.html index 69cb885..daae02b 100644 --- a/docs/html/reference/com/google/android/gms/common/SignInButton.html +++ b/docs/html/reference/com/google/android/gms/common/SignInButton.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/SupportErrorDialogFragment.html b/docs/html/reference/com/google/android/gms/common/SupportErrorDialogFragment.html index 8ffc416..492c470 100644 --- a/docs/html/reference/com/google/android/gms/common/SupportErrorDialogFragment.html +++ b/docs/html/reference/com/google/android/gms/common/SupportErrorDialogFragment.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/UserRecoverableException.html b/docs/html/reference/com/google/android/gms/common/UserRecoverableException.html index 1ea34b0..3a3ce8c 100644 --- a/docs/html/reference/com/google/android/gms/common/UserRecoverableException.html +++ b/docs/html/reference/com/google/android/gms/common/UserRecoverableException.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/annotation/KeepName.html b/docs/html/reference/com/google/android/gms/common/annotation/KeepName.html index 7df6c1b..78b3829 100644 --- a/docs/html/reference/com/google/android/gms/common/annotation/KeepName.html +++ b/docs/html/reference/com/google/android/gms/common/annotation/KeepName.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/annotation/package-summary.html b/docs/html/reference/com/google/android/gms/common/annotation/package-summary.html index afd59da..9c9c299 100644 --- a/docs/html/reference/com/google/android/gms/common/annotation/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/annotation/package-summary.html @@ -563,7 +563,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions.html b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions.html index 593de39..25d6325 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html index 8e528dd..ac131d5 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NoOptions.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html index d775108..5fe27ba 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.Optional.html b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.Optional.html index c5be162..a5b60fb 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.Optional.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.Optional.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.html b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.html index d8b57ed..cf0a231 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.ApiOptions.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Api.html b/docs/html/reference/com/google/android/gms/common/api/Api.html index 34a053d..bd5f907 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Api.html +++ b/docs/html/reference/com/google/android/gms/common/api/Api.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Batch.Builder.html b/docs/html/reference/com/google/android/gms/common/api/Batch.Builder.html index 5e9435c..7803119 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Batch.Builder.html +++ b/docs/html/reference/com/google/android/gms/common/api/Batch.Builder.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Batch.html b/docs/html/reference/com/google/android/gms/common/api/Batch.html index a4c7e3c..92a4c59 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Batch.html +++ b/docs/html/reference/com/google/android/gms/common/api/Batch.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1125,6 +1136,29 @@ Summary: <td class="jd-typecol"><nobr> + final + + + void</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Batch.html#forceFailureUnlessReady(com.google.android.gms.common.api.Status)">forceFailureUnlessReady</a></span>(<a href="/reference/com/google/android/gms/common/api/Status.html">Status</a> status)</nobr> + + <div class="jd-descrdiv"> + Forces the result of the API call a failure, unless a result has otherwise already been set. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + @@ -1135,8 +1169,8 @@ Summary: <div class="jd-descrdiv"> Indicates whether the pending result has been canceled either due to calling - {GoogleApiClient#disconnect} or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result or an - enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result + or an enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. @@ -1146,7 +1180,7 @@ Summary: - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -1162,7 +1196,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -1174,11 +1208,18 @@ Summary: <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Batch.html#setResult(R)">setResult</a></span>(R result)</nobr> + <div class="jd-descrdiv"> + Sets the result of the API call. + + + + </div> + </td></tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> @@ -1202,7 +1243,7 @@ Summary: - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol"><nobr> @@ -1594,8 +1635,8 @@ From interface <div class="jd-descrdiv"> Indicates whether the pending result has been canceled either due to calling - {GoogleApiClient#disconnect} or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result or an - enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result + or an enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. @@ -1909,6 +1950,39 @@ From interface </div> +<A NAME="forceFailureUnlessReady(com.google.android.gms.common.api.Status)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + final + + + void + </span> + <span class="sympad">forceFailureUnlessReady</span> + <span class="normal">(<a href="/reference/com/google/android/gms/common/api/Status.html">Status</a> status)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Forces the result of the API call a failure, unless a result has otherwise already been set. +</p></div> + + </div> +</div> + + <A NAME="isCanceled()"></A> <div class="jd-details api apilevel-"> @@ -1936,8 +2010,8 @@ From interface <div class="jd-tagdata jd-tagdescr"><p>Indicates whether the pending result has been canceled either due to calling - {GoogleApiClient#disconnect} or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result or an - enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result + or an enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. </p></div> </div> @@ -2002,7 +2076,12 @@ From interface - <div class="jd-tagdata jd-tagdescr"><p></p></div> + <div class="jd-tagdata jd-tagdescr"><p>Sets the result of the API call. Assuming that a failure or cancelation has not already + been set, the result will be returned to the client via <code><a href="/reference/com/google/android/gms/common/api/Batch.html#await()">await()</a></code> or + <code><a href="/reference/com/google/android/gms/common/api/ResultCallback.html#onResult(R)">onResult(R)</a></code>. + + <p>This method must called at most once. +</p></div> </div> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/BatchResult.html b/docs/html/reference/com/google/android/gms/common/api/BatchResult.html index 3c3ef19..7258659 100644 --- a/docs/html/reference/com/google/android/gms/common/api/BatchResult.html +++ b/docs/html/reference/com/google/android/gms/common/api/BatchResult.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -960,6 +971,13 @@ Summary: <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/BatchResult.html#getStatus()">getStatus</a></span>()</nobr> + <div class="jd-descrdiv"> + Returns the status of this result. + + + + </div> + </td></tr> @@ -1235,6 +1253,13 @@ From interface <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus</a></span>()</nobr> + <div class="jd-descrdiv"> + Returns the status of this result. + + + + </div> + </td></tr> @@ -1312,7 +1337,13 @@ From interface - <div class="jd-tagdata jd-tagdescr"><p></p></div> + <div class="jd-tagdata jd-tagdescr"><p>Returns the status of this result. Use <code><a href="/reference/com/google/android/gms/common/api/Status.html#isSuccess()">isSuccess()</a></code> to determine whether the + call was successful, and <code><a href="/reference/com/google/android/gms/common/api/Status.html#getStatusCode()">getStatusCode()</a></code> to determine what the error cause + was. + + <p>Certain errors are due to failures that can be resolved by launching a particular intent. + The resolution intent is available via <code><a href="/reference/com/google/android/gms/common/api/Status.html#getResolution()">getResolution()</a></code>. +</p></div> </div> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/BatchResultToken.html b/docs/html/reference/com/google/android/gms/common/api/BatchResultToken.html index 857eac5..8257fea 100644 --- a/docs/html/reference/com/google/android/gms/common/api/BatchResultToken.html +++ b/docs/html/reference/com/google/android/gms/common/api/BatchResultToken.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/CommonStatusCodes.html b/docs/html/reference/com/google/android/gms/common/api/CommonStatusCodes.html index ec78ae3..c60ce73 100644 --- a/docs/html/reference/com/google/android/gms/common/api/CommonStatusCodes.html +++ b/docs/html/reference/com/google/android/gms/common/api/CommonStatusCodes.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1051,6 +1062,18 @@ Summary: <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#API_NOT_AVAILABLE">API_NOT_AVAILABLE</a></td> + <td class="jd-descrcol" width="100%"> + The client attempted to call a method from an API that failed to connect. + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#CANCELED">CANCELED</a></td> <td class="jd-descrcol" width="100%"> The result was canceled either due to client disconnect or <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code>. @@ -1061,7 +1084,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#DEVELOPER_ERROR">DEVELOPER_ERROR</a></td> <td class="jd-descrcol" width="100%"> @@ -1073,7 +1096,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#ERROR">ERROR</a></td> <td class="jd-descrcol" width="100%"> @@ -1085,7 +1108,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#INTERNAL_ERROR">INTERNAL_ERROR</a></td> <td class="jd-descrcol" width="100%"> @@ -1097,7 +1120,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#INTERRUPTED">INTERRUPTED</a></td> <td class="jd-descrcol" width="100%"> @@ -1109,7 +1132,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#INVALID_ACCOUNT">INVALID_ACCOUNT</a></td> <td class="jd-descrcol" width="100%"> @@ -1121,7 +1144,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#LICENSE_CHECK_FAILED">LICENSE_CHECK_FAILED</a></td> <td class="jd-descrcol" width="100%"> @@ -1133,7 +1156,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#NETWORK_ERROR">NETWORK_ERROR</a></td> <td class="jd-descrcol" width="100%"> @@ -1145,7 +1168,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#RESOLUTION_REQUIRED">RESOLUTION_REQUIRED</a></td> <td class="jd-descrcol" width="100%"> @@ -1157,7 +1180,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SERVICE_DISABLED">SERVICE_DISABLED</a></td> <td class="jd-descrcol" width="100%"> @@ -1169,7 +1192,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SERVICE_INVALID">SERVICE_INVALID</a></td> <td class="jd-descrcol" width="100%"> @@ -1181,7 +1204,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SERVICE_MISSING">SERVICE_MISSING</a></td> <td class="jd-descrcol" width="100%"> @@ -1193,7 +1216,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SERVICE_VERSION_UPDATE_REQUIRED">SERVICE_VERSION_UPDATE_REQUIRED</a></td> <td class="jd-descrcol" width="100%"> @@ -1205,7 +1228,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SIGN_IN_REQUIRED">SIGN_IN_REQUIRED</a></td> <td class="jd-descrcol" width="100%"> @@ -1217,7 +1240,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SUCCESS">SUCCESS</a></td> <td class="jd-descrcol" width="100%"> @@ -1229,7 +1252,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SUCCESS_CACHE">SUCCESS_CACHE</a></td> <td class="jd-descrcol" width="100%"> @@ -1241,7 +1264,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-typecol">int</td> <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/api/CommonStatusCodes.html#TIMEOUT">TIMEOUT</a></td> <td class="jd-descrcol" width="100%"> @@ -1562,6 +1585,49 @@ From class +<A NAME="API_NOT_AVAILABLE"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + static + final + int + </span> + API_NOT_AVAILABLE + </h4> + <div class="api-level"> + + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>The client attempted to call a method from an API that failed to connect. See + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApiIfAvailable(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>, com.google.android.gms.common.api.Scope...)">addApiIfAvailable(Api<? extends Api.ApiOptions.NotRequiredOptions>, Scope...)</a></code>. +</p></div> + + + <div class="jd-tagdata"> + <span class="jd-tagtitle">Constant Value: </span> + <span> + + 17 + (0x00000011) + + </span> + </div> + + </div> +</div> + + + <A NAME="CANCELED"></A> <div class="jd-details api apilevel-"> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html index e32885d..a905560 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1055,6 +1066,52 @@ Summary: + <O extends <a href="/reference/com/google/android/gms/common/api/Api.ApiOptions.HasOptions.html">Api.ApiOptions.HasOptions</a>> + <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html">GoogleApiClient.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApiIfAvailable(com.google.android.gms.common.api.Api<O>, O, com.google.android.gms.common.api.Scope...)">addApiIfAvailable</a></span>(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><O> api, O options, <a href="/reference/com/google/android/gms/common/api/Scope.html">Scope...</a> scopes)</nobr> + + <div class="jd-descrdiv"> + Specify which Apis should attempt to connect, but are not strictly required for your app. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + + + + + + <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html">GoogleApiClient.Builder</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#addApiIfAvailable(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>, com.google.android.gms.common.api.Scope...)">addApiIfAvailable</a></span>(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><? extends <a href="/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html">Api.ApiOptions.NotRequiredOptions</a>> api, <a href="/reference/com/google/android/gms/common/api/Scope.html">Scope...</a> scopes)</nobr> + + <div class="jd-descrdiv"> + Specify which Apis should attempt to connect, but are not strictly required for your app. + + + + </div> + + </td></tr> + + + + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + + + + <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html">GoogleApiClient.Builder</a></nobr> </td> @@ -1761,6 +1818,112 @@ From class </div> +<A NAME="addApiIfAvailable(com.google.android.gms.common.api.Api<O>, O, com.google.android.gms.common.api.Scope...)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html">GoogleApiClient.Builder</a> + </span> + <span class="sympad">addApiIfAvailable</span> + <span class="normal">(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><O> api, O options, <a href="/reference/com/google/android/gms/common/api/Scope.html">Scope...</a> scopes)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Specify which Apis should attempt to connect, but are not strictly required for your app. + The GoogleApiClient will try to connect to these Apis, but will not necessarily fail if + there are only errors when connecting to an unavailable Api added with this method. + See <code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code> for more information.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>api</td> + <td>The Api requested by your app.</td> + </tr> + <tr> + <th>scopes</td> + <td>Scopes required by this API.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">See Also</h5> + <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code></li> + </ul> + </div> + + </div> +</div> + + +<A NAME="addApiIfAvailable(com.google.android.gms.common.api.Api<? extends com.google.android.gms.common.api.Api.ApiOptions.NotRequiredOptions>, com.google.android.gms.common.api.Scope...)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + + + <a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html">GoogleApiClient.Builder</a> + </span> + <span class="sympad">addApiIfAvailable</span> + <span class="normal">(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><? extends <a href="/reference/com/google/android/gms/common/api/Api.ApiOptions.NotRequiredOptions.html">Api.ApiOptions.NotRequiredOptions</a>> api, <a href="/reference/com/google/android/gms/common/api/Scope.html">Scope...</a> scopes)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Specify which Apis should attempt to connect, but are not strictly required for your app. + The GoogleApiClient will try to connect to these Apis, but will not necessarily fail if + there are only errors when connecting to an unavailable Api added with this method. + See <code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code> for more information.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>api</td> + <td>The Api requested by your app.</td> + </tr> + <tr> + <th>scopes</td> + <td>Scopes required by this API.</td> + </tr> + </table> + </div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">See Also</h5> + <ul class="nolist"><li><code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code></li> + </ul> + </div> + + </div> +</div> + + <A NAME="addConnectionCallbacks(com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks)"></A> <div class="jd-details api apilevel-"> @@ -1978,7 +2141,7 @@ From class <div class="jd-tagdata jd-tagdescr"><p>Enables automatic lifecycle management in a support library <code><a href="/reference/android/support/v4/app/FragmentActivity.html">FragmentActivity</a></code> that connects the client in <code><a href="/reference/android/support/v4/app/FragmentActivity.html#onStart()">onStart()</a></code> and disconnects it in <code><a href="/reference/android/support/v4/app/FragmentActivity.html#onStop()">onStop()</a></code>. <p/> - It handles user recoverable errors appropriately and fires if the <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code> has no resolution. + It handles user recoverable errors appropriately and calls if the <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code> has no resolution. This eliminates most of the boiler plate associated with using <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html">GoogleApiClient</a></code>. <p/> When using this option, <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html#build()">build()</a></code> must be called from the main thread.</p></div> @@ -1997,9 +2160,11 @@ From class </tr> <tr> <th>unresolvedConnectionFailedListener</td> - <td>Fires if the connection failed and and there was no resolution or the user chose - not to complete the provided resolution. If this listener is fired, the client - will no longer be auto-managed, and a new instance must be built.</td> + <td>Called if the connection failed and there was no resolution or the user chose + not to complete the provided resolution. If this listener is called, the client + will no longer be auto-managed, and a new instance must be built. In the event + that the user chooses not to complete a resolution, the <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code> + will have a status code of <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html#CANCELED">CANCELED</a></code>.</td> </tr> </table> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html index 716c64f..3f89ffe 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html index 91d8945..5cf86e9 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.CheckResult.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.CheckResult.html index 8e40ca6..92ccba5 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.CheckResult.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.CheckResult.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.html index e90901d..3b5a566 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.ServerAuthCodeCallbacks.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.html b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.html index a19a1fb..eff823c 100644 --- a/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.html +++ b/docs/html/reference/com/google/android/gms/common/api/GoogleApiClient.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1134,6 +1145,30 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> + <a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#getConnectionResult(com.google.android.gms.common.api.Api<?>)">getConnectionResult</a></span>(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><?> api)</nobr> + + <div class="jd-descrdiv"> + Returns the <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code> for the GoogleApiClient's connection to the + specified API. + + + + </div> + + </td></tr> + + + + <tr class=" api apilevel-" > + <td class="jd-typecol"><nobr> + abstract + + + + int</nobr> </td> <td class="jd-linkcol" width="100%"><nobr> @@ -1151,6 +1186,29 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> + <tr class="alt-color api apilevel-" > + <td class="jd-typecol"><nobr> + abstract + + + + + boolean</nobr> + </td> + <td class="jd-linkcol" width="100%"><nobr> + <span class="sympad"><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#hasConnectedApi(com.google.android.gms.common.api.Api<?>)">hasConnectedApi</a></span>(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><?> api)</nobr> + + <div class="jd-descrdiv"> + Returns whether or not this GoogleApiClient has the specified API in a connected state. + + + + </div> + + </td></tr> + + + <tr class=" api apilevel-" > <td class="jd-typecol"><nobr> abstract @@ -1702,6 +1760,59 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> </div> +<A NAME="getConnectionResult(com.google.android.gms.common.api.Api<?>)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + <a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a> + </span> + <span class="sympad">getConnectionResult</span> + <span class="normal">(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><?> api)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns the <code><a href="/reference/com/google/android/gms/common/ConnectionResult.html">ConnectionResult</a></code> for the GoogleApiClient's connection to the + specified API. This method must only be called after <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#connect()">connect()</a></code> has + been called and before <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> is called. + <p> + This method may return stale results if the GoogleApiClient is reconnecting due to a lost + network connection. It is guaranteed to return the most recent ConnectionResult from + attempting to connect the given API, but will throw an IllegalStateException if called before + calling connect or after calling disconnect. This method can be used to easily determine why + an API failed to connect if it was not available. To determine whether a given API is + currently connected (without potential stale results) see + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#hasConnectedApi(com.google.android.gms.common.api.Api<?>)">hasConnectedApi(Api<?>)</a></code>.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>api</td> + <td>The <code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code> to retrieve the ConnectionResult of. Passing an API that was not + registered with the GoogleApiClient results in an IllegalArgumentException. +</td> + </tr> + </table> + </div> + + </div> +</div> + + <A NAME="getSessionId()"></A> <div class="jd-details api apilevel-"> @@ -1736,6 +1847,48 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> </div> +<A NAME="hasConnectedApi(com.google.android.gms.common.api.Api<?>)"></A> + +<div class="jd-details api apilevel-"> + <h4 class="jd-details-title"> + <span class="normal"> + public + + + abstract + + boolean + </span> + <span class="sympad">hasConnectedApi</span> + <span class="normal">(<a href="/reference/com/google/android/gms/common/api/Api.html">Api</a><?> api)</span> + </h4> + <div class="api-level"> + <div></div> + + + + </div> + <div class="jd-details-descr"> + + + + + <div class="jd-tagdata jd-tagdescr"><p>Returns whether or not this GoogleApiClient has the specified API in a connected state.</p></div> + <div class="jd-tagdata"> + <h5 class="jd-tagtitle">Parameters</h5> + <table class="jd-tagtable"> + <tr> + <th>api</td> + <td>The <code><a href="/reference/com/google/android/gms/common/api/Api.html">Api</a></code> to test the connection of. +</td> + </tr> + </table> + </div> + + </div> +</div> + + <A NAME="isConnected()"></A> <div class="jd-details api apilevel-"> diff --git a/docs/html/reference/com/google/android/gms/common/api/PendingResult.html b/docs/html/reference/com/google/android/gms/common/api/PendingResult.html index a859314..fc117eb 100644 --- a/docs/html/reference/com/google/android/gms/common/api/PendingResult.html +++ b/docs/html/reference/com/google/android/gms/common/api/PendingResult.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1048,8 +1059,8 @@ Summary: <div class="jd-descrdiv"> Indicates whether the pending result has been canceled either due to calling - {GoogleApiClient#disconnect} or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result or an - enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result + or an enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. @@ -1288,8 +1299,8 @@ Summary: <div class="jd-tagdata jd-tagdescr"><p>Indicates whether the pending result has been canceled either due to calling - {GoogleApiClient#disconnect} or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result or an - enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. + <code><a href="/reference/com/google/android/gms/common/api/GoogleApiClient.html#disconnect()">disconnect()</a></code> or calling <code><a href="/reference/com/google/android/gms/common/api/PendingResult.html#cancel()">cancel()</a></code> directly on the pending result + or an enclosing <code><a href="/reference/com/google/android/gms/common/api/Batch.html">Batch</a></code>. </p></div> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/PendingResults.html b/docs/html/reference/com/google/android/gms/common/api/PendingResults.html index 2168c55..d9736a0 100644 --- a/docs/html/reference/com/google/android/gms/common/api/PendingResults.html +++ b/docs/html/reference/com/google/android/gms/common/api/PendingResults.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Releasable.html b/docs/html/reference/com/google/android/gms/common/api/Releasable.html index 6bc56af..0c38bba 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Releasable.html +++ b/docs/html/reference/com/google/android/gms/common/api/Releasable.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -921,7 +932,7 @@ Summary: <a href="/reference/com/google/android/gms/location/places/AutocompletePredictionBuffer.html">AutocompletePredictionBuffer</a>, and - <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">29 others.</a> + <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">31 others.</a> @@ -1022,9 +1033,9 @@ Summary: <tr class="alt-color api apilevel-" > - <td class="jd-linkcol"><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/Channel.GetInputStreamResult.html">Channel.GetInputStreamResult</a></td> <td class="jd-descrcol" width="100%"> - Holder for an active container. + Result of <code><a href="/reference/com/google/android/gms/wearable/Channel.html#getInputStream(com.google.android.gms.common.api.GoogleApiClient)">getInputStream(GoogleApiClient)</a></code>. @@ -1033,6 +1044,17 @@ Summary: <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/Channel.GetOutputStreamResult.html">Channel.GetOutputStreamResult</a></td> + <td class="jd-descrcol" width="100%"> + Result of <code><a href="/reference/com/google/android/gms/wearable/Channel.html#getOutputStream(com.google.android.gms.common.api.GoogleApiClient)">getOutputStream(GoogleApiClient)</a></code>. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataApi.GetFdForAssetResult.html">DataApi.GetFdForAssetResult</a></td> <td class="jd-descrcol" width="100%"> Contains a file descriptor for the requested asset. @@ -1043,7 +1065,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/data/DataBuffer.html">DataBuffer</a><T></td> <td class="jd-descrcol" width="100%"> Interface for a buffer of typed data. @@ -1054,7 +1076,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataEventBuffer.html">DataEventBuffer</a></td> <td class="jd-descrcol" width="100%"> Data structure holding references to a set of events. @@ -1065,7 +1087,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataItemBuffer.html">DataItemBuffer</a></td> <td class="jd-descrcol" width="100%"> Data structure holding reference to a set of <code><a href="/reference/com/google/android/gms/wearable/DataItem.html">DataItem</a></code>s. @@ -1076,6 +1098,17 @@ Summary: </tr> + <tr class="alt-color api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html">DriveApi.MetadataBufferResult</a></td> + <td class="jd-descrcol" width="100%"> + Result that contains a <code><a href="/reference/com/google/android/gms/drive/MetadataBuffer.html">MetadataBuffer</a></code>. + + + + </td> + </tr> + + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/event/EventBuffer.html">EventBuffer</a></td> <td class="jd-descrcol" width="100%"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Result.html b/docs/html/reference/com/google/android/gms/common/api/Result.html index 88704e1..b7d80ca 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Result.html +++ b/docs/html/reference/com/google/android/gms/common/api/Result.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -919,7 +930,7 @@ Summary: and - <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">52 others.</a> + <a href="#" onclick="return toggleInherited(document.getElementById('subclasses-indirect', null))">60 others.</a> @@ -1043,6 +1054,50 @@ Summary: <tr class="alt-color api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/CapabilityApi.AddLocalCapabilityResult.html">CapabilityApi.AddLocalCapabilityResult</a></td> + <td class="jd-descrcol" width="100%"> + Result returned from <code><a href="/reference/com/google/android/gms/wearable/CapabilityApi.html#addLocalCapability(com.google.android.gms.common.api.GoogleApiClient, java.lang.String)">addLocalCapability(GoogleApiClient, String)</a></code> + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/CapabilityApi.GetAllCapabilitiesResult.html">CapabilityApi.GetAllCapabilitiesResult</a></td> + <td class="jd-descrcol" width="100%"> + Result returned from <code><a href="/reference/com/google/android/gms/wearable/CapabilityApi.html#getAllCapabilities(com.google.android.gms.common.api.GoogleApiClient, int)">getAllCapabilities(GoogleApiClient, int)</a></code> + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/CapabilityApi.GetCapabilityResult.html">CapabilityApi.GetCapabilityResult</a></td> + <td class="jd-descrcol" width="100%"> + Result returned from <code><a href="/reference/com/google/android/gms/wearable/CapabilityApi.html#getCapability(com.google.android.gms.common.api.GoogleApiClient, java.lang.String, int)">getCapability(GoogleApiClient, String, int)</a></code> + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/CapabilityApi.RemoveLocalCapabilityResult.html">CapabilityApi.RemoveLocalCapabilityResult</a></td> + <td class="jd-descrcol" width="100%"> + Result returned from <code><a href="/reference/com/google/android/gms/wearable/CapabilityApi.html#removeLocalCapability(com.google.android.gms.common.api.GoogleApiClient, java.lang.String)">removeLocalCapability(GoogleApiClient, String)</a></code> + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/cast/Cast.ApplicationConnectionResult.html">Cast.ApplicationConnectionResult</a></td> <td class="jd-descrcol" width="100%"> When a connection to a receiver application has been established, this object contains @@ -1056,9 +1111,31 @@ Summary: <tr class=" api apilevel-" > - <td class="jd-linkcol"><a href="/reference/com/google/android/gms/nearby/connection/Connections.StartAdvertisingResult.html">Connections.StartAdvertisingResult</a></td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/Channel.GetInputStreamResult.html">Channel.GetInputStreamResult</a></td> <td class="jd-descrcol" width="100%"> - Result delivered when a local endpoint starts being advertised. + Result of <code><a href="/reference/com/google/android/gms/wearable/Channel.html#getInputStream(com.google.android.gms.common.api.GoogleApiClient)">getInputStream(GoogleApiClient)</a></code>. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/Channel.GetOutputStreamResult.html">Channel.GetOutputStreamResult</a></td> + <td class="jd-descrcol" width="100%"> + Result of <code><a href="/reference/com/google/android/gms/wearable/Channel.html#getOutputStream(com.google.android.gms.common.api.GoogleApiClient)">getOutputStream(GoogleApiClient)</a></code>. + + + + </td> + </tr> + + + <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/ChannelApi.OpenChannelResult.html">ChannelApi.OpenChannelResult</a></td> + <td class="jd-descrcol" width="100%"> + Result of <code><a href="/reference/com/google/android/gms/wearable/ChannelApi.html#openChannel(com.google.android.gms.common.api.GoogleApiClient, java.lang.String, java.lang.String)">openChannel(GoogleApiClient, String, String)</a></code>. @@ -1067,9 +1144,9 @@ Summary: <tr class="alt-color api apilevel-" > - <td class="jd-linkcol"><a href="/reference/com/google/android/gms/tagmanager/ContainerHolder.html">ContainerHolder</a></td> + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/nearby/connection/Connections.StartAdvertisingResult.html">Connections.StartAdvertisingResult</a></td> <td class="jd-descrcol" width="100%"> - Holder for an active container. + Result delivered when a local endpoint starts being advertised. @@ -1078,6 +1155,17 @@ Summary: <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/DailyTotalResult.html">DailyTotalResult</a></td> + <td class="jd-descrcol" width="100%"> + Result of <code><a href="/reference/com/google/android/gms/fitness/HistoryApi.html#readDailyTotal(com.google.android.gms.common.api.GoogleApiClient, com.google.android.gms.fitness.data.DataType)">readDailyTotal(GoogleApiClient, DataType)</a></code>. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataApi.DataItemResult.html">DataApi.DataItemResult</a></td> <td class="jd-descrcol" width="100%"> Contains a single data item. @@ -1088,7 +1176,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataApi.DeleteDataItemsResult.html">DataApi.DeleteDataItemsResult</a></td> <td class="jd-descrcol" width="100%"> Contains the number of deleted items. @@ -1099,7 +1187,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataApi.GetFdForAssetResult.html">DataApi.GetFdForAssetResult</a></td> <td class="jd-descrcol" width="100%"> Contains a file descriptor for the requested asset. @@ -1110,7 +1198,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataEventBuffer.html">DataEventBuffer</a></td> <td class="jd-descrcol" width="100%"> Data structure holding references to a set of events. @@ -1121,7 +1209,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/DataItemBuffer.html">DataItemBuffer</a></td> <td class="jd-descrcol" width="100%"> Data structure holding reference to a set of <code><a href="/reference/com/google/android/gms/wearable/DataItem.html">DataItem</a></code>s. @@ -1132,7 +1220,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/DataReadResult.html">DataReadResult</a></td> <td class="jd-descrcol" width="100%"> Result of <code><a href="/reference/com/google/android/gms/fitness/HistoryApi.html#readData(com.google.android.gms.common.api.GoogleApiClient, com.google.android.gms.fitness.request.DataReadRequest)">readData(GoogleApiClient, DataReadRequest)</a></code>. @@ -1143,7 +1231,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/DataSourcesResult.html">DataSourcesResult</a></td> <td class="jd-descrcol" width="100%"> Result of <code><a href="/reference/com/google/android/gms/fitness/SensorsApi.html#findDataSources(com.google.android.gms.common.api.GoogleApiClient, com.google.android.gms.fitness.request.DataSourcesRequest)">findDataSources(GoogleApiClient, DataSourcesRequest)</a></code>. @@ -1154,7 +1242,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/DataTypeResult.html">DataTypeResult</a></td> <td class="jd-descrcol" width="100%"> Result of @@ -1166,7 +1254,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveApi.DriveContentsResult.html">DriveApi.DriveContentsResult</a></td> <td class="jd-descrcol" width="100%"> Result that contains a <code><a href="/reference/com/google/android/gms/drive/DriveContents.html">DriveContents</a></code>. @@ -1177,7 +1265,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveApi.DriveIdResult.html">DriveApi.DriveIdResult</a></td> <td class="jd-descrcol" width="100%"> Result that contains a <code><a href="/reference/com/google/android/gms/drive/DriveId.html">DriveId</a></code>. @@ -1188,7 +1276,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html">DriveApi.MetadataBufferResult</a></td> <td class="jd-descrcol" width="100%"> Result that contains a <code><a href="/reference/com/google/android/gms/drive/MetadataBuffer.html">MetadataBuffer</a></code>. @@ -1199,7 +1287,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html">DriveFolder.DriveFileResult</a></td> <td class="jd-descrcol" width="100%"> A result that contains a <code><a href="/reference/com/google/android/gms/drive/DriveFile.html">DriveFile</a></code>. @@ -1210,7 +1298,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html">DriveFolder.DriveFolderResult</a></td> <td class="jd-descrcol" width="100%"> A result that contains a <code><a href="/reference/com/google/android/gms/drive/DriveFolder.html">DriveFolder</a></code>. @@ -1221,7 +1309,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DrivePreferencesApi.FileUploadPreferencesResult.html">DrivePreferencesApi.FileUploadPreferencesResult</a></td> <td class="jd-descrcol" width="100%"> Result that contains a <code><a href="/reference/com/google/android/gms/drive/FileUploadPreferences.html">FileUploadPreferences</a></code> reference. @@ -1232,7 +1320,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/drive/DriveResource.MetadataResult.html">DriveResource.MetadataResult</a></td> <td class="jd-descrcol" width="100%"> Result that is returned in response to metadata requests. @@ -1243,7 +1331,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/event/Events.LoadEventsResult.html">Events.LoadEventsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when event data has been loaded. @@ -1254,7 +1342,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/GamesMetadata.LoadGamesResult.html">GamesMetadata.LoadGamesResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when game metadata has been loaded. @@ -1265,7 +1353,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/multiplayer/Invitations.LoadInvitationsResult.html">Invitations.LoadInvitationsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when invitations have been loaded. @@ -1276,7 +1364,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.LeaderboardMetadataResult.html">Leaderboards.LeaderboardMetadataResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when leaderboard metadata has been loaded. @@ -1287,7 +1375,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.LoadPlayerScoreResult.html">Leaderboards.LoadPlayerScoreResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when a player's leaderboard score has been loaded. @@ -1298,7 +1386,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.LoadScoresResult.html">Leaderboards.LoadScoresResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when leaderboard scores have been loaded. @@ -1309,7 +1397,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/leaderboard/Leaderboards.SubmitScoreResult.html">Leaderboards.SubmitScoreResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when a leaderboard score has been submitted. @@ -1320,7 +1408,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/ListSubscriptionsResult.html">ListSubscriptionsResult</a></td> <td class="jd-descrcol" width="100%"> Result of <code><a href="/reference/com/google/android/gms/fitness/RecordingApi.html#listSubscriptions(com.google.android.gms.common.api.GoogleApiClient, com.google.android.gms.fitness.data.DataType)">listSubscriptions(GoogleApiClient, DataType)</a></code>. @@ -1331,7 +1419,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/LocationSettingsResult.html">LocationSettingsResult</a></td> <td class="jd-descrcol" width="100%"> Result of checking settings via <code><a href="/reference/com/google/android/gms/location/SettingsApi.html#checkLocationSettings(com.google.android.gms.common.api.GoogleApiClient, com.google.android.gms.location.LocationSettingsRequest)">checkLocationSettings(GoogleApiClient, LocationSettingsRequest)</a></code>, @@ -1344,7 +1432,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/MessageApi.SendMessageResult.html">MessageApi.SendMessageResult</a></td> <td class="jd-descrcol" width="100%"> Contains the request id assigned to the message. @@ -1355,7 +1443,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/Moments.LoadMomentsResult.html">Moments.LoadMomentsResult</a></td> <td class="jd-descrcol" width="100%"> Information about the set of moments that was loaded. @@ -1366,7 +1454,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/NodeApi.GetConnectedNodesResult.html">NodeApi.GetConnectedNodesResult</a></td> <td class="jd-descrcol" width="100%"> Contains a list of connected nodes. @@ -1377,7 +1465,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/wearable/NodeApi.GetLocalNodeResult.html">NodeApi.GetLocalNodeResult</a></td> <td class="jd-descrcol" width="100%"> Contains the name and id that represents this device. @@ -1388,7 +1476,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult.html">PanoramaApi.PanoramaResult</a></td> <td class="jd-descrcol" width="100%"> Result interface for loading panorama info. @@ -1399,7 +1487,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/People.LoadPeopleResult.html">People.LoadPeopleResult</a></td> <td class="jd-descrcol" width="100%"> Information about the set of people that was loaded. @@ -1410,7 +1498,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/places/PlaceBuffer.html">PlaceBuffer</a></td> <td class="jd-descrcol" width="100%"> Data structure providing access to a list of <code><a href="/reference/com/google/android/gms/location/places/Place.html">Places</a></code>. @@ -1421,7 +1509,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/location/places/PlaceLikelihoodBuffer.html">PlaceLikelihoodBuffer</a></td> <td class="jd-descrcol" width="100%"> A <code>DataBuffer</code> that represents a list of <code>PlaceLikelihood</code>s. @@ -1432,7 +1520,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/Players.LoadPlayersResult.html">Players.LoadPlayersResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when player data has been loaded. @@ -1443,7 +1531,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/Players.LoadProfileSettingsResult.html">Players.LoadProfileSettingsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when the profile settings of the signed-in player have been loaded. @@ -1454,7 +1542,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quests.AcceptQuestResult.html">Quests.AcceptQuestResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when accepting a quest. @@ -1465,7 +1553,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quests.ClaimMilestoneResult.html">Quests.ClaimMilestoneResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when claiming a milestone. @@ -1476,7 +1564,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/quest/Quests.LoadQuestsResult.html">Quests.LoadQuestsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when quest data has been loaded. @@ -1487,7 +1575,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/cast/RemoteMediaPlayer.MediaChannelResult.html">RemoteMediaPlayer.MediaChannelResult</a></td> <td class="jd-descrcol" width="100%"> Result of a media command. @@ -1498,7 +1586,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/request/Requests.LoadRequestsResult.html">Requests.LoadRequestsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when requests have loaded. @@ -1509,7 +1597,7 @@ Summary: </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/games/request/Requests.UpdateRequestsResult.html">Requests.UpdateRequestsResult</a></td> <td class="jd-descrcol" width="100%"> Result delivered when requests are updated. @@ -1520,7 +1608,7 @@ Summary: </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/safetynet/SafetyNetApi.AttestationResult.html">SafetyNetApi.AttestationResult</a></td> <td class="jd-descrcol" width="100%"> Result that contains an attestation result. @@ -1531,6 +1619,17 @@ Summary: </tr> + <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/search/SearchAuthApi.GoogleNowAuthResult.html">SearchAuthApi.GoogleNowAuthResult</a></td> + <td class="jd-descrcol" width="100%"> + Result of <code><a href="/reference/com/google/android/gms/search/SearchAuthApi.html#getGoogleNowAuth(com.google.android.gms.common.api.GoogleApiClient, java.lang.String)">getGoogleNowAuth(GoogleApiClient, String)</a></code>. + + + + </td> + </tr> + + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/fitness/result/SessionReadResult.html">SessionReadResult</a></td> <td class="jd-descrcol" width="100%"> @@ -1758,6 +1857,13 @@ Summary: <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus</a></span>()</nobr> + <div class="jd-descrdiv"> + Returns the status of this result. + + + + </div> + </td></tr> @@ -1835,7 +1941,13 @@ Summary: - <div class="jd-tagdata jd-tagdescr"><p></p></div> + <div class="jd-tagdata jd-tagdescr"><p>Returns the status of this result. Use <code><a href="/reference/com/google/android/gms/common/api/Status.html#isSuccess()">isSuccess()</a></code> to determine whether the + call was successful, and <code><a href="/reference/com/google/android/gms/common/api/Status.html#getStatusCode()">getStatusCode()</a></code> to determine what the error cause + was. + + <p>Certain errors are due to failures that can be resolved by launching a particular intent. + The resolution intent is available via <code><a href="/reference/com/google/android/gms/common/api/Status.html#getResolution()">getResolution()</a></code>. +</p></div> </div> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/ResultCallback.html b/docs/html/reference/com/google/android/gms/common/api/ResultCallback.html index 0245766..c0899a0 100644 --- a/docs/html/reference/com/google/android/gms/common/api/ResultCallback.html +++ b/docs/html/reference/com/google/android/gms/common/api/ResultCallback.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -992,9 +1003,12 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <div class="jd-tagdata jd-tagdescr"><p>Called when the <code><a href="/reference/com/google/android/gms/common/api/Result.html">Result</a></code> is ready. - It is the responsibility of each callback to release any resources associated with the + <p>It is the responsibility of the callback to release any resources associated with the result. Some result types may implement <code><a href="/reference/com/google/android/gms/common/api/Releasable.html">Releasable</a></code>, in which case - <code><a href="/reference/com/google/android/gms/common/api/Releasable.html#release()">release()</a></code> should be used to free the associated resources.</p></div> + <code><a href="/reference/com/google/android/gms/common/api/Releasable.html#release()">release()</a></code> should be used to free the associated resources. + + <p>This method is called on the main thread, unless overridden by + {GoogleApiClient.Builder#setHandler}.</p></div> <div class="jd-tagdata"> <h5 class="jd-tagtitle">Parameters</h5> <table class="jd-tagtable"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Scope.html b/docs/html/reference/com/google/android/gms/common/api/Scope.html index e62a1fb..d586d1b 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Scope.html +++ b/docs/html/reference/com/google/android/gms/common/api/Scope.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/api/Status.html b/docs/html/reference/com/google/android/gms/common/api/Status.html index d787e5c..2ff8b96 100644 --- a/docs/html/reference/com/google/android/gms/common/api/Status.html +++ b/docs/html/reference/com/google/android/gms/common/api/Status.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -1197,6 +1208,13 @@ android.os.Parcelable <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Status.html#getStatus()">getStatus</a></span>()</nobr> + <div class="jd-descrdiv"> + Returns the status of this result. + + + + </div> + </td></tr> @@ -1710,6 +1728,13 @@ From interface <td class="jd-linkcol" width="100%"><nobr> <span class="sympad"><a href="/reference/com/google/android/gms/common/api/Result.html#getStatus()">getStatus</a></span>()</nobr> + <div class="jd-descrdiv"> + Returns the status of this result. + + + + </div> + </td></tr> @@ -2073,7 +2098,13 @@ From interface - <div class="jd-tagdata jd-tagdescr"><p></p></div> + <div class="jd-tagdata jd-tagdescr"><p>Returns the status of this result. Use <code><a href="/reference/com/google/android/gms/common/api/Status.html#isSuccess()">isSuccess()</a></code> to determine whether the + call was successful, and <code><a href="/reference/com/google/android/gms/common/api/Status.html#getStatusCode()">getStatusCode()</a></code> to determine what the error cause + was. + + <p>Certain errors are due to failures that can be resolved by launching a particular intent. + The resolution intent is available via <code><a href="/reference/com/google/android/gms/common/api/Status.html#getResolution()">getResolution()</a></code>. +</p></div> </div> </div> diff --git a/docs/html/reference/com/google/android/gms/common/api/package-summary.html b/docs/html/reference/com/google/android/gms/common/api/package-summary.html index 54fdeec..166b2ef 100644 --- a/docs/html/reference/com/google/android/gms/common/api/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/api/package-summary.html @@ -563,7 +563,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/AbstractDataBuffer.html b/docs/html/reference/com/google/android/gms/common/data/AbstractDataBuffer.html index 849a46e..2882b97 100644 --- a/docs/html/reference/com/google/android/gms/common/data/AbstractDataBuffer.html +++ b/docs/html/reference/com/google/android/gms/common/data/AbstractDataBuffer.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html b/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html index d1e7c49..d7ae66c 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBuffer.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.Observable.html b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.Observable.html index d9ae1b4..d0b3db6 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.Observable.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.Observable.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.html b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.html index a165e1f..e6e274b 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserver.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserverSet.html b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserverSet.html index f714097..775d4b3 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBufferObserverSet.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBufferObserverSet.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html b/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html index 0a00265..c802e3e 100644 --- a/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html +++ b/docs/html/reference/com/google/android/gms/common/data/DataBufferUtils.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/Freezable.html b/docs/html/reference/com/google/android/gms/common/data/Freezable.html index dd4cb28..d244b70 100644 --- a/docs/html/reference/com/google/android/gms/common/data/Freezable.html +++ b/docs/html/reference/com/google/android/gms/common/data/Freezable.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/FreezableUtils.html b/docs/html/reference/com/google/android/gms/common/data/FreezableUtils.html index 884e16f..e395261 100644 --- a/docs/html/reference/com/google/android/gms/common/data/FreezableUtils.html +++ b/docs/html/reference/com/google/android/gms/common/data/FreezableUtils.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/data/package-summary.html b/docs/html/reference/com/google/android/gms/common/data/package-summary.html index b225812..eaf3754 100644 --- a/docs/html/reference/com/google/android/gms/common/data/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/data/package-summary.html @@ -563,7 +563,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html b/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html index 2c99405..a3a8ab8 100644 --- a/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html +++ b/docs/html/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/images/ImageManager.html b/docs/html/reference/com/google/android/gms/common/images/ImageManager.html index abfe37b..901c08d 100644 --- a/docs/html/reference/com/google/android/gms/common/images/ImageManager.html +++ b/docs/html/reference/com/google/android/gms/common/images/ImageManager.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/images/WebImage.html b/docs/html/reference/com/google/android/gms/common/images/WebImage.html index e1e6523..a0cb182 100644 --- a/docs/html/reference/com/google/android/gms/common/images/WebImage.html +++ b/docs/html/reference/com/google/android/gms/common/images/WebImage.html @@ -562,7 +562,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/images/package-summary.html b/docs/html/reference/com/google/android/gms/common/images/package-summary.html index de035ad..30dab1a 100644 --- a/docs/html/reference/com/google/android/gms/common/images/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/images/package-summary.html @@ -563,7 +563,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> diff --git a/docs/html/reference/com/google/android/gms/common/package-summary.html b/docs/html/reference/com/google/android/gms/common/package-summary.html index bb4dfa0..989bdd2 100644 --- a/docs/html/reference/com/google/android/gms/common/package-summary.html +++ b/docs/html/reference/com/google/android/gms/common/package-summary.html @@ -563,7 +563,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <span class="en">Wallet</span> </a></div> </li> - + <li class="nav-section"> + <div class="nav-section-header"><a href="/google/play/safetynet/index.html"> + <span class="en">SafetyNet</span> + </a></div> + <ul> + <li> + <a href="/google/play/safetynet/start.html"> + <span class="en">Getting Started</span> + </a> + </li> + </ul> + </li> <li class="nav-section"> <div class="nav-section-header"><a href="/google/play-services/index.html"> @@ -849,6 +860,18 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> <tr class=" api apilevel-" > + <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GoogleApiAvailability.html">GoogleApiAvailability</a></td> + <td class="jd-descrcol" width="100%"> + Helper class for verifying that the Google Play services APK is available and + up-to-date on this device. + + + + </td> + </tr> + + + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/GooglePlayServicesUtil.html">GooglePlayServicesUtil</a></td> <td class="jd-descrcol" width="100%"> Utility class for verifying that the Google Play services APK is available and @@ -860,7 +883,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/Scopes.html">Scopes</a></td> <td class="jd-descrcol" width="100%"> OAuth 2.0 scopes for use with Google Play services. @@ -871,7 +894,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> </tr> - <tr class=" api apilevel-" > + <tr class="alt-color api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/SignInButton.html">SignInButton</a></td> <td class="jd-descrcol" width="100%"> The Google sign-in button to authenticate the user. @@ -882,7 +905,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> </tr> - <tr class="alt-color api apilevel-" > + <tr class=" api apilevel-" > <td class="jd-linkcol"><a href="/reference/com/google/android/gms/common/SupportErrorDialogFragment.html">SupportErrorDialogFragment</a></td> <td class="jd-descrcol" width="100%"> Wraps the <code><a href="/reference/android/app/Dialog.html">Dialog</a></code> returned by |