ActivityManagerAliases.

AmKill(ICakeContext, string, string, AdbToolSettings) Method

Summary

Kills a service on the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
ActivityManagerAliases

Syntax

public static void AmKill(this ICakeContext context, string packageName, string forUser = null, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
packageName string Package name.
forUser string For user.
settings AdbToolSettings Settings.

Return Value

Type Description
void The kill.