MockContext.StartInstrumentation(ComponentName, String, Bundle) メソッド

定義

Instrumentation クラスの実行を開始します。

[Android.Runtime.Register("startInstrumentation", "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetStartInstrumentation_Landroid_content_ComponentName_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public override bool StartInstrumentation(Android.Content.ComponentName? className, string? profileFile, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("startInstrumentation", "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetStartInstrumentation_Landroid_content_ComponentName_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
override this.StartInstrumentation : Android.Content.ComponentName * string * Android.OS.Bundle -> bool

パラメーター

className
ComponentName

実行するインストルメンテーション コンポーネントの名前。

profileFile
String

インストルメンテーションの実行時にプロファイル データを書き込むための省略可能なパス。プロファイリングがない場合は null。

arguments
Bundle

インストルメンテーションに渡す追加の省略可能な引数(null)。

返品

属性

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象