LoadAdError

class LoadAdError : AdError


Error information about why an ad load operation failed.

Summary

Public constructors

LoadAdError(
    code: Int,
    message: String,
    domain: String,
    cause: AdError?,
    responseInfo: ResponseInfo?
)

Creates a LoadAdError.

Public functions

String!

Returns a log friendly string version of this object.

Public properties

ResponseInfo?

Inherited Constants

From com.google.android.gms.ads.AdError
const String!
UNDEFINED_DOMAIN = "undefined"

The undefined error domain.

Public constructors

LoadAdError

LoadAdError(
    code: Int,
    message: String,
    domain: String,
    cause: AdError?,
    responseInfo: ResponseInfo?
)

Creates a LoadAdError.

Parameters
code: Int

the error code.

message: String

a message detailing the error.

domain: String

the error domain.

cause: AdError?

the cause of this error or null if the cause is nonexistent or unknown.

responseInfo: ResponseInfo?

ad response information.

Public functions

toString

fun toString(): String!

Returns a log friendly string version of this object.

Public properties

responseInfo

val responseInfoResponseInfo?