DataEventBuffer

  • DataEventBuffer is a data structure that holds references to a set of events.

  • It extends AbstractDataBuffer and implements the Result interface.

  • Key public methods include getting a specific DataEvent by index, getting the total count of events, and getting the status of the operation.

public classDataEventBuffer extendsAbstractDataBuffer<DataEvent>
implementsResult

Data structure holding references to a set of events.

See Also

Public Method Summary

finalDataEvent
get(int arg0)
int
Status

Inherited Method Summary

From class com.google.android.gms.common.data.AbstractDataBuffer
final void
close()
abstractDataEvent
get(int arg0)
int
getCount()
boolean
isClosed()
Iterator<DataEvent>
iterator()
void
release()
Iterator<DataEvent>
singleRefIterator()
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
From interface com.google.android.gms.common.data.DataBuffer
abstract void
close()
abstractDataEvent
get(int arg0)
abstract int
getCount()
abstract boolean
isClosed()
abstractIterator<DataEvent>
iterator()
void
release()
abstractIterator<DataEvent>
singleRefIterator()
From interface com.google.android.gms.common.api.Result
abstractStatus
getStatus()
From interface java.lang.Iterable
void
forEach(Consumer<? super T> arg0)
abstractIterator<DataEvent>
iterator()
Spliterator<DataEvent>
spliterator()
From interface com.google.android.gms.common.api.Releasable
abstract void
release()
From interface java.io.Closeable
abstract void
close()
From interface java.lang.AutoCloseable
abstract void
close()

Public Methods

public finalDataEventget(int arg0)

public intgetCount()

publicStatusgetStatus()

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.