public static final class MediaSourceEventListener.LoadEventInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
bytesLoaded
The number of bytes that were loaded up to the event time.
|
DataSpec |
dataSpec
Defines the data being loaded.
|
long |
elapsedRealtimeMs
The value of
SystemClock.elapsedRealtime() at the time of the load event. |
long |
loadDurationMs
The duration of the load up to the event time.
|
| Constructor and Description |
|---|
LoadEventInfo(DataSpec dataSpec,
long elapsedRealtimeMs,
long loadDurationMs,
long bytesLoaded)
Creates load event info.
|
public final DataSpec dataSpec
public final long elapsedRealtimeMs
SystemClock.elapsedRealtime() at the time of the load event.public final long loadDurationMs
public final long bytesLoaded
public LoadEventInfo(DataSpec dataSpec, long elapsedRealtimeMs, long loadDurationMs, long bytesLoaded)
dataSpec - Defines the data being loaded.elapsedRealtimeMs - The value of SystemClock.elapsedRealtime() at the time of the
load event.loadDurationMs - The duration of the load up to the event time.bytesLoaded - The number of bytes that were loaded up to the event time.