public abstract class QualityChangedEvent<Q extends Quality,E extends QualityChangedEvent> extends TrackEvent<E>
Modifier | Constructor and Description |
---|---|
protected |
QualityChangedEvent(EventType<E> type,
Date date,
Q quality) |
Modifier and Type | Method and Description |
---|---|
protected static <Q extends Quality> |
getMatchingQuality(JSONObject jsonEventObject,
<any> dispatcher) |
Q |
getQuality()
The new quality of the track.
|
protected static <Q extends Quality> Q getMatchingQuality(JSONObject jsonEventObject, <any> dispatcher)
public Q getQuality()
- This quality can beVideoQuality
orAudioQuality
.