Class: UiSettings

Constructor

UiSettings

new UiSettings()

Methods

getLocale

getLocale() returns string

Returns the locale set for the stream.

Returns

string 

setLocale

setLocale(locale)

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.

Parameter

locale

string

Publisher provided locale.