DocumentModel

class DocumentModel(context: Context, settingsModel: SettingsModel, documentStore: DocumentStore, secureAreaRepository: SecureAreaRepository, documentTypeRepository: DocumentTypeRepository, walletServerProvider: WalletServerProvider, walletApplication: WalletApplication)

Constructors

Link copied to clipboard
constructor(context: Context, settingsModel: SettingsModel, documentStore: DocumentStore, secureAreaRepository: SecureAreaRepository, documentTypeRepository: DocumentTypeRepository, walletServerProvider: WalletServerProvider, walletApplication: WalletApplication)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun deleteCard(documentInfo: DocumentInfo)
Link copied to clipboard
suspend fun deleteEventInfos(documentId: String)
Link copied to clipboard
Link copied to clipboard
suspend fun developerModeRequestUpdate(documentInfo: DocumentInfo, requestRemoteDeletion: Boolean, notifyApplicationOfUpdate: Boolean)
Link copied to clipboard
fun getCardIndex(cardId: String): Int?
Link copied to clipboard
Link copied to clipboard
suspend fun getEventInfos(documentId: String): List<EventInfo>
Link copied to clipboard

Called periodically by WalletApplication.SyncDocumentWithIssuerWorker.

Link copied to clipboard
suspend fun refreshCard(documentInfo: DocumentInfo)

Refreshes a card.

Link copied to clipboard
fun startSync()