Class AdInsightsUtil

java.lang.Object
com.brightcove.player.analytics.insights.AdInsightsUtil

@RestrictTo(LIBRARY) public class AdInsightsUtil extends Object
  • Constructor Details

    • AdInsightsUtil

      public AdInsightsUtil()
  • Method Details

    • isAdDisplayContainerShown

      public static boolean isAdDisplayContainerShown(android.view.View adView)
      Checks if ad view is showed to the user.
      Returns:
      - True if ad view is visible to user.
    • millisToSeconds

      public static double millisToSeconds(long milliseconds)
      Converts milliseconds to seconds.
      Parameters:
      milliseconds - the number of milliseconds to convert
      Returns:
      the equivalent value in seconds as a double