Package-level declarations

Types

Link copied to clipboard
class ErrorReportBuilder(maxHTTPResponses: Int = 10) : HTTPInterceptor

ErrorReportBuilder provides extra error details that can be send when reporting an error.

Properties

Link copied to clipboard
const val SGAI_AD_TYPE: String

The ad technology reported to Conviva for THEOads (SGAI). SGAI isn't officially supported by Conviva yet, so we report it with our own string for now.

Functions

Link copied to clipboard
Link copied to clipboard
fun calculateAdType(ad: Ad): ConvivaSdkConstants.AdType
fun calculateAdType(adBreak: AdBreak): ConvivaSdkConstants.AdType
Link copied to clipboard
Link copied to clipboard

Calculate length of current buffer. Only take into account the buffered range around the currentTime.

Link copied to clipboard
fun calculateCurrentAdBreakInfo(adBreak: AdBreak, adBreakIndex: Int): Map<String, Any>
Link copied to clipboard
Link copied to clipboard
fun calculateInterstitialAdBreakInfo(interstitial: Interstitial, adBreakIndex: Int): Map<String, Any>
Link copied to clipboard
fun calculateStreamType(player: Player): ConvivaSdkConstants.StreamType?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getHeaderValue(headers: Map<String, String>, key: String): String