Package com.igrium.videolib.dummy
Class DummyVideoManager.DummyVideoHandle
java.lang.Object
com.igrium.videolib.dummy.DummyVideoManager.DummyVideoHandle
- All Implemented Interfaces:
VideoHandle
- Enclosing class:
- DummyVideoManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.igrium.videolib.api.VideoHandle
VideoHandle.FileVideoHandle, VideoHandle.UrlVideoHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an accessible URL that can be passed directly to a playback implementation.Open an input stream with the contents of this video file.
-
Constructor Details
-
DummyVideoHandle
public DummyVideoHandle()
-
-
Method Details
-
getAddress
Description copied from interface:VideoHandle
Get an accessible URL that can be passed directly to a playback implementation.- Specified by:
getAddress
in interfaceVideoHandle
- Returns:
- The address, or an empty optional if this video can only be accessed
through the handle's
openStream
function.
-
openStream
Description copied from interface:VideoHandle
Open an input stream with the contents of this video file.- Specified by:
openStream
in interfaceVideoHandle
- Returns:
- The input stream.
- Throws:
IOException
- If the stream cannot be opened.
-