UploadedFile

@Immutable
data class UploadedFile @JvmOverloads constructor(val file: String, val thumbUrl: String? = null, val extraData: Map<String, Any> = emptyMap())

Represents a successfully uploaded file.

Parameters

file

The URL of the uploaded file.

thumbUrl

The property is auto-generated when uploading videos using Stream CDN and can be used to display video previews.

extraData

The extra data associated with the uploaded file.

Constructors

Link copied to clipboard
constructor(file: String, thumbUrl: String? = null, extraData: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val thumbUrl: String? = null