UrlRetrievalStatus

@PublicPreviewAPI
class UrlRetrievalStatus


The status of a URL retrieval.

Summary

Public companion properties

UrlRetrievalStatus

The URL retrieval failed.

UrlRetrievalStatus

The URL retrieval failed because the content is behind a paywall.

UrlRetrievalStatus

The URL retrieval was successful.

UrlRetrievalStatus

The URL retrieval failed because the content is unsafe.

UrlRetrievalStatus

Unspecified retrieval status.

Public properties

String

The name of the retrieval status.

Int

The ordinal value of the retrieval status.

Public companion properties

ERROR

val ERRORUrlRetrievalStatus

The URL retrieval failed.

PAYWALL

val PAYWALLUrlRetrievalStatus

The URL retrieval failed because the content is behind a paywall.

SUCCESS

val SUCCESSUrlRetrievalStatus

The URL retrieval was successful.

UNSAFE

val UNSAFEUrlRetrievalStatus

The URL retrieval failed because the content is unsafe.

UNSPECIFIED

val UNSPECIFIEDUrlRetrievalStatus

Unspecified retrieval status.

Public properties

name

val nameString

The name of the retrieval status.

ordinal

val ordinalInt

The ordinal value of the retrieval status.