kvision / pl.treksoft.kvision.cordova / MediaError

MediaError

external class MediaError

Media error class.

Constructors

<init>

MediaError()

Media error class.

Properties

code

val code: Int

message

val message: String

Companion Object Properties

MEDIA_ERR_ABORTED

val MEDIA_ERR_ABORTED: Int

MEDIA_ERR_DECODE

val MEDIA_ERR_DECODE: Int

MEDIA_ERR_NETWORK

val MEDIA_ERR_NETWORK: Int

MEDIA_ERR_NONE_SUPPORTED

val MEDIA_ERR_NONE_SUPPORTED: Int

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.