Package-level declarations

Types

Link copied to clipboard
class DefaultURLSession(client: OkHttpClient) : URLSessionProtocol

Default URLSessionProtocol implementation backed by OkHttp.

Link copied to clipboard
data class EmptyRequest(val description: String?)

An empty request body placeholder used for API calls that require a POST with no payload.

Link copied to clipboard
data class FileUpload(val bitmap: Bitmap, val fieldName: FileUploadFieldName)

A bitmap image prepared for upload to the Frame document verification endpoint.

Link copied to clipboard

The multipart form-data field name for a document image upload.

Link copied to clipboard

Thrown when FrameNetworking.initializeWithAPIKey has not been called before a Frame SDK component is used, or when required configuration values are missing or invalid.

Link copied to clipboard
data class FrameMetadata(val page: Int?, val url: String?, val hasMore: Boolean?)

Pagination metadata returned by Frame list endpoints.

Link copied to clipboard

Central SDK singleton. Initialize once with initializeWithAPIKey from your Application.onCreate before using any Frame UI component or API client.

Link copied to clipboard

Describes a single Frame API endpoint: its URL, HTTP method, and optional query parameters.

Link copied to clipboard

Common Frame API domain objects shared across multiple SDK modules.

Link copied to clipboard
sealed class FrameResult

Outcome of a Frame UI flow (checkout, cart, onboarding).

Link copied to clipboard

Base URL constants used by FrameNetworking when constructing API requests.

Link copied to clipboard
sealed class NetworkingError : Exception

Errors that the Frame SDK network layer can surface to callers.

Link copied to clipboard
data class QueryItem(val name: String, val value: String?)

A single URL query-string parameter.

Link copied to clipboard

HTTP execution abstraction used by all Frame SDK API clients.