GfpInterstitialAdManagerBase

전면광고를 처리하는 관리자 클래스의 기본 구현체입니다.

이 클래스는 전면광고의 로딩, 표시, 상태 관리 등의 핵심 기능을 제공합니다. GfpAdLoader 대신 전면광고 구현에 사용되어야 합니다.

기본 사용법:


GfpInterstitialAdManagerBase manager = new GfpInterstitialAdManagerBase(context, adParam);
manager.setAdListener(listener);
manager.loadAd();
// 광고 로드 완료 후
manager.showAd(activity);

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull adParam: AdParam)
GfpInterstitialAdManagerBase 생성자입니다.

Properties

Link copied to clipboard
open var adParam: AdParam

Functions

Link copied to clipboard
open fun destroy()
Destroys the interstitial ad manager and cleans up resources.
Link copied to clipboard
Gets the ad context information after loading the ad.
Link copied to clipboard
Gets the name of the ad provider after loading.
Link copied to clipboard
event id 또는 null (추적중이지 않은 경우)
Link copied to clipboard
Gets the response information after loading the ad.
Link copied to clipboard
Checks if the ad has expired or been invalidated.
Link copied to clipboard
open fun isDestroyed(): Boolean
Link copied to clipboard
open fun isLoaded(): Boolean
Checks if the ad is loaded and ready to be shown.
Link copied to clipboard
open fun loadAd()
Loads an interstitial ad.
Link copied to clipboard
Sets the listener for interstitial ad events.
Link copied to clipboard
open fun setTimeoutMillis(@IntRange(from = 0) timeoutMillis: Long)
Sets the timeout duration for ad loading.
Link copied to clipboard
open fun showAd(@NonNull activity: Activity): Boolean
Shows the loaded interstitial ad.