Blob

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

Exposes the JavaScript Blob to Kotlin

Since Kotlin

1.1

Inheritors

Constructors

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

Properties

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

Functions

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