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

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

// 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: kotlinx.js.ArrayBuffer)
    fun send(data: kotlinx.js.ArrayBufferView)
    var onopen: DataChannelEventHandler
    var onmessage: DataChannelEventHandler
    var onbufferedamountlow: DataChannelEventHandler

    // onerror: DataChannelEventHandler;
    var onclose: DataChannelEventHandler
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy