@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface MediaTrackSupportedConstraints
| Modifier and Type | Method and Description |
|---|---|
boolean |
aspectRatio()
The MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the aspectRatio constraint.
|
default MediaTrackSupportedConstraints |
aspectRatio(boolean aspectRatio)
The MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the aspectRatio constraint.
|
boolean |
autoGainControl()
The MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the autoGainControl constraint.
|
default MediaTrackSupportedConstraints |
autoGainControl(boolean autoGainControl)
The MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the autoGainControl constraint.
|
boolean |
channelCount()
The MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the channelCount constraint.
|
default MediaTrackSupportedConstraints |
channelCount(boolean channelCount)
The MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the channelCount constraint.
|
static MediaTrackSupportedConstraints |
create() |
boolean |
cursor()
The MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the cursor constraint is supported by the user agent and the device on which the content is being used.
|
default MediaTrackSupportedConstraints |
cursor(boolean cursor)
The MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the cursor constraint is supported by the user agent and the device on which the content is being used.
|
boolean |
deviceId()
The MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the deviceId constraint.
|
default MediaTrackSupportedConstraints |
deviceId(boolean deviceId)
The MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the deviceId constraint.
|
boolean |
displaySurface()
The MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the displaySurface constraint is supported by the user agent and the device on which the content is being used.
|
default MediaTrackSupportedConstraints |
displaySurface(boolean displaySurface)
The MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the displaySurface constraint is supported by the user agent and the device on which the content is being used.
|
boolean |
echoCancellation()
The MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the echoCancellation constraint.
|
default MediaTrackSupportedConstraints |
echoCancellation(boolean echoCancellation)
The MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the echoCancellation constraint.
|
boolean |
facingMode()
The MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the facingMode constraint.
|
default MediaTrackSupportedConstraints |
facingMode(boolean facingMode)
The MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the facingMode constraint.
|
boolean |
frameRate()
The MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the frameRate constraint.
|
default MediaTrackSupportedConstraints |
frameRate(boolean frameRate)
The MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the frameRate constraint.
|
boolean |
groupId()
The MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the groupId constraint.
|
default MediaTrackSupportedConstraints |
groupId(boolean groupId)
The MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the groupId constraint.
|
boolean |
height()
The MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the height constraint.
|
default MediaTrackSupportedConstraints |
height(boolean height)
The MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the height constraint.
|
boolean |
latency()
The MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the latency constraint.
|
default MediaTrackSupportedConstraints |
latency(boolean latency)
The MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the latency constraint.
|
boolean |
logicalSurface() |
default MediaTrackSupportedConstraints |
logicalSurface(boolean logicalSurface) |
boolean |
noiseSuppression()
The MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the noiseSuppression constraint.
|
default MediaTrackSupportedConstraints |
noiseSuppression(boolean noiseSuppression)
The MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the noiseSuppression constraint.
|
boolean |
resizeMode() |
default MediaTrackSupportedConstraints |
resizeMode(boolean resizeMode) |
boolean |
restrictOwnAudio() |
default MediaTrackSupportedConstraints |
restrictOwnAudio(boolean restrictOwnAudio) |
boolean |
sampleRate()
The MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleRate constraint.
|
default MediaTrackSupportedConstraints |
sampleRate(boolean sampleRate)
The MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleRate constraint.
|
boolean |
sampleSize()
The MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleSize constraint.
|
default MediaTrackSupportedConstraints |
sampleSize(boolean sampleSize)
The MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleSize constraint.
|
void |
setAspectRatio(boolean aspectRatio)
The MediaTrackSupportedConstraints dictionary's aspectRatio property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the aspectRatio constraint.
|
void |
setAutoGainControl(boolean autoGainControl)
The MediaTrackSupportedConstraints dictionary's autoGainControl property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the autoGainControl constraint.
|
void |
setChannelCount(boolean channelCount)
The MediaTrackSupportedConstraints dictionary's channelCount property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the channelCount constraint.
|
void |
setCursor(boolean cursor)
The MediaTrackSupportedConstraints dictionary's cursor property indicates whether or not the cursor constraint is supported by the user agent and the device on which the content is being used.
|
void |
setDeviceId(boolean deviceId)
The MediaTrackSupportedConstraints dictionary's deviceId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the deviceId constraint.
|
void |
setDisplaySurface(boolean displaySurface)
The MediaTrackSupportedConstraints dictionary's displaySurface property indicates whether or not the displaySurface constraint is supported by the user agent and the device on which the content is being used.
|
void |
setEchoCancellation(boolean echoCancellation)
The MediaTrackSupportedConstraints dictionary's echoCancellation property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the echoCancellation constraint.
|
void |
setFacingMode(boolean facingMode)
The MediaTrackSupportedConstraints dictionary's facingMode property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the facingMode constraint.
|
void |
setFrameRate(boolean frameRate)
The MediaTrackSupportedConstraints dictionary's frameRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the frameRate constraint.
|
void |
setGroupId(boolean groupId)
The MediaTrackSupportedConstraints dictionary's groupId property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the groupId constraint.
|
void |
setHeight(boolean height)
The MediaTrackSupportedConstraints dictionary's height property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the height constraint.
|
void |
setLatency(boolean latency)
The MediaTrackSupportedConstraints dictionary's latency property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the latency constraint.
|
void |
setLogicalSurface(boolean logicalSurface) |
void |
setNoiseSuppression(boolean noiseSuppression)
The MediaTrackSupportedConstraints dictionary's noiseSuppression property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the noiseSuppression constraint.
|
void |
setResizeMode(boolean resizeMode) |
void |
setRestrictOwnAudio(boolean restrictOwnAudio) |
void |
setSampleRate(boolean sampleRate)
The MediaTrackSupportedConstraints dictionary's sampleRate property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleRate constraint.
|
void |
setSampleSize(boolean sampleSize)
The MediaTrackSupportedConstraints dictionary's sampleSize property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the sampleSize constraint.
|
void |
setWidth(boolean width)
The MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the width constraint.
|
boolean |
width()
The MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the width constraint.
|
default MediaTrackSupportedConstraints |
width(boolean width)
The MediaTrackSupportedConstraints dictionary's width property is a read-only Boolean value which is present (and set to true) in the object returned by MediaDevices.getSupportedConstraints() if and only if the user agent supports the width constraint.
|
@JsOverlay @Nonnull static MediaTrackSupportedConstraints create()
@JsProperty(name="aspectRatio") boolean aspectRatio()
@JsProperty void setAspectRatio(boolean aspectRatio)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints aspectRatio(boolean aspectRatio)
@JsProperty(name="autoGainControl") boolean autoGainControl()
@JsProperty void setAutoGainControl(boolean autoGainControl)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints autoGainControl(boolean autoGainControl)
@JsProperty(name="channelCount") boolean channelCount()
@JsProperty void setChannelCount(boolean channelCount)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints channelCount(boolean channelCount)
@JsProperty(name="deviceId") boolean deviceId()
@JsProperty void setDeviceId(boolean deviceId)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints deviceId(boolean deviceId)
@JsProperty(name="echoCancellation") boolean echoCancellation()
@JsProperty void setEchoCancellation(boolean echoCancellation)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints echoCancellation(boolean echoCancellation)
@JsProperty(name="facingMode") boolean facingMode()
@JsProperty void setFacingMode(boolean facingMode)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints facingMode(boolean facingMode)
@JsProperty(name="frameRate") boolean frameRate()
@JsProperty void setFrameRate(boolean frameRate)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints frameRate(boolean frameRate)
@JsProperty(name="groupId") boolean groupId()
@JsProperty void setGroupId(boolean groupId)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints groupId(boolean groupId)
@JsProperty(name="height") boolean height()
@JsProperty void setHeight(boolean height)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints height(boolean height)
@JsProperty(name="latency") boolean latency()
@JsProperty void setLatency(boolean latency)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints latency(boolean latency)
@JsProperty(name="noiseSuppression") boolean noiseSuppression()
@JsProperty void setNoiseSuppression(boolean noiseSuppression)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints noiseSuppression(boolean noiseSuppression)
@JsProperty(name="resizeMode") boolean resizeMode()
@JsProperty void setResizeMode(boolean resizeMode)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints resizeMode(boolean resizeMode)
@JsProperty(name="sampleRate") boolean sampleRate()
@JsProperty void setSampleRate(boolean sampleRate)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints sampleRate(boolean sampleRate)
@JsProperty(name="sampleSize") boolean sampleSize()
@JsProperty void setSampleSize(boolean sampleSize)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints sampleSize(boolean sampleSize)
@JsProperty(name="width") boolean width()
@JsProperty void setWidth(boolean width)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints width(boolean width)
@JsProperty(name="cursor") boolean cursor()
@JsProperty void setCursor(boolean cursor)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints cursor(boolean cursor)
@JsProperty(name="displaySurface") boolean displaySurface()
@JsProperty void setDisplaySurface(boolean displaySurface)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints displaySurface(boolean displaySurface)
@JsProperty(name="logicalSurface") boolean logicalSurface()
@JsProperty void setLogicalSurface(boolean logicalSurface)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints logicalSurface(boolean logicalSurface)
@JsProperty(name="restrictOwnAudio") boolean restrictOwnAudio()
@JsProperty void setRestrictOwnAudio(boolean restrictOwnAudio)
@JsOverlay @Nonnull default MediaTrackSupportedConstraints restrictOwnAudio(boolean restrictOwnAudio)