ActivityManagerAliases.

AmStartActivity(ICakeContext, string, AmStartOptions, AdbToolSettings) Method

Summary

Starts an Activity on the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
ActivityManagerAliases

Syntax

public static bool AmStartActivity(this ICakeContext context, string adbIntentArguments, AmStartOptions options = null, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
adbIntentArguments string Intent to start the activity with, as per the Intent Spec: https://developer.android.com/studio/command-line/adb.html#IntentSpec.
options AmStartOptions Options.
settings AdbToolSettings Settings.

Return Value

Type Description
bool true, if an activity was started, false otherwise.