//core/com.petersamokhin.vksdk.core.model.objects/UploadableContent/Bytes
Bytes¶
[common]\ data class Bytes(fieldName: String, fileName: String, mediaType: String, bytes: ByteArray) : UploadableContent
Simple ByteArray content
Constructors¶
| Bytes | [common] fun Bytes(fieldName: String, fileName: String, mediaType: String, bytes: ByteArray) |
Functions¶
| Name | Summary |
|---|---|
| contentDisposition | [common] fun contentDisposition(): String Build content disposition of this item |
| equals | [common] open operator override fun equals(other: Any?): Boolean |
| hashCode | [common] open override fun hashCode(): Int |
Properties¶
| Name | Summary |
|---|---|
| bytes | [common] val bytes: ByteArray |
| fieldName | [common] open override val fieldName: String Field name; content disposition |
| fileName | [common] open override val fileName: String File name; content disposition |
| mediaType | [common] open override val mediaType: String Content type; content disposition |