UrlRetrievalStatus

@PublicPreviewAPI
public final class UrlRetrievalStatus


The status of a URL retrieval.

Summary

Nested types

public static class UrlRetrievalStatus.Companion

Public fields

final @NonNull UrlRetrievalStatus

The URL retrieval failed.

final @NonNull UrlRetrievalStatus

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

final @NonNull UrlRetrievalStatus

The URL retrieval was successful.

final @NonNull UrlRetrievalStatus

The URL retrieval failed because the content is unsafe.

final @NonNull UrlRetrievalStatus

Unspecified retrieval status.

final @NonNull String

The name of the retrieval status.

final int

The ordinal value of the retrieval status.

Public fields

ERROR

public final @NonNull UrlRetrievalStatus ERROR

The URL retrieval failed.

PAYWALL

public final @NonNull UrlRetrievalStatus PAYWALL

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

SUCCESS

public final @NonNull UrlRetrievalStatus SUCCESS

The URL retrieval was successful.

UNSAFE

public final @NonNull UrlRetrievalStatus UNSAFE

The URL retrieval failed because the content is unsafe.

UNSPECIFIED

public final @NonNull UrlRetrievalStatus UNSPECIFIED

Unspecified retrieval status.

name

public final @NonNull String name

The name of the retrieval status.

ordinal

public final int ordinal

The ordinal value of the retrieval status.