All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.webrtc.RTCDataChannel.kt Maven / Gradle / Ivy

There is a newer version: 0.0.32-pre.382
Show newest version
// Automatically generated - do not modify!

package webrtc

external class RTCDataChannel : org.w3c.dom.events.EventTarget {
    val label: String
    val ordered: Boolean
    val maxPacketLifeTime: Number?
    val maxRetransmits: Number?
    val protocol: String
    val negotiated: Boolean
    val id: Number?
    val readyState: RTCDataChannelState
    val bufferedAmount: Number
    var bufferedAmountLowThreshold: Number

    // binaryType: string;
    fun close()
    fun send(data: String)
    fun send(data: org.w3c.files.Blob)
    fun send(data: org.khronos.webgl.ArrayBuffer)
    fun send(data: org.khronos.webgl.ArrayBufferView)
    var onopen: DataChannelEventHandler
    var onmessage: DataChannelEventHandler
    var onbufferedamountlow: DataChannelEventHandler

    // onerror: DataChannelEventHandler;
    var onclose: DataChannelEventHandler
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy