C# Class EasyGoogleMobileAds, EasyGoogleMobileAds

Inheritance: MonoBehaviour
Datei anzeigen Open project: jjjuande/EasyGoogleMobileAds Class Usage Examples

Public Properties

Property Type Description
adPosition AdPosition
adSize Sizes,
adUnitID string
adUnitIDAndroid string
adUnitIDIOS string
bannerView GoogleMobileAds.Api.BannerView
customHeight int
customSize bool
customWidth int
editorLanguage Languages,
gender Gender,
keywords string
tagForChildDirectedTreatment TagForChildDirectedTreatment
testDevices List
useEmulatorAsATestDevice bool

Public Methods

Method Description
GetInterstitialManager ( ) : InterstitialManager,
HandleAdClosed ( object sender, EventArgs args ) : void
HandleAdFailedToLoad ( object sender, GoogleMobileAds.Api.AdFailedToLoadEventArgs args ) : void
HandleAdLeftApplication ( object sender, EventArgs args ) : void
HandleAdLoaded ( object sender, EventArgs args ) : void
HandleAdOpened ( object sender, EventArgs args ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
destroyAd ( ) : void
getAdRequest ( ) : AdRequest
getAdSize ( ) : GoogleMobileAds.Api.AdSize

Method Details

GetInterstitialManager() public static method

public static GetInterstitialManager ( ) : InterstitialManager,
return InterstitialManager,

HandleAdClosed() public method

public HandleAdClosed ( object sender, EventArgs args ) : void
sender object
args EventArgs
return void

HandleAdFailedToLoad() public method

public HandleAdFailedToLoad ( object sender, GoogleMobileAds.Api.AdFailedToLoadEventArgs args ) : void
sender object
args GoogleMobileAds.Api.AdFailedToLoadEventArgs
return void

HandleAdLeftApplication() public method

public HandleAdLeftApplication ( object sender, EventArgs args ) : void
sender object
args EventArgs
return void

HandleAdLoaded() public method

public HandleAdLoaded ( object sender, EventArgs args ) : void
sender object
args EventArgs
return void

HandleAdOpened() public method

public HandleAdOpened ( object sender, EventArgs args ) : void
sender object
args EventArgs
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Property Details

adPosition public_oe property

public AdPosition adPosition
return AdPosition

adSize public_oe property

public Sizes, adSize
return Sizes,

adUnitID public_oe property

public string adUnitID
return string

adUnitIDAndroid public_oe property

public string adUnitIDAndroid
return string

adUnitIDIOS public_oe property

public string adUnitIDIOS
return string

bannerView public_oe property

public BannerView,GoogleMobileAds.Api bannerView
return GoogleMobileAds.Api.BannerView

customHeight public_oe property

public int customHeight
return int

customSize public_oe property

public bool customSize
return bool

customWidth public_oe property

public int customWidth
return int

editorLanguage public_oe property

public Languages, editorLanguage
return Languages,

gender public_oe property

public Gender, gender
return Gender,

keywords public_oe property

public string keywords
return string

tagForChildDirectedTreatment public_oe property

public TagForChildDirectedTreatment tagForChildDirectedTreatment
return TagForChildDirectedTreatment

testDevices public_oe property

public List testDevices
return List

useEmulatorAsATestDevice public_oe property

public bool useEmulatorAsATestDevice
return bool