zcash-android-wallet-sdk / cash.z.wallet.sdk.transaction

Package cash.z.wallet.sdk.transaction

Types

OutboundTransactionManager

Manage outbound transactions with the main purpose of reporting which ones are still pending, particularly after failed attempts or dropped connectivity. The intent is to help see outbound transactions through to completion.

interface OutboundTransactionManager

PagedTransactionRepository

Example of a repository that leverages the Room paging library to return a PagedList of transactions. Consumers can register as a page listener and receive an interface that allows for efficiently paging data.

open class PagedTransactionRepository : TransactionRepository

PersistentTransactionManager

Facilitates persistent attempts to ensure that an outbound transaction is completed.

class PersistentTransactionManager : OutboundTransactionManager

TransactionEncoder

interface TransactionEncoder

TransactionError

Interface for transaction errors.

interface TransactionError

TransactionRepository

Repository of wallet transactions, providing an agnostic interface to the underlying information.

interface TransactionRepository

WalletTransactionEncoder

Class responsible for encoding a transaction in a consistent way. This bridges the gap by behaving like a stateless API so that callers can request createTransaction and receive a result, even though there are intermediate database interactions.

class WalletTransactionEncoder : TransactionEncoder