共用方式為


Instrumentation.ActivityMonitor.OnStartActivity(Intent) Method

Definition

[Android.Runtime.Register("onStartActivity", "(Landroid/content/Intent;)Landroid/app/Instrumentation$ActivityResult;", "GetOnStartActivity_Landroid_content_Intent_Handler", ApiSince=26)]
public virtual Android.App.Instrumentation.ActivityResult OnStartActivity (Android.Content.Intent intent);
[<Android.Runtime.Register("onStartActivity", "(Landroid/content/Intent;)Landroid/app/Instrumentation$ActivityResult;", "GetOnStartActivity_Landroid_content_Intent_Handler", ApiSince=26)>]
abstract member OnStartActivity : Android.Content.Intent -> Android.App.Instrumentation.ActivityResult
override this.OnStartActivity : Android.Content.Intent -> Android.App.Instrumentation.ActivityResult

Parameters

intent
Intent

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to