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

js.web.webrtc.RTCStatsEvent Maven / Gradle / Ivy

package js.web.webrtc;

import js.web.dom.Event;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;


public interface RTCStatsEvent extends Event {
    @JSBody(script = "return RTCStatsEvent.prototype")
    static RTCStatsEvent prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(params = {"type", "eventInitDict"}, script = "return new RTCStatsEvent(type, eventInitDict)")
    static RTCStatsEvent create(String type, RTCStatsEventInit eventInitDict) {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(params = "type", script = "return new RTCStatsEvent(type)")
    static RTCStatsEvent create(String type) {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    RTCStatsReport getReport();


    interface RTCStatsEventInit extends EventInit {
        @JSProperty
        RTCStatsReport getReport();

        @JSProperty
        void setReport(RTCStatsReport report);

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy