getDisplayName

fun getDisplayName(locales: List<String>): String?

Gets the display name of the claim in the language which best matches locales.

Display objects without a name are not considered. See OpenID4VCIClaimDisplay.locale for how languages are matched.

Return

the display name, or null if the issuer did not provide any.

Parameters

locales

BCP 47 language tags, most preferred first, e.g. ["ja-JP", "en-US"].