main.webrtc.RTCDtlsTransport.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package webrtc
import kotlinx.js.ReadonlyArray
external class RTCDtlsTransport : org.w3c.dom.events.EventTarget {
val iceTransport: RTCIceTransport
val state: RTCDtlsTransportState
fun getRemoteCertificates(): ReadonlyArray
var onerror: DtlsTransportEventHandler
var onstatechange: DtlsTransportEventHandler
// addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void
// addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
// removeEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void
// removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void
}