getDisplayName

fun getDisplayName(locales: List<String> = emptyList()): String

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

Return

The localized display name.

Parameters

locales

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