Class AdInsightsUtil
java.lang.Object
com.brightcove.player.analytics.insights.AdInsightsUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAdDisplayContainerShown
(android.view.View adView) Checks if ad view is showed to the user.static double
millisToSeconds
(long milliseconds) Converts milliseconds to seconds.
-
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
-