docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ILevelPlayBannerAd

    Defines the interface for banner ads in the LevelPlay mediation system.

    Inherited Members
    IDisposable.Dispose()
    Namespace: com.unity3d.mediation
    Assembly: Unity.LevelPlay.dll
    Syntax
    public interface ILevelPlayBannerAd : IDisposable

    Methods

    DestroyAd()

    Destroys the banner ad and releases resources.

    Declaration
    void DestroyAd()

    GetAdSize()

    Retrieves the size of the ad.

    Declaration
    LevelPlayAdSize GetAdSize()
    Returns
    Type Description
    LevelPlayAdSize

    GetAdUnitId()

    Gets the ad unit ID associated with this ad.

    Declaration
    string GetAdUnitId()
    Returns
    Type Description
    string

    GetPlacementName()

    Retrieves the placement name associated with this ad.

    Declaration
    string GetPlacementName()
    Returns
    Type Description
    string

    GetPosition()

    Retrieves the position of the banner ad.

    Declaration
    LevelPlayBannerPosition GetPosition()
    Returns
    Type Description
    LevelPlayBannerPosition

    HideAd()

    Hides the banner ad from the user.

    Declaration
    void HideAd()

    LoadAd()

    Loads the banner ad.

    Declaration
    void LoadAd()

    PauseAutoRefresh()

    Pauses the auto-refreshing of the banner ad.

    Declaration
    void PauseAutoRefresh()

    ResumeAutoRefresh()

    Resumes the auto-refreshing of the banner ad that was previously paused.

    Declaration
    void ResumeAutoRefresh()

    ShowAd()

    Displays the banner ad to the user.

    Declaration
    void ShowAd()

    Events

    OnAdClicked

    Declaration
    event Action<LevelPlayAdInfo> OnAdClicked
    Event Type
    Type Description
    Action<LevelPlayAdInfo>

    OnAdCollapsed

    Declaration
    event Action<LevelPlayAdInfo> OnAdCollapsed
    Event Type
    Type Description
    Action<LevelPlayAdInfo>

    OnAdDisplayFailed

    Declaration
    event Action<LevelPlayAdDisplayInfoError> OnAdDisplayFailed
    Event Type
    Type Description
    Action<LevelPlayAdDisplayInfoError>

    OnAdDisplayed

    Declaration
    event Action<LevelPlayAdInfo> OnAdDisplayed
    Event Type
    Type Description
    Action<LevelPlayAdInfo>

    OnAdExpanded

    Declaration
    event Action<LevelPlayAdInfo> OnAdExpanded
    Event Type
    Type Description
    Action<LevelPlayAdInfo>

    OnAdLeftApplication

    Declaration
    event Action<LevelPlayAdInfo> OnAdLeftApplication
    Event Type
    Type Description
    Action<LevelPlayAdInfo>

    OnAdLoadFailed

    Declaration
    event Action<LevelPlayAdError> OnAdLoadFailed
    Event Type
    Type Description
    Action<LevelPlayAdError>

    OnAdLoaded

    Declaration
    event Action<LevelPlayAdInfo> OnAdLoaded
    Event Type
    Type Description
    Action<LevelPlayAdInfo>
    In This Article
    Back to top
    Copyright © 2024 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)