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

elemental2.dom.RTCRtpTransceiverInit Maven / Gradle / Ivy

The newest version!
package elemental2.dom;
import jsinterop.annotations.JsProperty;
import jsinterop.base.Js;
import elemental2.dom.RTCRtpEncodingParameters;
import jsinterop.annotations.JsOverlay;
import elemental2.dom.MediaStream;
import java.lang.String;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import jsinterop.base.JsPropertyMap;
import elemental2.core.JsArray;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public interface RTCRtpTransceiverInit{
@JsOverlay
static RTCRtpTransceiverInit create(){
return Js.uncheckedCast(JsPropertyMap.of());
}
@JsProperty
String getDirection();
@JsProperty
JsArray getSendEncodings();
@JsProperty
JsArray getStreams();
@JsProperty
void setDirection(String direction);
@JsProperty
void setSendEncodings(JsArray sendEncodings);
@JsOverlay
default void setSendEncodings(RTCRtpEncodingParameters[] sendEncodings){
setSendEncodings(Js.>uncheckedCast(sendEncodings));
}
@JsProperty
void setStreams(JsArray streams);
@JsOverlay
default void setStreams(MediaStream[] streams){
setStreams(Js.>uncheckedCast(streams));
}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy