docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BannerOptions

    Pass these options back to the SDK to notify it of events when displaying the banner.

    Inheritance
    object
    BannerOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Advertisements
    Assembly: UnityEngine.Advertisements.dll
    Syntax
    public class BannerOptions

    Properties

    clickCallback

    This callback fires when the banner is clicked by the user.

    Declaration
    public BannerOptions.BannerCallback clickCallback { get; set; }
    Property Value
    Type Description
    BannerOptions.BannerCallback

    hideCallback

    This callback fires when the banner is hidden from the user.

    Declaration
    public BannerOptions.BannerCallback hideCallback { get; set; }
    Property Value
    Type Description
    BannerOptions.BannerCallback

    showCallback

    This callback fires when the banner is visible to the user.

    Declaration
    public BannerOptions.BannerCallback showCallback { get; set; }
    Property Value
    Type Description
    BannerOptions.BannerCallback
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)