Language

Instrumentation.ActivityResult(Result, Intent) コンストラクター

定義

新しいアクティビティの結果を作成します。

[Android.Runtime.Register(".ctor", "(ILandroid/content/Intent;)V", "")]
public ActivityResult(Android.App.Result resultCode, Android.Content.Intent? resultData);
[<Android.Runtime.Register(".ctor", "(ILandroid/content/Intent;)V", "")>]
new Android.App.Instrumentation.ActivityResult : Android.App.Result * Android.Content.Intent -> Android.App.Instrumentation.ActivityResult

パラメーター

resultCode
Result

元のアクティビティ (多くの場合、RESULT_CANCELEDまたはRESULT_OKに反映される結果コード)

resultData
Intent

元のアクティビティに反映するデータ。

属性

注釈

新しいアクティビティの結果を作成します。 詳細については、Activity.setResult を参照してください。

android.app.Instrumentation.ActivityResult.ActivityResultの Android リファレンス。

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

適用対象