@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCStats
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCStats.Step1 |
static interface |
RTCStats.Step2 |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull java.lang.String |
id()
The id property of the RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics.
|
void |
setId(@JsNonNull java.lang.String id)
The id property of the RTCStats dictionary is a string which uniquely identifies the object for which this RTCStats object provides statistics.
|
void |
setTimestamp(double timestamp)
The timestamp property of the RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
|
void |
setType(@JsNonNull java.lang.String type)
The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType.
|
double |
timestamp()
The timestamp property of the RTCStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled.
|
static RTCStats.Step1 |
timestamp(double timestamp) |
@JsNonNull java.lang.String |
type()
The RTCStats dictionary's property type is a string which specifies the type of statistic represented by the object, where the permitted values are drawn from the enum type RTCStatsType.
|
@JsOverlay @Nonnull static RTCStats.Step1 timestamp(double timestamp)
@JsProperty(name="timestamp") double timestamp()
@JsProperty void setTimestamp(double timestamp)
@JsProperty(name="type") @RTCStatsType @JsNonNull java.lang.String type()
@JsProperty void setType(@RTCStatsType @JsNonNull java.lang.String type)
@JsProperty(name="id") @JsNonNull java.lang.String id()
@JsProperty void setId(@JsNonNull java.lang.String id)