Package com.igrium.videolib.dummy
Class DummyVideoManager.DummyVideoHandleFactory
java.lang.Object
com.igrium.videolib.dummy.DummyVideoManager.DummyVideoHandleFactory
- All Implemented Interfaces:
VideoHandleFactory
- Enclosing class:
- DummyVideoManager
public static class DummyVideoManager.DummyVideoHandleFactory
extends Object
implements VideoHandleFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVideoHandle
(URL url) Get a video handle from a URL.getVideoHandle
(net.minecraft.util.Identifier id) Get a video handle from an identifier.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.igrium.videolib.api.VideoHandleFactory
getVideoHandle
-
Constructor Details
-
DummyVideoHandleFactory
public DummyVideoHandleFactory()
-
-
Method Details
-
getVideoHandle
Description copied from interface:VideoHandleFactory
Get a video handle from an identifier.- Specified by:
getVideoHandle
in interfaceVideoHandleFactory
- Parameters:
id
- The identifier.- Returns:
- The handle, or
null
if no video by this ID exists.
-
getVideoHandle
Description copied from interface:VideoHandleFactory
Get a video handle from a URL.- Specified by:
getVideoHandle
in interfaceVideoHandleFactory
- Parameters:
url
- The URL.- Returns:
- The handle.
-