/
Phone API Reference - Core - digium.foreground

Phone API Reference - Core - digium.foreground

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.foreground

Description

Brings an app into the foreground. If this is called without any arguments, it brings the current app to the foreground.

 
Basic Example:

digium.foreground([app_name]);

 

Note: The app needs to be running for this to do anything.

Parameters

app_name

No

string

 

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

Related content

Phone API Reference - Core - digium.background
Phone API Reference - Core - digium.background
More like this
Phone API Reference - Core - digium.app
Phone API Reference - Core - digium.app
More like this
Phone API Reference - Core - digium.event - List of Event Types
Phone API Reference - Core - digium.event - List of Event Types
More like this
Phone API Reference - Core - digium
Phone API Reference - Core - digium
More like this
Phone API Reference - UI Core
Phone API Reference - UI Core
More like this
Phone API Reference - Core - digium.setLedState
Phone API Reference - Core - digium.setLedState
More like this

Return to Documentation Home I Return to Sangoma Support