次の方法で共有


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)。

戻り値

属性

注釈

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象