getCredentialUsageCount

fun getCredentialUsageCount(documentSlot: Int): Int

Returns the number of times the credential in the slot has been used in a presentation since it was set as the active credential or since the usage count was reset with clearCredentialUsageCount.

Return

the number of times the credential in the slot was used

Parameters

documentSlot

the slot

Throws

if no active credential