addKnownTypes

fun DocumentTypeRepository.addKnownTypes(locale: String = LocalizedStrings.getCurrentLocale())

Adds all known document and transaction data types from the multipaz-doctypes library.

Receiver

the DocumentTypeRepository to add to.

Parameters

locale

BCP-47 language tag used to resolve localized strings.