elemental2.dom.RTCRtpSendParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jacline-elemental2-dom Show documentation
Show all versions of jacline-elemental2-dom Show documentation
Thin Java abstractions for the standard built-in objects for
Javascript.
The newest version!
package elemental2.dom;
import jsinterop.annotations.JsProperty;
import jsinterop.base.Js;
import elemental2.dom.RTCRtpEncodingParameters;
import elemental2.dom.RTCRtpParameters;
import jsinterop.annotations.JsOverlay;
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 RTCRtpSendParameters extends RTCRtpParameters{
@JsOverlay
static RTCRtpSendParameters create(){
return Js.uncheckedCast(JsPropertyMap.of());
}
@JsProperty
String getDegradationPreference();
@JsProperty
JsArray getEncodings();
@JsProperty
String getTransactionId();
@JsProperty
void setDegradationPreference(String degradationPreference);
@JsProperty
void setEncodings(JsArray encodings);
@JsOverlay
default void setEncodings(RTCRtpEncodingParameters[] encodings){
setEncodings(Js.>uncheckedCast(encodings));
}
@JsProperty
void setTransactionId(String transactionId);
}