RetrieveBytesRequest

public class RetrieveBytesRequest extends Object
implements Parcelable

A request to retrieve app data from BlockStore.

Nested Class Summary

class RetrieveBytesRequest.Builder A builder for RetrieveBytesRequest objects. 

Inherited Constant Summary

Field Summary

public static final Creator<RetrieveBytesRequest> CREATOR

Public Method Summary

List<String>
getKeys()
Returns the list of keys whose associated data, if any, should be retrieved.
boolean
getRetrieveAll()
Returns whether or not all app's Block Store data should be retrieved.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<RetrieveBytesRequest> CREATOR

Public Methods

public List<String> getKeys ()

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 BlockstoreClient.DEFAULT_BYTES_DATA_KEY.

public boolean getRetrieveAll ()

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

public void writeToParcel (Parcel dest, int flags)