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 } */ |