Options
All
  • Public
  • Public/Protected
  • All
Menu

Application settings retrieved from the server configuration. Access via NCEngine.getAppSettings.

example
const result = NCEngine.getAppSettings();
if (result.isOk) {
const settings = result.data;
console.log('Speech to text:', settings.isSpeechToTextEnabled);
console.log('Message modifiable minutes:', settings.messageModifiableMinutes);
}

Hierarchy

  • AppSettings

Index

Accessors

  • get isSpeechToTextEnabled(): boolean
  • Whether the speech-to-text feature is enabled for this application

    Returns boolean

  • get messageModifiableMinutes(): number
  • The number of minutes after sending during which a message can be modified (edited)

    Returns number

Methods

  • toObject(): Record<string, any>
  • Returns a plain object snapshot of public settings (speech-to-text flag, message edit window).

    example
    const r = NCEngine.getAppSettings();
    if (r.isOk) console.log(r.data.toObject());

    Returns Record<string, any>