getStyleName

open fun getStyleName(styleId: String): String?

Returns the name of the style with ID @style_id defined by this @language.

Return

the name of the style with ID @style_id defined by this @language or null if the style has no name or there is no style with ID @style_id defined by this @language. The returned string is owned by the @language and must not be modified.

Parameters

styleId

a style ID.