| java.lang.Object | |
| ↳ | com.google.firebase.storage.StorageMetadata.Builder |
Creates a StorageMetadata object.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty set of metadata.
| |||||||||||
Used to create a modified version of the original set of metadata.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
sets the Cache Control for the
StorageReference | |||||||||||
Changes the content encoding for the
StorageReference | |||||||||||
Changes the content language for the
StorageReference | |||||||||||
Changes the content Type of this associated
StorageReference | |||||||||||
Sets custom metadata
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates an empty set of metadata.
Used to create a modified version of the original set of metadata.
| original | The source of the metadata to build from. |
|---|
sets the Cache Control for the StorageReference
| cacheControl | the new Cache Control setting. |
|---|
| contentDisposition | changes the content disposition for the
StorageReference
|
|---|
Changes the content encoding for the StorageReference
| contentEncoding | the new encoding to use. |
|---|
Changes the content language for the StorageReference
| contentLanguage | the new content language. |
|---|
Changes the content Type of this associated StorageReference
| contentType | the new Content Type. |
|---|
Sets custom metadata
| key | the key of the new value |
|---|---|
| value | the value to set. |