@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCStats
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCStats.Builder
The RTCStats dictionary is the basic statistics object used by WebRTC's statistics monitoring model, providing the properties required of all statistics data objects.
|
| Modifier and Type | Method and Description |
|---|---|
static RTCStats.Builder |
create(java.lang.String id,
double timestamp,
java.lang.String type) |
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(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(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.
|
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.Builder create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type)
@JsProperty(name="id") @Nonnull java.lang.String id()
@JsProperty
void setId(@Nonnull
java.lang.String id)
@JsProperty(name="timestamp") double timestamp()
@JsProperty void setTimestamp(double timestamp)
@JsProperty(name="type") @RTCStatsType @Nonnull java.lang.String type()
@JsProperty void setType(@RTCStatsType @Nonnull java.lang.String type)