ActivityManagerAliases.

AmForceStop(ICakeContext, string, AdbToolSettings) Method

Summary

Force stops an application on the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
ActivityManagerAliases

Syntax

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

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void The force stop.