PackageManagerAliases.

PmSetPermissionEnforced(ICakeContext, string, bool, AdbToolSettings) Method

Summary

Sets whether or not a permission is enforced on the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
PackageManagerAliases

Syntax

public static void PmSetPermissionEnforced(this ICakeContext context, string permission, bool enforced, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
permission string Permission.
enforced bool If set to true enforced.
settings AdbToolSettings Settings.

Return Value

Type Description
void