Firstborn/Library/PackageCache/com.unity.ads@4.4.2/Runtime/Advertisement/BannerOptions.cs

28 lines
804 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System;
namespace UnityEngine.Advertisements
{
/// <summary>
/// Pass these options back to the SDK to notify it of events when displaying the banner.
/// </summary>
public class BannerOptions
{
public delegate void BannerCallback();
/// <summary>
/// This callback fires when the banner is visible to the user.
/// </summary>
public BannerCallback showCallback { get; set; }
/// <summary>
/// This callback fires when the banner is hidden from the user.
/// </summary>
public BannerCallback hideCallback { get; set; }
/// <summary>
/// This callback fires when the banner is clicked by the user.
/// </summary>
public BannerCallback clickCallback { get; set; }
}
}