PackageManagerAliases.

PmListPackages(ICakeContext, bool, PackageListState, PackageSourceType, AdbToolSettings) Method

Summary

Gets a list of packages from the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
PackageManagerAliases

Syntax

public static List<AdbPackageListInfo> PmListPackages(this ICakeContext context, bool includeUninstalled = false, PackageListState showState = 0, PackageSourceType showSource = 0, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
includeUninstalled bool If set to true include uninstalled packages.
showState PackageListState Show All by default, or choose to show only enabled or disabled packages.
showSource PackageSourceType Show All by default, or choose to show only System or 3rd party packages.
settings AdbToolSettings Settings.

Return Value

Type Description
List<AdbPackageListInfo> The list of packages.