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

elemental2.dom.MediaConstraintsInterface_ Maven / Gradle / Ivy

package elemental2.dom;

import elemental2.core.JsObject;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import jsinterop.base.Js;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface MediaConstraintsInterface_ {
  @JsProperty
  JsObject getMandatory();

  @JsProperty
  JsObject[] getOptional();

  @JsProperty
  void setMandatory(JsObject mandatory);

  @JsOverlay
  default void setMandatory(Object mandatory) {
    setMandatory(Js.uncheckedCast(mandatory));
  }

  @JsProperty
  void setOptional(JsObject[] optional);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy