AI-generated Key Takeaways
-
RetrieveBytesRequest is a request to retrieve app data from BlockStore and implements the Parcelable interface.
-
A builder class, RetrieveBytesRequest.Builder, is available for creating RetrieveBytesRequest objects.
-
The request can specify a list of keys to retrieve data for, or request to retrieve all app's Block Store data.
-
The class includes a CREATOR field for Parcelable operations.
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.