library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/Representation.java
public static SingleSegmentRepresentation newInstance(
        long revisionId,
        Format format,
        String uri,
        long initializationStart,
        long initializationEnd,
        long indexStart,
        long indexEnd,
        List<Descriptor> inbandEventStreams,
        String cacheKey,
        long contentLength) {
      RangedUri rangedUri = new RangedUri(null, initializationStart,
          initializationEnd - initializationStart + 1);
      SingleSegmentBase segmentBase = new SingleSegmentBase(rangedUri, 1, 0, indexStart,
          indexEnd - indexStart + 1);
      return new SingleSegmentRepresentation(
          revisionId, format, uri, segmentBase, inbandEventStreams, cacheKey, contentLength);
    }
/**
     * @param revisionId Identifies the revision of the content.
     * @param format The format of the representation.
     * @param uri The uri of the media.
     * @param initializationStart The offset of the first byte of initialization data.
     * @param initializationEnd The offset of the last byte of initialization data.
     * @param indexStart The offset of the first byte of index data.
     * @param indexEnd The offset of the last byte of index data.
     * @param inbandEventStreams The in-band event streams in the representation. May be null.
     * @param cacheKey An optional key to be returned from {@link #getCacheKey()}, or null.
     * @param contentLength The content length, or {@link C#LENGTH_UNSET} if unknown.
     */
@param revisionId Identifies the revision of the content.
@param format The format of the representation.
@param uri The uri of the media.
@param initializationStart The offset of the first byte of initialization data.
@param initializationEnd The offset of the last byte of initialization data.
@param indexStart The offset of the first byte of index data.
@param indexEnd The offset of the last byte of index data.
@param inbandEventStreams The in-band event streams in the representation. May be null.
@param cacheKey An optional key to be returned from  #getCacheKey(), or null.
@param contentLength The content length, or  C#LENGTH_UNSET if unknown.
@param revisionId Identifies the revision of the content . @param format The format of the representation . @param uri The uri of the media . @param initializationStart The offset of the first byte of initialization data . @param initializationEnd The offset of the last byte of initialization data . @param indexStart The offset of the first byte of index data . @param indexEnd The offset of the last byte of index data . @param inbandEventStreams The in - band event streams in the representation . May be null . @param cacheKey An optional key to be returned from #getCacheKey () or null . @param contentLength The content length or C#LENGTH_UNSET if unknown .
public static SingleSegmentRepresentation newInstance(
        long revisionId,
        Format format,
        String uri,
        long initializationStart,
        long initializationEnd,
        long indexStart,
        long indexEnd,
        List<Descriptor> inbandEventStreams,
        String cacheKey,
        long contentLength) {
      RangedUri rangedUri = new RangedUri(null, initializationStart,
          initializationEnd - initializationStart + 1);
      SingleSegmentBase segmentBase = new SingleSegmentBase(rangedUri, 1, 0, indexStart,
          indexEnd - indexStart + 1);
      return new SingleSegmentRepresentation(
          revisionId, format, uri, segmentBase, inbandEventStreams, cacheKey, contentLength);
    }
public static SingleSegmentRepresentation newInstance ( long revisionId , Format format , String uri , long initializationStart , long initializationEnd , long indexStart , long indexEnd , List < Descriptor > inbandEventStreams , String cacheKey , long contentLength ) { RangedUri rangedUri = new RangedUri ( null , initializationStart , initializationEnd - initializationStart + 1 ) ; SingleSegmentBase segmentBase = new SingleSegmentBase ( rangedUri , 1 , 0 , indexStart , indexEnd - indexStart + 1 ) ; return new SingleSegmentRepresentation ( revisionId , format , uri , segmentBase , inbandEventStreams , cacheKey , contentLength ) ; }
@param revisionId Identifies the revision of the content.
@param revisionId Identifies the revision of the content .