| Modifier and Type | Method and Description |
|---|---|
static RTCIceServerStats |
create(java.lang.String id,
double timestamp,
java.lang.String type,
java.lang.String url) |
default RTCIceServerStats |
id(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.
|
int |
port() |
default RTCIceServerStats |
port(int port) |
java.lang.String |
relayProtocol() |
default RTCIceServerStats |
relayProtocol(java.lang.String relayProtocol) |
void |
setPort(int port) |
void |
setRelayProtocol(java.lang.String relayProtocol) |
void |
setTotalRequestsSent(int totalRequestsSent) |
void |
setTotalResponsesReceived(int totalResponsesReceived) |
void |
setTotalRoundTripTime(double totalRoundTripTime) |
void |
setUrl(java.lang.String url) |
default RTCIceServerStats |
timestamp(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.
|
int |
totalRequestsSent() |
default RTCIceServerStats |
totalRequestsSent(int totalRequestsSent) |
int |
totalResponsesReceived() |
default RTCIceServerStats |
totalResponsesReceived(int totalResponsesReceived) |
double |
totalRoundTripTime() |
default RTCIceServerStats |
totalRoundTripTime(double totalRoundTripTime) |
default RTCIceServerStats |
type(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.
|
java.lang.String |
url() |
default RTCIceServerStats |
url(java.lang.String url) |
@JsOverlay @Nonnull static RTCIceServerStats create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type, @Nonnull java.lang.String url)
@JsProperty(name="port") int port()
@JsProperty void setPort(int port)
@JsOverlay @Nonnull default RTCIceServerStats port(int port)
@JsProperty(name="relayProtocol") java.lang.String relayProtocol()
@JsProperty
void setRelayProtocol(@Nonnull
java.lang.String relayProtocol)
@JsOverlay @Nonnull default RTCIceServerStats relayProtocol(@Nonnull java.lang.String relayProtocol)
@JsProperty(name="totalRequestsSent") int totalRequestsSent()
@JsProperty void setTotalRequestsSent(int totalRequestsSent)
@JsOverlay @Nonnull default RTCIceServerStats totalRequestsSent(int totalRequestsSent)
@JsProperty(name="totalResponsesReceived") int totalResponsesReceived()
@JsProperty void setTotalResponsesReceived(int totalResponsesReceived)
@JsOverlay @Nonnull default RTCIceServerStats totalResponsesReceived(int totalResponsesReceived)
@JsProperty(name="totalRoundTripTime") double totalRoundTripTime()
@JsProperty void setTotalRoundTripTime(double totalRoundTripTime)
@JsOverlay @Nonnull default RTCIceServerStats totalRoundTripTime(double totalRoundTripTime)
@JsProperty(name="url") @Nonnull java.lang.String url()
@JsProperty
void setUrl(@Nonnull
java.lang.String url)
@JsOverlay @Nonnull default RTCIceServerStats url(@Nonnull java.lang.String url)
@JsOverlay @Nonnull default RTCIceServerStats id(@Nonnull java.lang.String id)
id in interface RTCStats@JsOverlay @Nonnull default RTCIceServerStats timestamp(double timestamp)
timestamp in interface RTCStats@JsOverlay @Nonnull default RTCIceServerStats type(@RTCStatsType @Nonnull java.lang.String type)
type in interface RTCStats