public class MainPlayerFactory extends java.lang.Object implements GfycatPlayerFactory
GfycatPlayerFactory.
By default will look for com.gfycat.webp.GfycatWebpPlayerFactory in classpath. As fallback will look for com.gfycat.gif.GfycatGifPlayerFactory in classpath.
| Constructor and Description |
|---|
MainPlayerFactory() |
| Modifier and Type | Method and Description |
|---|---|
GfycatPlayer |
create(android.content.Context context)
|
static GfycatPlayerFactory |
get()
Return current version of GfycatPlayerFactory.
|
static void |
setup(GfycatPlayerFactory delegate)
Setup desired
GfycatPlayerFactory class. |
public static void setup(GfycatPlayerFactory delegate)
GfycatPlayerFactory class.public static GfycatPlayerFactory get()
public GfycatPlayer create(android.content.Context context)
create in interface GfycatPlayerFactory