Builder

actual class Builder(source)

Builds the settable metadata, from scratch or from an existing StorageMetadata.

expect class Builder(source)

Builds the settable metadata, from scratch or from an existing StorageMetadata.

actual class Builder(source)

Builds the settable metadata, from scratch or from an existing StorageMetadata.

Constructors

Link copied to clipboard
actual constructor()
actual constructor(original: StorageMetadata)
expect constructor()
expect constructor(original: StorageMetadata)
actual constructor()
actual constructor(original: StorageMetadata)

Properties

Link copied to clipboard
actual var cacheControl: String?
expect var cacheControl: String?
actual var cacheControl: String?
Link copied to clipboard
Link copied to clipboard
actual var contentEncoding: String?
expect var contentEncoding: String?
actual var contentEncoding: String?
Link copied to clipboard
actual var contentLanguage: String?
expect var contentLanguage: String?
actual var contentLanguage: String?
Link copied to clipboard
actual var contentType: String?
expect var contentType: String?
actual var contentType: String?

Functions

Link copied to clipboard
actual fun build(): StorageMetadata
expect fun build(): StorageMetadata
actual fun build(): StorageMetadata
Link copied to clipboard
actual fun setCacheControl(cacheControl: String?): StorageMetadata.Builder
expect fun setCacheControl(cacheControl: String?): StorageMetadata.Builder
actual fun setCacheControl(cacheControl: String?): StorageMetadata.Builder
Link copied to clipboard
actual fun setContentDisposition(contentDisposition: String?): StorageMetadata.Builder
expect fun setContentDisposition(contentDisposition: String?): StorageMetadata.Builder
actual fun setContentDisposition(contentDisposition: String?): StorageMetadata.Builder
Link copied to clipboard
actual fun setContentEncoding(contentEncoding: String?): StorageMetadata.Builder
expect fun setContentEncoding(contentEncoding: String?): StorageMetadata.Builder
actual fun setContentEncoding(contentEncoding: String?): StorageMetadata.Builder
Link copied to clipboard
actual fun setContentLanguage(contentLanguage: String?): StorageMetadata.Builder
expect fun setContentLanguage(contentLanguage: String?): StorageMetadata.Builder
actual fun setContentLanguage(contentLanguage: String?): StorageMetadata.Builder
Link copied to clipboard
actual fun setContentType(contentType: String?): StorageMetadata.Builder
expect fun setContentType(contentType: String?): StorageMetadata.Builder
actual fun setContentType(contentType: String?): StorageMetadata.Builder
Link copied to clipboard

Sets the custom metadata key to value; a null value removes it.

Sets the custom metadata key to value; a null value removes it.

Sets the custom metadata key to value; a null value removes it.