Page Summary
-
The AutocompletePredictionBufferResponse class and the Google Play Services Places SDK are deprecated; users should migrate to the new SDK.
-
This class represents a DataBuffer containing a list of AutocompletePredictions.
-
It is crucial to call the release() method on this object to prevent memory leaks.
public class AutocompletePredictionBufferResponse extends DataBufferResponse<AutocompletePrediction, AutocompletePredictionBuffer>
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.
A DataBuffer that represents a list of AutocompletePredictions.
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 Method Summary
From class
com.google.android.gms.common.api.DataBufferResponse
| void |
close()
|
| AutocompletePrediction |
get(int arg0)
|
| int |
getCount()
|
| Bundle |
getMetadata()
|
| boolean |
isClosed()
|
| Iterator<AutocompletePrediction> |
iterator()
|
| void |
release()
|
| Iterator<AutocompletePrediction> |
singleRefIterator()
|
From class com.google.android.gms.common.api.Response
| R extends AbstractDataBuffer<T> & Result |
getResult()
|
| void |
From class java.lang.Object
From interface
com.google.android.gms.common.data.DataBuffer
| abstract void |
close()
|
| abstract AutocompletePrediction |
get(int arg0)
|
| abstract int |
getCount()
|
| abstract Bundle |
getMetadata()
|
| abstract boolean |
isClosed()
|
| abstract Iterator<AutocompletePrediction> |
iterator()
|
| abstract void |
release()
|
| abstract Iterator<AutocompletePrediction> |
singleRefIterator()
|
From interface java.lang.Iterable
| void |
forEach(Consumer<? super T>
arg0)
|
| abstract Iterator<AutocompletePrediction> |
iterator()
|
| Spliterator<AutocompletePrediction> |
spliterator()
|
From interface
com.google.android.gms.common.api.Releasable
| abstract void |
release()
|