FirebaseAI Framework Reference

URLRetrievalStatus

public struct URLRetrievalStatus : DecodableProtoEnum, Hashable

Status of the URL retrieval.

  • The URL retrieval was successful.

    Declaration

    Swift

    public static let success: URLMetadata.URLRetrievalStatus
  • The URL retrieval failed.

    Declaration

    Swift

    public static let error: URLMetadata.URLRetrievalStatus
  • The URL retrieval failed because the content is behind a paywall.

    Declaration

    Swift

    public static let paywall: URLMetadata.URLRetrievalStatus
  • The URL retrieval failed because the content is unsafe.

    Declaration

    Swift

    public static let unsafe: URLMetadata.URLRetrievalStatus
  • Returns the raw string representation of the URLRetrievalStatus value.

    Declaration

    Swift

    public let rawValue: String