Page Summary
-
This class and the Google Play Services Places SDK are deprecated, and users should migrate to the new SDK.
-
PlaceLikelihoodBuffer is a data structure providing access to a list of PlaceLikelihood objects, each representing a candidate Place and its associated likelihood.
-
The likelihoods in a PlaceLikelihoodBuffer may not sum to 1.0.
-
The calling application must release this object to prevent memory leaks.
-
Key methods include getting a specific PlaceLikelihood by position, retrieving attributions for all places, and getting the status of the buffer.
This class is deprecated.
The Google Play Services Places SDK is deprecated. A new SDK is available.
See the client
migration guide for more information.
Data structure providing access to a list of PlaceLikelihood
objects.
A PlaceLikelihoodBuffer
contains a number of candidate Places, as
well as an associated likelihood that each Place
represents the correct location. For more information, see the developer's guide.
The likelihoods in a given PlaceLikelihoodBuffer may not sum to 1.0.
NOTE: The calling application must release()
this object after it is done with it to prevent a memory leak. Refer to the developer's guide for more
information about handling buffers.
Inherited Field Summary
Public Method Summary
| PlaceLikelihood |
get(int position)
|
| CharSequence |
getAttributions()
Returns the attributions to be shown to the user.
|
| Status |
Inherited Method Summary
Public Methods
public PlaceLikelihood get (int position)
public CharSequence getAttributions ()
Returns the attributions to be shown to the user.
These are aggregated attributions for all the places in the buffer.
We recommend placing this information below any place information. See Displaying Attributions for more details.
Returns
- The attributions in HTML format, or null if there are none.