ManagerI18n

Extends

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getOptionLanguage

(async) getOptionLanguage(): Promise.<any>

Scopes

SYSTEM_READONLY

HTTP

GET /api/manager/i18n/option/language

Returns

Promise.<any>

getOptionUnits

(async) getOptionUnits(): Promise.<any>

Scopes

SYSTEM_READONLY

HTTP

GET /api/manager/i18n/option/units

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

setOptionLanguage

(async) setOptionLanguage(opts): Promise.<any>

Scopes

SYSTEM

HTTP

PUT /api/manager/i18n/option/language

Parameters

Name Type Description
opts
object
value
string
}

Returns

Promise.<any>

setOptionUnits

(async) setOptionUnits(opts): Promise.<any>

Scopes

SYSTEM

HTTP

PUT /api/manager/i18n/option/units

Parameters

Name Type Description
opts
object
value
string
}

Returns

Promise.<any>

unsetOptionLanguage

(async) unsetOptionLanguage(): Promise.<any>

Scopes

SYSTEM

HTTP

DELETE /api/manager/i18n/option/language

Returns

Promise.<any>

unsetOptionUnits

(async) unsetOptionUnits(): Promise.<any>

Scopes

SYSTEM

HTTP

DELETE /api/manager/i18n/option/units

Returns

Promise.<any>