Class LoadEventInfo
- java.lang.Object
-
- com.google.android.exoplayer2.source.LoadEventInfo
-
@Deprecated public final class LoadEventInfo extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.MediaSource
load event information.
-
-
Field Summary
Fields Modifier and Type Field Description long
bytesLoaded
Deprecated.The number of bytes that were loaded up to the event time.DataSpec
dataSpec
Deprecated.Defines the requested data.long
elapsedRealtimeMs
Deprecated.The value ofSystemClock.elapsedRealtime()
at the time of the load event.long
loadDurationMs
Deprecated.The duration of the load up to the event time.long
loadTaskId
Deprecated.Identifies the load task to which this event corresponds.Map<String,List<String>>
responseHeaders
Deprecated.The response headers associated with the load, or an empty map if unavailable.Uri
uri
Deprecated.TheUri
from which data is being read.
-
Constructor Summary
Constructors Constructor Description LoadEventInfo(long loadTaskId, DataSpec dataSpec, long elapsedRealtimeMs)
Deprecated.LoadEventInfo(long loadTaskId, DataSpec dataSpec, Uri uri, Map<String,List<String>> responseHeaders, long elapsedRealtimeMs, long loadDurationMs, long bytesLoaded)
Deprecated.Creates load event info.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static long
getNewId()
Deprecated.Returns an non-negative identifier which is unique to the JVM instance.
-
-
-
Field Detail
-
loadTaskId
public final long loadTaskId
Deprecated.Identifies the load task to which this event corresponds.
-
dataSpec
public final DataSpec dataSpec
Deprecated.Defines the requested data.
-
uri
public final Uri uri
Deprecated.
-
responseHeaders
public final Map<String,List<String>> responseHeaders
Deprecated.The response headers associated with the load, or an empty map if unavailable.
-
elapsedRealtimeMs
public final long elapsedRealtimeMs
Deprecated.The value ofSystemClock.elapsedRealtime()
at the time of the load event.
-
loadDurationMs
public final long loadDurationMs
Deprecated.The duration of the load up to the event time.
-
bytesLoaded
public final long bytesLoaded
Deprecated.The number of bytes that were loaded up to the event time.
-
-
Constructor Detail
-
LoadEventInfo
public LoadEventInfo(long loadTaskId, DataSpec dataSpec, long elapsedRealtimeMs)
Deprecated.
-
LoadEventInfo
public LoadEventInfo(long loadTaskId, DataSpec dataSpec, Uri uri, Map<String,List<String>> responseHeaders, long elapsedRealtimeMs, long loadDurationMs, long bytesLoaded)
Deprecated.Creates load event info.- Parameters:
loadTaskId
- SeeloadTaskId
.dataSpec
- SeedataSpec
.uri
- Seeuri
.responseHeaders
- SeeresponseHeaders
.elapsedRealtimeMs
- SeeelapsedRealtimeMs
.loadDurationMs
- SeeloadDurationMs
.bytesLoaded
- SeebytesLoaded
.
-
-