/// Returns <c>true</c> if the SDK is supported on the current platform, and <c>false</c> if it isn't.
/// </summary>
publicstaticboolisSupported=>IsSupported();
/// <summary>
/// Returns <c>true</c> if the SDK is is in debug mode, and <c>false</c> if it isn't. Debug mode controls the level of logging from the SDK.
/// </summary>
publicstaticbooldebugMode
{
get=>s_Platform.DebugMode;
set=>s_Platform.DebugMode=value;
}
/// <summary>
/// Returns the current SDK version.
/// </summary>
publicstaticstringversion=>s_Platform.Version;
/// <summary>
/// Returns <c>true</c> if an ad is currently showing, and <c>false</c> if it isn't.
/// </summary>
publicstaticboolisShowing=>s_Platform.IsShowing;
/// <summary>
/// Initializes the SDK with a specified <a href="../manual/MonetizationResourcesDashboardGuide.html#project-settings">Game ID</a>.
/// </summary>
/// <param name="gameId">The platform-specific Unity game identifier for your Project, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// Initializes the SDK with a specified Game ID and test mode setting.
/// </summary>
/// <param name="gameId">The platform-specific Unity game identifier for your Project, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="testMode"><a href="../manual/MonetizationResourcesDashboardGuide.html#project-settings">Test mode</a> allows you to test your integration without serving live ads. Use <c>true</c> to initialize in test mode.</param>
/// Initializes the SDK with a specified Game ID, test mode setting, and Placement load setting.
/// </summary>
/// <param name="gameId">The platform-specific Unity <a href="../manual/MonetizationResourcesDashboardGuide.html#project-settings">game identifier</a> for your Project, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="testMode"><a href="../manual/MonetizationResourcesDashboardGuide.html#project-settings">Test mode</a> allows you to test your integration without serving live ads. Use <c>true</c> to initialize in test mode.</param>
/// <param name="initializationListener">Listener for IUnityAdsInitializationListener callbacks</param>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="loadListener">A listener for <c>IUnityAdsLoadListener</c> callbacks</param>
/// Displays an ad in a specified <a href="../manual/MonetizationPlacements.html">Placement</a> if it is ready.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// Displays an ad in a specified <a href="../manual/MonetizationPlacements.html">Placement</a> if it is ready.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="showListener">A listener for <c>IUnityAdsShowListener</c> callbacks</param>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// Loads the banner ad with the default <a href="../manual/MonetizationPlacements.html">Placement</a>, and no callbacks.
/// </summary>
publicstaticvoidLoad()
{
Load(null,null);
}
/// <summary>
/// Loads the banner ad with the default <a href="../manual/MonetizationPlacements.html">Placement</a>, but fires the <c>loadCallback</c> callback on successful load, and the <c>errorCallback</c> callback on failure to load.
/// </summary>
/// <param name="options">A collection of options that notify the SDK of events when loading the banner.</param>
publicstaticvoidLoad(BannerLoadOptionsoptions)
{
Load(null,options);
}
/// <summary>
/// Loads the banner ad with a specified <a href="../manual/MonetizationPlacements.html">Placement</a>, and no callbacks.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
publicstaticvoidLoad(stringplacementId)
{
Load(placementId,null);
}
/// <summary>
/// Loads the banner ad with a specified <a href="../manual/MonetizationPlacements.html">Placement</a>, but fires the <c>loadCallback</c> callback on successful load, and the <c>errorCallback</c> callback on failure to load.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="options">A collection of options that notify the SDK of events when loading the banner.</param>
/// Displays the banner ad with a specified <a href="../manual/MonetizationPlacements.html">Placement</a>, and no callbacks.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
publicstaticvoidShow(stringplacementId)
{
Show(placementId,null);
}
/// <summary>
/// Displays the banner ad with a specified <a href="../manual/MonetizationPlacements.html">Placement</a>, but fires the <c>showCallback</c> callback if the banner is visible, and the <c>hideCallback</c> if it isn't.
/// </summary>
/// <param name="placementId">The unique identifier for a specific Placement, found on the <a href="https://operate.dashboard.unity3d.com/">developer dashboard</a>.</param>
/// <param name="options">A collection of options that notify the SDK of events when displaying the banner.</param>
/// Allows you to hide a banner ad, instead of destroying it altogether.
/// </summary>
publicstaticvoidHide(booldestroy=false)
{
s_Platform.Banner.Hide(destroy);
}
/// <summary>
/// <para>Sets the position of the banner ad, using the <a href="../api/UnityEngine.Advertisements.BannerPosition.html"><c>BannerPosition</c></a> enum.</para>
/// <para>Banner position defaults to <c>BannerPosition.BOTTOM_CENTER</c>.</para>
/// </summary>
/// <param name="position">An enum representing the on-screen anchor position of the banner ad.</param>