Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Phone API Reference - Core - digium.app.getInfo

digium.app.getInfo

Description

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

Basic Example: 

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

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

  • No labels