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

elemental2.dom.MediaTrackCapabilities Maven / Gradle / Ivy

The newest version!
package elemental2.dom;
import jsinterop.annotations.JsProperty;
import jsinterop.base.Js;
import elemental2.dom.MediaSettingsRange;
import jsinterop.annotations.JsOverlay;
import java.lang.Boolean;
import java.lang.String;
import jsinterop.annotations.JsType;
import jsinterop.annotations.JsPackage;
import elemental2.core.JsArray;
@JsType(isNative = true,namespace = JsPackage.GLOBAL)
public interface MediaTrackCapabilities{
@JsProperty
double getAspectRatio();
@JsProperty
MediaSettingsRange getBrightness();
@JsProperty
double getChannelCount();
@JsProperty
MediaSettingsRange getColorTemperature();
@JsProperty
MediaSettingsRange getContrast();
@JsProperty
String getDeviceId();
@JsProperty
JsArray getEchoCancellation();
@JsProperty
MediaSettingsRange getExposureCompensation();
@JsProperty
JsArray getExposureMode();
@JsProperty
JsArray getFacingMode();
@JsProperty
JsArray getFocusMode();
@JsProperty
double getFrameRate();
@JsProperty
String getGroupId();
@JsProperty
double getHeight();
@JsProperty
MediaSettingsRange getIso();
@JsProperty
double getLatency();
@JsProperty
JsArray getResizeMode();
@JsProperty
double getSampleRate();
@JsProperty
int getSampleSize();
@JsProperty
MediaSettingsRange getSaturation();
@JsProperty
MediaSettingsRange getSharpness();
@JsProperty
double getVolume();
@JsProperty
JsArray getWhiteBalanceMode();
@JsProperty
double getWidth();
@JsProperty
MediaSettingsRange getZoom();
@JsProperty
boolean isTorch();
@JsProperty
void setAspectRatio(double aspectRatio);
@JsProperty
void setBrightness(MediaSettingsRange brightness);
@JsProperty
void setChannelCount(double channelCount);
@JsProperty
void setColorTemperature(MediaSettingsRange colorTemperature);
@JsProperty
void setContrast(MediaSettingsRange contrast);
@JsProperty
void setDeviceId(String deviceId);
@JsProperty
void setEchoCancellation(JsArray echoCancellation);
@JsOverlay
default void setEchoCancellation(boolean[] echoCancellation){
setEchoCancellation(Js.>uncheckedCast(echoCancellation));
}
@JsProperty
void setExposureCompensation(MediaSettingsRange exposureCompensation);
@JsProperty
void setExposureMode(JsArray exposureMode);
@JsOverlay
default void setExposureMode(String[] exposureMode){
setExposureMode(Js.>uncheckedCast(exposureMode));
}
@JsProperty
void setFacingMode(JsArray facingMode);
@JsOverlay
default void setFacingMode(String[] facingMode){
setFacingMode(Js.>uncheckedCast(facingMode));
}
@JsProperty
void setFocusMode(JsArray focusMode);
@JsOverlay
default void setFocusMode(String[] focusMode){
setFocusMode(Js.>uncheckedCast(focusMode));
}
@JsProperty
void setFrameRate(double frameRate);
@JsProperty
void setGroupId(String groupId);
@JsProperty
void setHeight(double height);
@JsProperty
void setIso(MediaSettingsRange iso);
@JsProperty
void setLatency(double latency);
@JsProperty
void setResizeMode(JsArray resizeMode);
@JsOverlay
default void setResizeMode(String[] resizeMode){
setResizeMode(Js.>uncheckedCast(resizeMode));
}
@JsProperty
void setSampleRate(double sampleRate);
@JsProperty
void setSampleSize(int sampleSize);
@JsProperty
void setSaturation(MediaSettingsRange saturation);
@JsProperty
void setSharpness(MediaSettingsRange sharpness);
@JsProperty
void setTorch(boolean torch);
@JsProperty
void setVolume(double volume);
@JsProperty
void setWhiteBalanceMode(JsArray whiteBalanceMode);
@JsOverlay
default void setWhiteBalanceMode(String[] whiteBalanceMode){
setWhiteBalanceMode(Js.>uncheckedCast(whiteBalanceMode));
}
@JsProperty
void setWidth(double width);
@JsProperty
void setZoom(MediaSettingsRange zoom);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy