toggle menu
library-core
8.1.0
androidJvm
switch theme
search in API
library-core
/
com.naver.gfpsdk
/
GfpInterstitialAdManager
Gfp
Interstitial
Ad
Manager
open
class
GfpInterstitialAdManager
:
GfpInterstitialAd
To apply interstitial ad, you should use this manager (not a GfpAdLoader)
Members
Constructors
Gfp
Interstitial
Ad
Manager
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
,
@
NonNull
adParam
:
AdParam
)
Properties
ad
Param
Link copied to clipboard
open
var
adParam
:
AdParam
Functions
destroy
Link copied to clipboard
open
fun
destroy
(
)
destroy ad
get
Ad
Provider
Name
Link copied to clipboard
open
fun
getAdProviderName
(
)
:
String
get
Response
Info
Link copied to clipboard
open
fun
getResponseInfo
(
)
:
GfpResponseInfo
is
Ad
Invalidated
Link copied to clipboard
open
fun
isAdInvalidated
(
)
:
Boolean
Some ad provider gives expire time and validation.
is
Loaded
Link copied to clipboard
open
fun
isLoaded
(
)
:
Boolean
load
Ad
Link copied to clipboard
open
fun
loadAd
(
)
Load an ad
set
Ad
Listener
Link copied to clipboard
open
fun
setAdListener
(
listener
:
InterstitialAdListener
)
set
Timeout
Millis
Link copied to clipboard
open
fun
setTimeoutMillis
(
timeoutMillis
:
Long
)
show
Ad
Link copied to clipboard
open
fun
showAd
(
@
NonNull
activity
:
Activity
)
:
Boolean
Please do not call this method twice after loading.