C# Class AvocarrotInterstitial, unity-demo-app

Exibir arquivo Open project: Avocarrot/unity-demo-app Class Usage Examples

Public Properties

Property Type Description
onAdClickedEvent Action
onAdDismissedEvent Action
onAdDisplayedEvent Action
onAdErrorEvent Action
onAdLoadedEvent Action

Public Methods

Method Description
AvocarrotInterstitial ( string apiKey, string placement ) : System
loadAd ( ) : void
loadAndShowAd ( ) : void
setLogger ( bool logger ) : void
setSandbox ( bool sandbox ) : void
showAd ( ) : bool

Method Details

AvocarrotInterstitial() public method

public AvocarrotInterstitial ( string apiKey, string placement ) : System
apiKey string
placement string
return System

loadAd() public method

public loadAd ( ) : void
return void

loadAndShowAd() public method

public loadAndShowAd ( ) : void
return void

setLogger() public method

public setLogger ( bool logger ) : void
logger bool
return void

setSandbox() public method

public setSandbox ( bool sandbox ) : void
sandbox bool
return void

showAd() public method

public showAd ( ) : bool
return bool

Property Details

onAdClickedEvent public_oe property

public Action onAdClickedEvent
return Action

onAdDismissedEvent public_oe property

public Action onAdDismissedEvent
return Action

onAdDisplayedEvent public_oe property

public Action onAdDisplayedEvent
return Action

onAdErrorEvent public_oe property

public Action onAdErrorEvent
return Action

onAdLoadedEvent public_oe property

public Action onAdLoadedEvent
return Action