Class Advertisement.Banner
Inheritance
System.Object
Advertisement.Banner
Syntax
public static class Banner
Properties
isLoaded
Declaration
public static bool isLoaded { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Hide(Boolean)
Declaration
public static void Hide(bool destroy = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
destroy |
|
Load()
Declaration
public static void Load()
Load(String)
Declaration
public static void Load(string placementId)
Parameters
| Type |
Name |
Description |
| System.String |
placementId |
|
Load(String, BannerLoadOptions)
Declaration
public static void Load(string placementId, BannerLoadOptions options)
Parameters
Load(BannerLoadOptions)
Declaration
public static void Load(BannerLoadOptions options)
Parameters
SetPosition(BannerPosition)
Declaration
public static void SetPosition(BannerPosition position)
Parameters
Show()
Shows the banner with the default placement ID and no callbacks.
Declaration
public static void Show()
Show(String)
Shows the banner with the givden placement ID and no callbacks.
and name="hideCallback" on hide.
Declaration
public static void Show(string placementId)
Parameters
| Type |
Name |
Description |
| System.String |
placementId |
|
Show(String, BannerOptions)
Declaration
public static void Show(string placementId, BannerOptions options)
Parameters
| Type |
Name |
Description |
| System.String |
placementId |
|
| BannerOptions |
options |
|
Show(BannerOptions)
Shows the banner with the default placement ID and will fire the callback name="showCallback" on show,
and name="hideCallback" on hide.
Declaration
public static void Show(BannerOptions options)
Parameters