NendUnityPlugin 5.2.0
Public Member Functions | Properties | Events | List of all members
NendUnityPlugin.AD.NendAdInterstitial Class Reference

Interstitial ad. More...

Inherits MonoBehaviour.

Public Member Functions

void Load (int spotID, string apiKey)
 Load interstitial ad. More...
 
void Show ()
 Show interstitial ad. More...
 
void Show (int spotID)
 Show interstitial ad on specific ad space. More...
 
void Dismiss ()
 Dismiss interstitial ad from the screen.
 

Properties

static NendAdInterstitial Instance [get]
 Gets the instance. More...
 
bool IsAutoReloadEnabled [get, set]
 Gets or sets a value indicating whether this instance is auto reload enabled. More...
 

Events

EventHandler< NendAdInterstitialLoadEventArgsAdLoaded
 Occurs when ad loaded. More...
 
EventHandler< NendAdInterstitialClickEventArgsAdClicked
 Occurs when ad clicked. More...
 
EventHandler< NendAdInterstitialShowEventArgsAdShown
 Occurs when ad is being displayed. More...
 

Detailed Description

Interstitial ad.

Member Function Documentation

◆ Load()

void NendUnityPlugin.AD.NendAdInterstitial.Load ( int  spotID,
string  apiKey 
)

Load interstitial ad.

Parameters
apiKeyAPI key.
spotIDSpot id.

◆ Show() [1/2]

void NendUnityPlugin.AD.NendAdInterstitial.Show ( )

Show interstitial ad.

Note
Show interstitial ad to the ad space which is loaded at last.

◆ Show() [2/2]

void NendUnityPlugin.AD.NendAdInterstitial.Show ( int  spotID)

Show interstitial ad on specific ad space.

Parameters
spotIDSpot id.

Property Documentation

◆ Instance

NendAdInterstitial NendUnityPlugin.AD.NendAdInterstitial.Instance
staticget

Gets the instance.

Returns
This instance.
Warning
When GameObject that added a NendAdInterstitial is not loaded, it returns null.

◆ IsAutoReloadEnabled

bool NendUnityPlugin.AD.NendAdInterstitial.IsAutoReloadEnabled
getset

Gets or sets a value indicating whether this instance is auto reload enabled.

true if this instance is auto reload enabled; otherwise, false.

Event Documentation

◆ AdLoaded

EventHandler<NendAdInterstitialLoadEventArgs> NendUnityPlugin.AD.NendAdInterstitial.AdLoaded

◆ AdClicked

EventHandler<NendAdInterstitialClickEventArgs> NendUnityPlugin.AD.NendAdInterstitial.AdClicked

Occurs when ad clicked.

See also
NendUnityPlugin.AD.NendAdInterstitialClickEventArgs

◆ AdShown

EventHandler<NendAdInterstitialShowEventArgs> NendUnityPlugin.AD.NendAdInterstitial.AdShown

Occurs when ad is being displayed.

See also
NendUnityPlugin.AD.NendAdInterstitialShowEventArgs

The documentation for this class was generated from the following file: