Skip to content

//core/com.petersamokhin.vksdk.core.model.objects/UploadableContent/File

File

[common]\ data class File(fieldName: String, fileName: String, mediaType: String, file: FileOnDisk) : UploadableContent

File on disk content

Constructors

File [common]
fun File(fieldName: String, fileName: String, mediaType: String, file: FileOnDisk)

Functions

Name Summary
contentDisposition [common]
fun contentDisposition(): String
Build content disposition of this item

Properties

Name Summary
fieldName [common]
open override val fieldName: String
Field name; content disposition
file [common]
val file: FileOnDisk
fileName [common]
open override val fileName: String
File name; content disposition
mediaType [common]
open override val mediaType: String
Content type; content disposition