DeleteBytesRequest

public class DeleteBytesRequest extends Object
implements Parcelable

A request to delete app data from BlockStore.

Nested Class Summary

class DeleteBytesRequest.Builder A builder for DeleteBytesRequest objects. 

Inherited Constant Summary

Field Summary

public static final Creator<DeleteBytesRequest> CREATOR

Public Method Summary

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

Inherited Method Summary

Fields

public static final Creator<DeleteBytesRequest> CREATOR

Public Methods

public boolean getDeleteAll ()

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

public List<String> getKeys ()

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

An empty list means that no key-based filtering will be performed. In other words, no data will be deleted 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 deleted with the default key BlockstoreClient.DEFAULT_BYTES_DATA_KEY.

public void writeToParcel (Parcel dest, int flags)