docs: public Producer<CloseableReference<PooledByteBuffer>> getEncodedImageProducerSequence(
        ImageRequest imageRequest) {
      try {
        if (FrescoSystrace.isTracing()) {
          FrescoSystrace.beginSection("ProducerSequenceFactory#getEncodedImageProducerSequence");
        }
        validateEncodedImageRequest(imageRequest);
        final Uri uri = imageRequest.getSourceUri();
  
        switch (imageRequest.getSourceUriType()) {
          case SOURCE_TYPE_NETWORK:
            return getNetworkFetchEncodedImageProducerSequence();
          case SOURCE_TYPE_LOCAL_VIDEO_FILE:
          case SOURCE_TYPE_LOCAL_IMAGE_FILE:
            return getLocalFileFetchEncodedImageProducerSequence();
          default:
            throw new IllegalArgumentException(
                "Unsupported uri scheme for encoded image fetch! Uri is: "
                    + getShortenedUriString(uri));
        }
      } finally {
        if (FrescoSystrace.isTracing()) {
          FrescoSystrace.endSection();
        }
      }
    }