getInstalledApps( [completeList] ) method

Returns an array of hwc.HybridApp objects.

Syntax

<static> getInstalledApps( [completeList] ) → {hwc.HybridApp[]}

Parameters

Name Type Argument Description
completeList boolean (optional) If this parameter is set to true, then all apps that are user invocable or require activation will be returned.If set to false or if it is not set, then if there is a default hybrid app only the default hybrid app will be returned (and if there is no default hybrid app it will return all hybrid apps that are user invocable or require activation).

Returns

An array of hybrid app objects.

Type:

hwc.HybridApp[]

Example

var apps = hwc.getInstalledApps();
var apps = hwc.getInstalledApps( true );

Source

hwc-api.js, line 1717.