Google is committed to advancing racial equity for Black communities. See how.

com.google.android.gms.location

Annotations

ActivityTransition.SupportedActivityTransition Activity transition constants annotation. 
Geofence.GeofenceTransition Geofence transition event. 
Geofence.TransitionTypes Geofence transition types of interest, as either 0 or a bitwise-OR of GEOFENCE_TRANSITION_ flags. 
GeofencingRequest.InitialTrigger The triggering behavior at the moment when the geofences are added. 

Interfaces

ActivityRecognitionApi This interface is deprecated. Use the GoogleApi-based API ActivityRecognitionClient instead.  
FusedLocationProviderApi This interface is deprecated. Use the GoogleApi-based API FusedLocationProviderClient instead.  
Geofence Represents a geographical region, also known as a geofence. 
GeofencingApi This interface is deprecated. Use the GoogleApi-based API GeofencingClient instead.  
LocationListener Used for receiving notifications from the FusedLocationProviderApi when the location has changed. 
SettingsApi This interface is deprecated. Use GoogleApi-based API SettingsClient instead.  

Classes

ActivityRecognition The main entry point for activity recognition integration. 
ActivityRecognitionClient The main entry point for interacting with activity recognition. 
ActivityRecognitionResult Result of an activity recognition. 
ActivityTransition Represents an activity and the transition of it. 
ActivityTransition.Builder The builder to help create an ActivityTransition object. 
ActivityTransitionEvent Represents an activity transition event, for example start to walk, stop running etc. 
ActivityTransitionRequest The request object for apps to get notified when user's activity changes. 
ActivityTransitionResult Represents the result of activity transitions. 
DetectedActivity The detected activity of the device with an an associated confidence. 
FusedLocationProviderClient The main entry point for interacting with the fused location provider. 
Geofence.Builder A builder that builds Geofence
GeofenceStatusCodes Geofence specific status codes, for use in Status.getStatusCode()  
GeofencingClient The main entry point for interacting with the geofencing APIs. 
GeofencingEvent Represents an event from the GeofencingApi API. 
GeofencingRequest Specifies the list of geofences to be monitored and how the geofence notifications should be reported. 
GeofencingRequest.Builder A builder that builds GeofencingRequest.Pending  
LocationAvailability Status on the availability of location data. 
LocationCallback Used for receiving notifications from the FusedLocationProviderApi when the device location has changed or can no longer be determined. 
LocationRequest A data object that contains quality of service parameters for requests to the FusedLocationProviderApi
LocationResult A data class representing a geographic location result from the fused location provider. 
LocationServices The main entry point for location services integration. 
LocationSettingsRequest Specifies the types of location services the client is interested in using. 
LocationSettingsRequest.Builder A builder that builds LocationSettingsRequest
LocationSettingsResponse Successful response of checking settings via SettingsApi.checkLocationSettings(GoogleApiClient, LocationSettingsRequest)
LocationSettingsResult Result of checking settings via SettingsApi.checkLocationSettings(GoogleApiClient, LocationSettingsRequest), indicates whether a dialog should be shown to ask the user's consent to change their settings. 
LocationSettingsStates Stores the current states of all location-related settings. 
LocationSettingsStatusCodes Location settings specific status codes, for use in Status.getStatusCode()  
LocationStatusCodes This class is deprecated. Use GeofenceStatusCodes.  
SettingsClient The main entry point for interacting with the location settings-enabler APIs. 
SleepClassifyEvent Represents a sleep classification event including the classification timestamp, the sleep confidence, and the supporting data such as device motion and ambient light level. 
SleepSegmentEvent Represents the result of segmenting sleep after the user is awake. 
SleepSegmentRequest A request object that specifies what data to receive from the Sleep API.