am 15e0f7fd: am bdb327ad: am c24c5797: am 09e72628: Merge "docs: Updated GMS highlights for v6.5 (Nacho) to reflect removal of LocationClient, PlusClient, and ActivityRecognitionClient." into lmp-docs
* commit '15e0f7fdb3ffab4adad87bee0a3d987e892cf0bc': docs: Updated GMS highlights for v6.5 (Nacho) to reflect removal of LocationClient, PlusClient, and ActivityRecognitionClient.
This commit is contained in:
@@ -134,6 +134,22 @@ enables you to get a ready-to-use Street View panorama.
|
|||||||
when compiling your app. For more details, see the Android Studio setup
|
when compiling your app. For more details, see the Android Studio setup
|
||||||
instructions in
|
instructions in
|
||||||
<a href="{@docRoot}google/play-services/setup.html">Setting Up Google Play Services</a>.
|
<a href="{@docRoot}google/play-services/setup.html">Setting Up Google Play Services</a>.
|
||||||
|
</li>
|
||||||
|
<li><strong>Deprecated clients</strong> - The {@code ActivityRecognitionClient},
|
||||||
|
{@code LocationClient}, and {@code PlusClient} classes are deprecated. If
|
||||||
|
you used those APIs in your app and want to call Google Play services 6.5
|
||||||
|
or higher APIs, you must switch to the new programming model that utilizes
|
||||||
|
<a href="{@docRoot}reference/com/google/android/gms/common/api/GoogleApiClient.html">{@code GoogleApiClient}</a>. For more information about using <a href="{@docRoot}reference/com/google/android/gms/common/api/GoogleApiClient.html">{@code GoogleApiClient}</a>, see <a href="{@docRoot}google/auth/api-client.html">Accessing Google APIs</a>.
|
||||||
|
<p>Use these APIs instead of the deprecated APIs:</p>
|
||||||
|
<ul>
|
||||||
|
<li>If you were previously using {@code ActivityRecognitionClient}, call
|
||||||
|
<a href="{@docRoot}reference/com/google/android/gms/location/ActivityRecognition.html">{@code ActivityRecognition}</a> instead.</li>
|
||||||
|
<li>If you were previously using {@code LocationClient}, call the APIs in the
|
||||||
|
<a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">{@code com.google.android.gms.location} package</a> instead.</li>
|
||||||
|
<li>If you were previously using {@code PlusClient}, call the APIs in the
|
||||||
|
<a href="{@docRoot}reference/com/google/android/gms/plus/package-summary.html">{@code com.google.android.gms.plus} package</a> instead.</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|||||||
Reference in New Issue
Block a user