FullScreenContentError

public final class FullScreenContentError


Error information about why an ad failed to show full screen content.

Summary

Nested types

Public constructors

FullScreenContentError(
    @NonNull FullScreenContentError.ErrorCode code,
    @NonNull String message,
    MediationAdError mediationAdError
)

Public methods

@NonNull FullScreenContentError.ErrorCode

The error code.

final MediationAdError

The error provided by the mediation adapter, if there was one.

@NonNull String

A message detailing the error.

Public constructors

FullScreenContentError

public FullScreenContentError(
    @NonNull FullScreenContentError.ErrorCode code,
    @NonNull String message,
    MediationAdError mediationAdError
)
Parameters
@NonNull FullScreenContentError.ErrorCode code

The error code.

@NonNull String message

A message detailing the error.

MediationAdError mediationAdError

The error provided by the mediation adapter, if there was one.

Public methods

getCode

public @NonNull FullScreenContentError.ErrorCode getCode()

The error code.

getMediationAdError

public final MediationAdError getMediationAdError()

The error provided by the mediation adapter, if there was one.

getMessage

public @NonNull String getMessage()

A message detailing the error.