Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

digium.app.getInfo

Description

Returns an object with information about the specified app, as defined in its  app.json  file.

Basic Example: 

Code Block
var appInfo = digium.app.getInfo(app_name);

Parameters

Name

Required

Type

Default

Description

app_name

Yes

string

Name of the app to act on as defined in its app.json file.

Examples

digium.app.getInfo with the return object

Code Block
digium.app.getInfo('contacts');
/* returns: { 
        'name' : 'contacts', 
        'displayName' : 'Contacts', 
        'iconFile' : 'app_contacts.png', 
        'running' : true 
        'hidden' : true 
} 
*/