Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Advertisement/BannerLoadOptions.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

22 lines
746 B
C#

namespace UnityEngine.Advertisements
{
/// <summary>
/// Pass these options back to the SDK to notify it of events when loading the banner.
/// </summary>
public class BannerLoadOptions
{
public delegate void LoadCallback();
public delegate void ErrorCallback(string message);
/// <summary>
/// This callback fires when the banner loads successfully and is available to show.
/// </summary>
public LoadCallback loadCallback { get; set; }
/// <summary>
/// This callback fires when an error occurs while loading the banner. If invoked, assume that the banner did not load.
/// </summary>
public ErrorCallback errorCallback { get; set; }
}
}