Class IPTVComponent
java.lang.Object
com.castlabs.android.exoplayer2.ext.amlnativeplayer.IPTVComponent
- All Implemented Interfaces:
PlayerControllerPlugin.Component
IPTV Clear Player component.
To get an instance of this class, use
PlayerController.getComponent(Class).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()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.voidsetTransferListener(com.google.android.exoplayer2.upstream.TransferListener transferListener) Sets theTransferListenerfor the IPTV Plugin DataSource.
-
Constructor Details
-
IPTVComponent
-
-
Method Details
-
setEventDispatcher
public void setEventDispatcher(@Nullable com.google.android.exoplayer2.analytics.IptvAnalyticsListener.EventDispatcher eventDispatcher) Sets theIptvAnalyticsListenerEvent Dispatcher for the IPTV Plugin. -
setTransferListener
public void setTransferListener(@Nullable com.google.android.exoplayer2.upstream.TransferListener transferListener) Sets theTransferListenerfor the IPTV Plugin DataSource. -
id
- Specified by:
idin interfacePlayerControllerPlugin.Component
-
onDestroy
- Specified by:
onDestroyin interfacePlayerControllerPlugin.Component
-
onOpenBundle
- Specified by:
onOpenBundlein interfacePlayerControllerPlugin.Component
-
onOpenState
- Specified by:
onOpenStatein interfacePlayerControllerPlugin.Component
-