SquareDash/Library/PackageCache/com.unity.services.mediation@1.0.5/Runtime/Api/Public/LoadError.cs
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01:00

55 lines
1.7 KiB
C#

namespace Unity.Services.Mediation
{
/// <summary>
/// Enum for Mediation SDK load error codes to be surfaced to the developer.<para/>
///
/// <para>NoFill: Error that occurs when the sdk fails to load an ad for an entire waterfall. </para>
///
/// <para>NetworkError: Error that occurs when the Mediation SDK InstantiationService call fails.</para>
///
/// <para>Unknown: This occurs if a non-network error happens during instantiation service load.</para>
/// </summary>
public enum LoadError
{
/// <summary>
/// This occurs if a non-network error happens during instantiation service load.
/// </summary>
Unknown,
/// <summary>
/// Error that occurs when the SDK fails to load an ad for an entire waterfall.
/// </summary>
NoFill,
/// <summary>
/// Error that occurs when the Mediation SDK InstantiationService call fails.
/// </summary>
NetworkError,
/// <summary>
/// Error that occurs when an ad unit failed to load because the SDK was not initialized.
/// </summary>
SdkNotInitialized,
/// <summary>
/// The ad unit is already loading an ad
/// </summary>
AdUnitLoading,
/// <summary>
/// The ad unit is currently showing an ad and cannot be loaded until ad playback has completed.
/// </summary>
AdUnitShowing,
/// <summary>
/// The ad unit is missing mandatory member values
/// </summary>
MissingMandatoryMemberValues,
/// <summary>
/// Error that occurs when there is too many load requests.
/// </summary>
TooManyLoadRequests
}
}