BaseInStreamAdManager

abstract class BaseInStreamAdManager(context: Context, adParamArg: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout?, linearAdType: LinearAdType = LinearAdType.PRE_ROLL, playTimeOffsetMillis: Long = 0) : GfpVideoAd

Constructors

Link copied to clipboard
constructor(context: Context, adParamArg: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout?, linearAdType: LinearAdType = LinearAdType.PRE_ROLL, playTimeOffsetMillis: Long = 0)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
fun interface OnStartListener

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun adClicked()

동영상 광고 클릭시.

Link copied to clipboard

동영상 광고 재생 완료시.

Link copied to clipboard
fun adError(error: GfpError)

동영상 광고가 로드된 이후에 에러 발생시.

Link copied to clipboard
fun adPaused()

동영상 광고 재생 Paused

Link copied to clipboard
fun adResumed()

동영상 광고 재생 Resumed

Link copied to clipboard
fun adSkipped()

동영상 광고 재생 Skipped

Link copied to clipboard
fun adStarted()

동영상 광고 재생 시작시.

Link copied to clipboard
fun changedState(stateLog: StateLogCreator.StateLog?)

Status 변경이 발생시.

Link copied to clipboard
open override fun clickVideoAd()

Clicks on the button

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

동영상 광고 로드 실패시.

Link copied to clipboard
fun failedToLog(url: String?, errorMessage: String?)

log event 실패시.

Link copied to clipboard
open override fun getAdParam(): AdParam

Returns a AdParam used to request advertising

Link copied to clipboard
open override fun getAdProviderName(): String?

Returns the ad provider's name for the loaded ad. Returns null until the ad successfully loads.

Link copied to clipboard
open override fun getAdQoeInfo(): GfpVideoAdQoeInfo?

Returns the quality of experience.

Link copied to clipboard
open override fun getLoudnessInfo(): String?

Returns the loudness information

Link copied to clipboard
abstract fun getMutableParam(): VideoAdMutableParam
Link copied to clipboard
open override fun getNonLinearAdInfo(): NonLinearAdInfo?

Returns the information of the non linear ad.

Link copied to clipboard
open override fun getNoticeDurationMillis(): Long

Return the reminder phrase time offset of the mid term ad

Link copied to clipboard
open override fun getResponseInfo(): GfpResponseInfo?

Returns the GfpResponseInfo object for the loaded ad. Returns null until the ad successfully loads.

Link copied to clipboard
open override fun getTimeOffsetMillis(): Long

Returns the current time of linear video ad in milliseconds

Link copied to clipboard
Link copied to clipboard
open override fun getVideoMediaInfo(): VideoMediaInfo?

Returns the media information of the linear ad.

Link copied to clipboard
open override fun hideOverlayUi()

Hides the overlay ui of the video ad.

Link copied to clipboard
open fun loadAd()
Link copied to clipboard
open override fun pause()

Pauses the video ad.

Link copied to clipboard
open override fun resume()

Resumes the video ad.

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

광고 컨테이너 변경 (PIP <-> END <-> AUDIO 등)

Link copied to clipboard

광고 listener 등록

Link copied to clipboard
fun setEventUrlLogListener(eventUrlLogListener: EventUrlLogListener?)

tivan EventUrlLogListener 설정.

Link copied to clipboard
abstract fun setGfpVideoProperties(gfpVideoProperties: <Error class: unknown class>?)
Link copied to clipboard
fun setNoticeDurationMillis(noticeDurationMillis: Long)
Link copied to clipboard
Link copied to clipboard

광고 QoE listener 등록

Link copied to clipboard
fun setStateLogListener(stateLogListener: StateLogListener?)

Status log listener 설정.

Link copied to clipboard
fun setVideoAdOptions(videoAdOptions: GfpVideoAdOptions?)

비디오 광고의 렌더링 옵션을 셋팅한다.

Link copied to clipboard
open override fun showNonLinearAd(containerType: GfpNonLinearAdView.ContainerType?)

Shows the non linear ad.

Link copied to clipboard
open override fun showOverlayUi()

Shows the overlay ui of the video ad.

Link copied to clipboard
open override fun skip()

Skips the video ad.

Link copied to clipboard
open override fun start(enabled: Boolean)

Starts playing the video ad.

Link copied to clipboard

동영상 광고 로드 성공시.

Link copied to clipboard
fun successToLog(url: String?)

log event 성공시.