elemental2.dom.RTCRtpTransceiver 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 elemental2.dom.RTCRtpReceiver;
import elemental2.dom.RTCRtpCodecCapability;
import elemental2.core.JsArray;
import jsinterop.annotations.JsProperty;
import jsinterop.base.Js;
import jsinterop.annotations.JsOverlay;
import elemental2.dom.RTCRtpSender;
import java.lang.Object;
import java.lang.String;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public interface RTCRtpTransceiver{
@JsProperty
String getCurrentDirection();
@JsProperty
String getDirection();
@JsProperty
String getMid();
@JsProperty
RTCRtpReceiver getReceiver();
@JsProperty
RTCRtpSender getSender();
@JsProperty
boolean isStopped();
Object setCodecPreferences(JsArray codecs);
@JsOverlay
default Object setCodecPreferences(RTCRtpCodecCapability[] codecs){
return setCodecPreferences(Js.>uncheckedCast(codecs));
}
Object setDirection(String direction);
Object stop();
}