Class UiSettings


Stream UI Settings.
Constructors
constructor
Methods
getLocale
Returns the locale set for the stream.
setLocale
Sets the publisher provided locale.

Constructors


constructor

new UiSettings(): UiSettings
Returns
UiSettings

Methods


getLocale

getLocale(): string
Returns the locale set for the stream.
Returns
string

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.