Class UiSettings
Stay organized with collections
Save and categorize content based on your preferences.
Stream UI Settings.
| Methods |
getLocale
|
Returns the locale set for the stream. |
setLocale
|
Sets the publisher provided locale. |
Methods
getLocale
getLocale(): string
Returns the locale set for the stream.
setLocale
setLocale(locale: string): void
Sets the publisher provided locale. You must call this method before creating the
StreamManager instance. The locale specifies the language to display UI
elements. You can find the supported codes in
Localizing for Language and Locale.
| Parameters |
locale: string
|
Publisher provided locale. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.
[null,null,["Last updated 2026-05-27 UTC."],[],[]]