A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/location/LocationServices below:

LocationServices | Google Play services

LocationServices

Stay organized with collections Save and categorize content based on your preferences.

The main entry point for location services integration.

Field Summary Public Method Summary Inherited Method Summary From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

Fields public static final SettingsApi SettingsApi

This field is deprecated.
Use SettingsClient instead.

Old entry point to the location settings APIs.

Public Methods public static GeofencingClient getGeofencingClient (Activity activity)

Create a new instance of GeofencingClient for use in an Activity. Error resolutions will be automatically launched from the provided Activity, displaying UI when necessary.

public static GeofencingClient getGeofencingClient (Context context)

Create a new instance of GeofencingClient for use in a non-activity Context. Error resolutions will be automatically launched from the provided Context, displaying system tray notifications when necessary.

public static SettingsClient getSettingsClient (Context context)

Create a new instance of SettingsClient for use in a non-activity Context. Error resolutions will be automatically launched from the provided Context, displaying system tray notifications when necessary.

public static SettingsClient getSettingsClient (Activity activity)

Create a new instance of SettingsClient for use in an Activity. Error resolutions will be automatically launched from the provided Activity, displaying UI when necessary.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`LocationServices` is the primary entry point for integrating location services in Android applications."],["It provides access to fused location, geofencing, and location settings functionalities through dedicated clients."],["Older APIs like `FusedLocationApi`, `GeofencingApi`, and `SettingsApi` are deprecated in favor of their respective client counterparts."],["Methods like `getFusedLocationProviderClient`, `getGeofencingClient`, and `getSettingsClient` enable creating instances of these clients for use within Activities or other Contexts."],["Error resolutions are automatically handled by the clients, displaying UI or notifications as needed."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4