Package org.videolan.libvlc.util
Class Dumper
- java.lang.Object
-
- org.videolan.libvlc.util.Dumper
-
public class Dumper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Dumper.Listener
-
Constructor Summary
Constructors Constructor Description Dumper(Uri uri, String filepath, Dumper.Listener listener)
Create a Dumper that will download an Uri into a local filesystem path
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Cancel the dump of the Uri.void
start()
Start to dump
-
-
-
Constructor Detail
-
Dumper
@MainThread public Dumper(Uri uri, String filepath, Dumper.Listener listener)
Create a Dumper that will download an Uri into a local filesystem path- Parameters:
uri
- the Uri to dumpfilepath
- local filesystem path where to dump the Urilistener
- listener in order to be notified when the dump is finished
-
-
Method Detail
-
start
@MainThread public void start()
Start to dump
-
cancel
@MainThread public void cancel()
Cancel the dump of the Uri. Don't call this method if you already received theDumper.Listener.onFinish(boolean)
callback.
-
-