@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MediaTrackSupportedConstraints")
public interface MediaTrackSupportedConstraints
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MediaTrackSupportedConstraints.Builder
The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object.
|
| 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.
|
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.
|
static MediaTrackSupportedConstraints.Builder |
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
boolean |
resizeMode() |
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.
|
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 |
setSuppressLocalAudioPlayback(boolean suppressLocalAudioPlayback) |
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 |
suppressLocalAudioPlayback() |
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.Builder create()
@JsProperty(name="aspectRatio") boolean aspectRatio()
@JsProperty void setAspectRatio(boolean aspectRatio)
@JsProperty(name="autoGainControl") boolean autoGainControl()
@JsProperty void setAutoGainControl(boolean autoGainControl)
@JsProperty(name="channelCount") boolean channelCount()
@JsProperty void setChannelCount(boolean channelCount)
@JsProperty(name="deviceId") boolean deviceId()
@JsProperty void setDeviceId(boolean deviceId)
@JsProperty(name="echoCancellation") boolean echoCancellation()
@JsProperty void setEchoCancellation(boolean echoCancellation)
@JsProperty(name="facingMode") boolean facingMode()
@JsProperty void setFacingMode(boolean facingMode)
@JsProperty(name="frameRate") boolean frameRate()
@JsProperty void setFrameRate(boolean frameRate)
@JsProperty(name="groupId") boolean groupId()
@JsProperty void setGroupId(boolean groupId)
@JsProperty(name="height") boolean height()
@JsProperty void setHeight(boolean height)
@JsProperty(name="latency") boolean latency()
@JsProperty void setLatency(boolean latency)
@JsProperty(name="noiseSuppression") boolean noiseSuppression()
@JsProperty void setNoiseSuppression(boolean noiseSuppression)
@JsProperty(name="resizeMode") boolean resizeMode()
@JsProperty void setResizeMode(boolean resizeMode)
@JsProperty(name="sampleRate") boolean sampleRate()
@JsProperty void setSampleRate(boolean sampleRate)
@JsProperty(name="sampleSize") boolean sampleSize()
@JsProperty void setSampleSize(boolean sampleSize)
@JsProperty(name="width") boolean width()
@JsProperty void setWidth(boolean width)
@JsProperty(name="cursor") boolean cursor()
@JsProperty void setCursor(boolean cursor)
@JsProperty(name="displaySurface") boolean displaySurface()
@JsProperty void setDisplaySurface(boolean displaySurface)
@JsProperty(name="logicalSurface") boolean logicalSurface()
@JsProperty void setLogicalSurface(boolean logicalSurface)
@JsProperty(name="restrictOwnAudio") boolean restrictOwnAudio()
@JsProperty void setRestrictOwnAudio(boolean restrictOwnAudio)
@JsProperty(name="suppressLocalAudioPlayback") boolean suppressLocalAudioPlayback()
@JsProperty void setSuppressLocalAudioPlayback(boolean suppressLocalAudioPlayback)