com.bumptech.glide.load.model
Class ImageVideoWrapper

java.lang.Object
  extended by com.bumptech.glide.load.model.ImageVideoWrapper

public class ImageVideoWrapper
extends Object

A simple wrapper that wraps an InputStream and/or an ParcelFileDescriptor.


Constructor Summary
ImageVideoWrapper(InputStream streamData, ParcelFileDescriptor fileDescriptor)
           
 
Method Summary
 ParcelFileDescriptor getFileDescriptor()
           
 InputStream getStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageVideoWrapper

public ImageVideoWrapper(InputStream streamData,
                         ParcelFileDescriptor fileDescriptor)
Method Detail

getStream

public InputStream getStream()

getFileDescriptor

public ParcelFileDescriptor getFileDescriptor()