@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MediaDeviceInfo")
public class MediaDeviceInfo
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
MediaDeviceInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
deviceId()
The deviceId readonly property of the MediaDeviceInfo interface returns a DOMString that is an identifier for the represented device and is persisted across sessions.
|
java.lang.String |
groupId()
The groupId readonly property of the MediaDeviceInfo interface returns a DOMString that is a group identifier.
|
java.lang.String |
kind()
The kind readonly property of the MediaDeviceInfo interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput".
|
java.lang.String |
label()
The label readonlyinline property of the MediaDeviceInfo interface returns a DOMString, that is a label describing this device (for example "External USB Webcam").
|
JsObject |
toJSON() |
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@JsProperty(name="deviceId") @Nonnull public java.lang.String deviceId()
@JsProperty(name="groupId") @Nonnull public java.lang.String groupId()
@JsProperty(name="kind") @Nonnull @MediaDeviceKind public java.lang.String kind()
@JsProperty(name="label") @Nonnull public java.lang.String label()
@Nonnull public JsObject toJSON()