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

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

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

package webrtc

import kotlinx.js.ReadonlyArray

external class RTCIceTransport : org.w3c.dom.events.EventTarget {
    val role: RTCIceRole

    //readonly component: RTCIceComponent;
    //readonly state: RTCIceTransportState;
    val gatheringState: RTCIceGatheringState
    fun getLocalCandidates(): ReadonlyArray
    fun getRemoteCandidates(): ReadonlyArray
    fun getLocalParameters(): RTCIceParameters?
    fun getRemoteParameters(): RTCIceParameters?
    fun getSelectedCandidatePair(): RTCIceCandidatePair?
    var onstatechange: IceTransportEventHandler
    var ongatheringstatechange: IceTransportEventHandler
    var onselectedcandidatepairchange: IceTransportEventHandler
    // addEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void
    // addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
    // removeEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options: boolean | EventListenerOptions): void
    // removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy