GfpVideoAdScheduleManager

class GfpVideoAdScheduleManager(context: Context, adScheduleParam: VideoAdScheduleParam, adParam: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout)

Constructors

Link copied to clipboard
constructor(context: Context, adScheduleParam: VideoAdScheduleParam, adParam: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var gfpVideoProperties: <Error class: unknown class>?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun adError(ad: GfpVideoAd, error: GfpError)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

CTA button is clicked

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun destroy()

destroy schedule processor

Link copied to clipboard

hide overlay UI in Linear ad

Link copied to clipboard

hide NonLinear(banner or text) ad

Link copied to clipboard
fun load()

load schedule and then load video ad

Link copied to clipboard
fun loadWithAdSchedule(adScheduleResponse: VideoScheduleResponse)

load schedule with custom response

Link copied to clipboard
fun pause()

pause processing schedule and video ad

Link copied to clipboard
fun resume()

resume processing schedule and video ad

Link copied to clipboard
fun setAdContainer(adContainer: FrameLayout)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setAdvertiseParams(advertiseParams: String?)

Should pass a JSON String which is came from NTV share api. From 'shareAdvertiseParams', overwrite this constructor's parameters - VideoAdScheduleParam - AdParam

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

show overlay UI in Linear ad

Link copied to clipboard

show NonLinear(banner or text) ad

Link copied to clipboard
fun skip()

skip current video ad