Class 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 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.
        The Uri from which data is being read. The uri will be identical to the one in dataSpec.uri unless redirection has occurred. If redirection has occurred, this is the uri after redirection.
      • responseHeaders

        public final Map<String,​List<String>> responseHeaders
        Deprecated.
        The response headers associated with the load, or an empty map if unavailable.
      • 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.
    • Method Detail

      • getNewId

        public static long getNewId()
        Deprecated.
        Returns an non-negative identifier which is unique to the JVM instance.