@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCMediaSourceStats
extends RTCStats
| Modifier and Type | Method and Description |
|---|---|
static RTCMediaSourceStats |
create(java.lang.String id,
double timestamp,
java.lang.String type,
java.lang.String kind,
java.lang.String trackIdentifier) |
default RTCMediaSourceStats |
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.
|
java.lang.String |
kind() |
default RTCMediaSourceStats |
kind(java.lang.String kind) |
boolean |
relayedSource() |
default RTCMediaSourceStats |
relayedSource(boolean relayedSource) |
void |
setKind(java.lang.String kind) |
void |
setRelayedSource(boolean relayedSource) |
void |
setTrackIdentifier(java.lang.String trackIdentifier) |
default RTCMediaSourceStats |
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.
|
java.lang.String |
trackIdentifier() |
default RTCMediaSourceStats |
trackIdentifier(java.lang.String trackIdentifier) |
default RTCMediaSourceStats |
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.
|
@JsOverlay @Nonnull static RTCMediaSourceStats create(@Nonnull java.lang.String id, double timestamp, @RTCStatsType @Nonnull java.lang.String type, @Nonnull java.lang.String kind, @Nonnull java.lang.String trackIdentifier)
@JsProperty(name="kind") @Nonnull java.lang.String kind()
@JsProperty
void setKind(@Nonnull
java.lang.String kind)
@JsOverlay @Nonnull default RTCMediaSourceStats kind(@Nonnull java.lang.String kind)
@JsProperty(name="relayedSource") boolean relayedSource()
@JsProperty void setRelayedSource(boolean relayedSource)
@JsOverlay @Nonnull default RTCMediaSourceStats relayedSource(boolean relayedSource)
@JsProperty(name="trackIdentifier") @Nonnull java.lang.String trackIdentifier()
@JsProperty
void setTrackIdentifier(@Nonnull
java.lang.String trackIdentifier)
@JsOverlay @Nonnull default RTCMediaSourceStats trackIdentifier(@Nonnull java.lang.String trackIdentifier)
@JsOverlay @Nonnull default RTCMediaSourceStats id(@Nonnull java.lang.String id)
id in interface RTCStats@JsOverlay @Nonnull default RTCMediaSourceStats timestamp(double timestamp)
timestamp in interface RTCStats@JsOverlay @Nonnull default RTCMediaSourceStats type(@RTCStatsType @Nonnull java.lang.String type)
type in interface RTCStats