UiSettings
class   public
            串流 UI 設定。
建構函式
UiSettings
new UiSettings()
建構函式。
方法
getLocale
getLocale() 會傳回字串
傳回串流的語言代碼設定。
- 傳回
- 
                  string
setLocale
setLocale(locale) 會傳回 void
設定發布商提供的語言代碼。必須在建立 StreamManager 之前呼叫。語言代碼會指定要顯示 UI 元素的語言。如需支援的代碼,請參閱「 為語言和語言代碼進行本地化」一文。
| 參數 | |
|---|---|
| 語言代碼 | 字串 發布商提供的語言代碼。 | 
- 傳回
- 
                  void