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