Stay organized with collections
Save and categorize content based on your preferences.
UiSettings
classpublic
Stream UI Settings.
Constructor
UiSettings
new
UiSettings()
Constructor.
Methods
getLocale
getLocale() returns string
Returns the locale set for the stream.
Returns
string
setLocale
setLocale(locale) returns void
Sets the publisher provided locale. Must be called before creating
StreamManager. The locale specifies the language
in which to display UI elements. The supported codes can be found in
Localizing for Language and Locale.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-04 UTC."],[],[]]