Interface VideoPlayerProvider
-
- All Implemented Interfaces:
-
kotlin.Comparable
public interface VideoPlayerProvider implements Comparable<VideoPlayerProvider>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVideoPlayerProvider.Companion
-
Method Summary
Modifier and Type Method Description abstract VideoPlayercreate(Context context)subclass should implement this to create a player instance. IntegercompareTo(VideoPlayerProvider other)abstract StringgetName()unique name for your player. abstract IntegergetPriority()priority of your player. abstract VideoCacheManagergetCacheManager()a VideoCacheManager instance to control cache of your player (if exists). -
-
Method Detail
-
create
abstract VideoPlayer create(Context context)
subclass should implement this to create a player instance.
-
compareTo
Integer compareTo(VideoPlayerProvider other)
-
getPriority
abstract Integer getPriority()
priority of your player. lower value comes first.
-
getCacheManager
abstract VideoCacheManager getCacheManager()
a VideoCacheManager instance to control cache of your player (if exists).
-
-
-
-