PlaceBufferResponse
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
The PlaceBufferResponse class is deprecated, as is the Google Play Services Places SDK.
A new Places SDK is available, and a client migration guide provides more information.
This data structure provides access to a list of Place objects.
You must call release() on this object when finished to prevent a memory leak.
The getAttributions() method returns attributions to be shown to the user, aggregated for all places in the buffer.
public class PlaceBufferResponse extends DataBufferResponse<Place, PlaceBuffer>
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 Place
objects.
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.
[[["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."],[],["`PlaceBufferResponse` provides access to a list of `Place` objects. It's deprecated, urging migration to a new SDK. Key actions include retrieving place information via `get(int arg0)`, getting the total number of `Place` objects with `getCount()`, and acquiring attributions to be shown to the user via `getAttributions()`. It also has methods to iterate the places with iterator(), `close()` and `release()` the buffer object after use to avoid memory leaks.\n"]]