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()
void
onDestroy
(PlayerController playerController) void
onOpenBundle
(PlayerController playerController, Bundle bundle) void
onOpenState
(PlayerController playerController, PlayerConfig playerConfig) void
setEventDispatcher
(com.google.android.exoplayer2.analytics.IptvAnalyticsListener.EventDispatcher eventDispatcher) Sets theIptvAnalyticsListener
Event Dispatcher for the IPTV Plugin.void
setTransferListener
(com.google.android.exoplayer2.upstream.TransferListener transferListener) Sets theTransferListener
for the IPTV Plugin DataSource.
-
Constructor Details
-
IPTVComponent
-
-
Method Details
-
setEventDispatcher
public void setEventDispatcher(@Nullable com.google.android.exoplayer2.analytics.IptvAnalyticsListener.EventDispatcher eventDispatcher) Sets theIptvAnalyticsListener
Event Dispatcher for the IPTV Plugin. -
setTransferListener
public void setTransferListener(@Nullable com.google.android.exoplayer2.upstream.TransferListener transferListener) Sets theTransferListener
for the IPTV Plugin DataSource. -
id
- Specified by:
id
in interfacePlayerControllerPlugin.Component
-
onDestroy
- Specified by:
onDestroy
in interfacePlayerControllerPlugin.Component
-
onOpenBundle
- Specified by:
onOpenBundle
in interfacePlayerControllerPlugin.Component
-
onOpenState
- Specified by:
onOpenState
in interfacePlayerControllerPlugin.Component
-