kin-android

kin-android / org.kin.sdk.base / KinAccountContextReadOnlyImpl

KinAccountContextReadOnlyImpl

class KinAccountContextReadOnlyImpl : KinAccountContextBase, KinAccountContextReadOnly

Instantiate a KinAccountContextReadOnlyImpl to operate on a KinAccount when you only have a PublicKey Can be used to:

Types

Name Summary
ReadOnlyAccountBuilder Gives you read-only access to this KinAccountclass ReadOnlyAccountBuilder

Properties

Name Summary
accountId denoting the KinAccount to get information fromval accountId: Id
executors defines a set of executors to be usedval executors: ExecutorServices
service a service used to retrieve all account and payment dataval service: KinService
storage stores all account and payment data. @see KinFileStorage for provided implementation.val storage: Storage

Functions

Name Summary
clearStorage fun clearStorage(clearCompleteCallback: Callback<Boolean>): Unit
getAccount Returns the account infofun getAccount(): Promise<KinAccount>
getPaymentsForTransactionHash fun getPaymentsForTransactionHash(transactionHash: TransactionHash, paymentsCallback: Callback<List<KinPayment>>): Unit
maybeFetchAccountDetails fun maybeFetchAccountDetails(): Promise<KinAccount>