Data passed by apps to Block Store.
Nested Class Summary
class | StoreBytesData.Builder | A builder for StoreBytesData
objects. |
Inherited Constant Summary
Field Summary
public static final Creator<StoreBytesData> | CREATOR |
Public Method Summary
byte[] |
getBytes()
Raw bytes passed from apps to Block Store.
|
String |
getKey()
The key with which the bytes are associated.
|
boolean |
shouldBackupToCloud()
Whether the bytes to be stored should be backed up to the cloud in the next
sync.
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<StoreBytesData> CREATOR
Public Methods
public byte[] getBytes ()
Raw bytes passed from apps to Block Store.
public String getKey ()
The key with which the bytes are associated.
If the key was never explicitly set when building the StoreBytesData
,
then the default key
BlockstoreClient.DEFAULT_BYTES_DATA_KEY
is associated with the
bytes
and therefore will be returned.
public boolean shouldBackupToCloud ()
Whether the bytes to be stored should be backed up to the cloud in the next sync.