Gets the collection of installed packages and the apps within each package.
public:
static IVectorView<PackageInfo>^ GetInstalledPackages()
Type: IVectorView<PackageInfo>
Vector of PackageInfo objects containing information on the installed packages on the console.
//Get the list of packages and apps and translate it into a flat list of apps
_getAppList: function () {
var applications = new Array();
var installPackages = appManager.getInstalledPackages()
var index = 0;
installPackages.forEach(
function iteratePackage(installedPackage) {
installedPackage.applications.forEach(
function addPFN(applicationInfo) {
var newApp = new application(installedPackage, applicationInfo);
applications[index] = newApp;
index++;
}
)
}
)
return applications;
},
Namespace: Microsoft.Xbox.Tools.ConsoleExtensions
Metadata: microsoft.xbox.tools.consoleextensions.winmd