{% setvar book_path %}/android/reference/kotlin/_book.yaml{% endsetvar %} {% include "/android/_dackka-meta-tags.html" %}

StoreBytesData

{% setvar page_path %}com/google/android/gms/auth/blockstore/StoreBytesData.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

class StoreBytesData : Parcelable


Data passed by apps to Block Store.

Summary

Nested types

A builder for StoreBytesData objects.

Constants

const Parcelable.Creator<StoreBytesData!>!

Public functions

Boolean

Whether the bytes to be stored should be backed up to the cloud in the next sync.

Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

ByteArray<Byte>!
String!

The key with which the bytes are associated.

Inherited Constants

From android.os.Parcelable

Inherited functions

From android.os.Parcelable
abstract Int

Constants

CREATOR

const val CREATORParcelable.Creator<StoreBytesData!>!

Public functions

shouldBackupToCloud

fun shouldBackupToCloud(): Boolean

Whether the bytes to be stored should be backed up to the cloud in the next sync.

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

bytes

val bytesByteArray<Byte>!

key

val keyString!

The key with which the bytes are associated.

If the key was never explicitly set when building StoreBytesData, then the default key DEFAULT_BYTES_DATA_KEY is associated with the bytes and will be returned.