Class PlaybackCounters
Playback counters of the detailed stats snapshot.
public sealed record PlaybackCounters : IEquatable<PlaybackCounters>
- Inheritance
-
PlaybackCounters
- Implements
- Inherited Members
Properties
Events
Playback event totals by event name.
[JsonPropertyName("events")]
[JsonInclude]
public IReadOnlyDictionary<string, long>? Events { get; }
Property Value
Remarks
A null value for an event name throws on parse, unlike the source counters, which drop their null values.
Methods
Equals(PlaybackCounters?)
Indicates whether both counters carry the same event totals.
public bool Equals(PlaybackCounters? other)
Parameters
otherPlaybackCountersThe counters to compare with.
Returns
- bool
Whether the maps match, compared by content.
GetHashCode()
Returns a hash of the counters, the map stays out of it.
public override int GetHashCode()
Returns
- int
The hash code.