Class IPTVComponent
- java.lang.Object
-
- com.castlabs.android.exoplayer2.ext.amlnativeplayer.IPTVComponent
-
- All Implemented Interfaces:
PlayerControllerPlugin.Component
public class IPTVComponent extends Object implements PlayerControllerPlugin.Component
IPTV Clear Player component. To get an instance of this class, usePlayerController.getComponent(Class).
-
-
Constructor Summary
Constructors Constructor Description IPTVComponent(IPTVPlayerPlugin iptvPlayerPluginWeakReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Classid()voidonDestroy(PlayerController playerController)voidonOpenBundle(PlayerController playerController, Bundle bundle)voidonOpenState(PlayerController playerController, PlayerConfig playerConfig)voidsetEventDispatcher(com.google.android.exoplayer2.analytics.IptvAnalyticsListener.EventDispatcher eventDispatcher)Sets theIptvAnalyticsListenerEvent Dispatcher for the IPTV Plugin.
-
-
-
Constructor Detail
-
IPTVComponent
public IPTVComponent(IPTVPlayerPlugin iptvPlayerPluginWeakReference)
-
-
Method Detail
-
setEventDispatcher
public void setEventDispatcher(@Nullable com.google.android.exoplayer2.analytics.IptvAnalyticsListener.EventDispatcher eventDispatcher)Sets theIptvAnalyticsListenerEvent Dispatcher for the IPTV Plugin.
-
id
@NonNull public Class id()
- Specified by:
idin interfacePlayerControllerPlugin.Component
-
onDestroy
public void onDestroy(@NonNull PlayerController playerController)- Specified by:
onDestroyin interfacePlayerControllerPlugin.Component
-
onOpenBundle
public void onOpenBundle(@NonNull PlayerController playerController, @NonNull Bundle bundle)- Specified by:
onOpenBundlein interfacePlayerControllerPlugin.Component
-
onOpenState
public void onOpenState(PlayerController playerController, PlayerConfig playerConfig)
- Specified by:
onOpenStatein interfacePlayerControllerPlugin.Component
-
-