{% include "/android/_dackka-meta-tags.html" %}

RetrieveBytesRequest

{% setvar page_path %}com/google/android/gms/auth/blockstore/RetrieveBytesRequest.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_java_switcher2.md" %}

public class RetrieveBytesRequest implements Parcelable


A request to retrieve app data from Block Store.

Summary

Nested types

public final class RetrieveBytesRequest.Builder

A builder for RetrieveBytesRequest objects.

Constants

static final Parcelable.Creator<RetrieveBytesRequest>

Public fields

final List<String>
final boolean

Public methods

List<String>

Returns the list of keys whose associated data, if any, should be retrieved.

boolean

Returns whether or not all app's Block Store data should be retrieved.

void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Constants

CREATOR

public static final Parcelable.Creator<RetrieveBytesRequestCREATOR

Public fields

keys

public final List<Stringkeys

retrieveAll

public final boolean retrieveAll

Public methods

getKeys

public List<StringgetKeys()

Returns the list of keys whose associated data, if any, should be retrieved.

An empty list means that no key-based filtering will be performed. In other words, no data will be returned if the key list is empty and no other criterion is provided.

Note that the app data that was stored without an explicit key can be requested with the default key DEFAULT_BYTES_DATA_KEY.

getRetrieveAll

public boolean getRetrieveAll()

Returns whether or not all app's Block Store data should be retrieved.

writeToParcel

public void writeToParcel(Parcel dest, int flags)