docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LevelPlayAdError

    Represents an error received from LevelPlay

    Inheritance
    object
    LevelPlayAdError
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: com.unity3d.mediation
    Assembly: Unity.LevelPlay.dll
    Syntax
    public class LevelPlayAdError

    Constructors

    LevelPlayAdError(string, int, string)

    Initializes a new instance of LevelPlayAdError class with specified details.

    Declaration
    public LevelPlayAdError(string adUnitId, int errorCode, string errorMessage)
    Parameters
    Type Name Description
    string adUnitId

    The advertisement unit identifier.

    int errorCode

    The error code associated with the error.

    string errorMessage

    A message describing the error.

    Properties

    AdUnitId

    Declaration
    public string AdUnitId { get; }
    Property Value
    Type Description
    string

    ErrorCode

    Declaration
    public int ErrorCode { get; }
    Property Value
    Type Description
    int

    ErrorMessage

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    string

    Methods

    ToString()

    Returns a string that represents the current LevelPlayAdError.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that contains the error code, message, and advertisement unit identifier.

    Overrides
    object.ToString()
    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)