register
suspend fun register(context: Context, wallet: Wallet, options: DigitalCredentials.RegistrationOptions = RegistrationOptions()): Int(source)
Registers the wallet's presentable credentials with Credential Manager — each unexpired SD-JWT VC and mdoc whose key is on the device, with its claims — replacing what was registered before, and returns how many. Call it after every issuance, deletion and restore. It throws where the device has no Credential Manager registry (no Google Play services, say): the wallet then works as before, but isn't offered for Digital Credentials API requests. Nothing is presented by registering: the holder still consents in the app.