Blob

open external class Blob(blobParts: Array<dynamic>, options: BlobPropertyBag) : MediaProvider, ImageBitmapSource

Exposes the JavaScript Blob to Kotlin

Constructors

Blob
Link copied to clipboard
fun Blob(blobParts: Array<dynamic> = definedExternally, options: BlobPropertyBag = definedExternally)

Functions

close
Link copied to clipboard
fun close()
slice
Link copied to clipboard
fun slice(start: Int = definedExternally, end: Int = definedExternally, contentType: String = definedExternally): Blob

Properties

isClosed
Link copied to clipboard
open val isClosed: Boolean
size
Link copied to clipboard
open val size: Number
type
Link copied to clipboard
open val type: String

Inheritors

File
Link copied to clipboard