PlaceBufferResponse

  • 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<PlacePlaceBuffer>

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.

Public Method Summary

CharSequence
getAttributions()
Returns the attributions to be shown to the user.

Inherited Method Summary

Public Methods

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.