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

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.

  • No labels