Package 

Class ExoPlayerDataSource

  • All Implemented Interfaces:
    com.google.android.exoplayer2.upstream.DataReader , com.google.android.exoplayer2.upstream.DataSource

    
    public final class ExoPlayerDataSource
    extends BaseDataSource
                        

    An ExoPlayer's DataSource which retrieves resources from a Publication.

    • Method Summary

      Modifier and Type Method Description
      Long open(DataSpec dataSpec)
      Integer read(ByteArray target, Integer offset, Integer length)
      Uri getUri()
      Unit close()
      • Methods inherited from class org.readium.navigator.media2.ExoPlayerDataSource

        addTransferListener, bytesTransferred, transferEnded, transferInitializing, transferStarted
      • Methods inherited from class com.google.android.exoplayer2.upstream.BaseDataSource

        getResponseHeaders
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait