This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Android.Adb.
Summary
Cake build aliases for Android ADB Package Manager commands
- Assembly
- Cake
.Android .Adb .dll - Namespace
- Cake
.AndroidAdb - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["PackageManagerAliases"]
class Type type-node
Syntax
public static class PackageManagerAliases
Attributes
Type | Description |
---|---|
Cake |
Methods
Name | Value | Summary |
---|---|---|
PmClear |
void |
Clears all data associated with the package.
static
|
PmCreateUser |
void |
Creates a new user on the target.
static
|
PmDisable |
void |
Disables the given package or component
static
|
PmDisableUser |
void |
Disables a user for the given package or component.
static
|
PmEnable |
void |
Enables the given package or component
static
|
PmGetInstallLocation |
AdbInstallLocation |
Gets the current default install location for the target.
static
|
PmGetMaxUsers |
int |
Gets the max # of users the target supports.
static
|
PmGrant |
void |
Grants a permission to a package.
static
|
PmInstall |
void |
Installs an APK file from the given path on the target.
static
|
PmListFeatures |
List |
Gets a list of features implemented on the target.
static
|
PmListLibraries |
List |
Gets a list of libraries that exist on the target.
static
|
PmListPackages |
List |
Gets a list of packages from the target.
static
|
Pm |
List |
Gets a list of Permission Groups on the target.
static
|
PmListPermissions |
List |
Gets a list of Permissions, grouped by Permission Group on the target
static
|
PmPathToPackage |
FilePath |
Gets the path for a given package name.
static
|
PmRemoveUser |
void |
Removes a user from a target.
static
|
PmRevoke |
void |
Revokes a permission from a package.
static
|
PmSetInstallLocation |
void |
Sets the default install location for the target. Note: This is only intended for debugging; using this can cause applications to break and other undesireable behavior.
static
|
Pm |
void |
Sets whether or not a permission is enforced on the target.
static
|
PmTrimCaches |
void |
Tries to free up space on the target by deleting caches.
static
|
PmUninstall |
void |
Uninstalls a package from the target
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|