Package-level declarations

Types

Link copied to clipboard

AdManagerStreamingSettings class used to set up AdStreamManager.
adPlayerInstance: AdPlayer instance in case you use your own player
enqueueEnabled: if player enqueue is enabled or disabled
videoViewId: id of AdVideoView in case of video ads
dvrEnabled: enable or disable dvr
automaticallySecureConnectionForAdURL: enable or disable replacing Ad URL Http protocol
automaticallyManageAudioFocus: instructs the internal AdPlayer to automatically manage AudioFocus

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AdStreamDVRMetadata(@Json(name = "buffer-info") val bufferInfo: DvrBufferInfo)
Link copied to clipboard
abstract class AdStreamManager

AdStreamManager is the base class for all stream managers. It defines a listener interface and the minimum functions needed for a stream manager to operate

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class DvrBufferInfo(@Json(name = "max-buffer-size") val maxBufferSize: Long, val start: Long, val latest: Long)