PackageManagerAliases.

PmGrant(ICakeContext, string, string, AdbToolSettings) Method

Summary

Grants a permission to a package.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
PackageManagerAliases

Syntax

public static void PmGrant(this ICakeContext context, string packageName, string permission, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
packageName string Package name.
permission string Permission.
settings AdbToolSettings Settings.

Return Value

Type Description
void