Class LevelPlayAdError
Represents an error received from LevelPlay
Inherited Members
Namespace: com.unity3d.mediation
Assembly: Unity.LevelPlay.dll
Syntax
public class LevelPlayAdError
Constructors
LevelPlayAdError(string, int, string)
Initializes a new instance of Level
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 Level
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that contains the error code, message, and advertisement unit identifier. |