Class HlsInterstitialListener

java.lang.Object
com.castlabs.android.player.HlsInterstitialListener

public abstract class HlsInterstitialListener extends Object
Abstract class that provides a listener interface for HLS interstitial events. This class allows clients to receive notifications when HLS interstitial content is resolved.
  • Constructor Details

    • HlsInterstitialListener

      public HlsInterstitialListener()
      Default constructor for HlsInterstitialListener
  • Method Details

    • onInterstitialResolved

      public abstract void onInterstitialResolved(HlsInterstitial interstitial, Collection<HlsInterstitial.Asset> assets)
      Called when an HLS interstitial is resolved.
      Parameters:
      interstitial - The resolved interstitial
      assets - The collection of assets associated with the interstitial