RetrieveBytesRequest

public classRetrieveBytesRequestextendsObject
implementsParcelable

A request to retrieve app data from BlockStore.

Nested Class Summary

class RetrieveBytesRequest.Builder A builder for RetrieveBytesRequestobjects.

Inherited Constant Summary

Field Summary

public static finalCreator<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(Parceldest, int flags)

Inherited Method Summary

Fields

public static finalCreator<RetrieveBytesRequest> CREATOR

Public Methods

publicList<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 booleangetRetrieveAll()

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

public voidwriteToParcel(Parceldest, int flags)