getDescription

fun getDescription(locales: List<String> = emptyList()): String?

Gets the description of the claim in the language which best matches locales, or null if description is not set.

Return

The localized description, or null if no description is provided.

Parameters

locales

BCP 47 language tags, most preferred first (e.g., ["ja-JP", "en-US"]). If empty, the current platform locale is used.