共用方式為


UnsafeIntentLaunchViolation.Intent Property

Definition

Return the Intent which caused this violation to be raised.

public Android.Content.Intent? Intent { [Android.Runtime.Register("getIntent", "()Landroid/content/Intent;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getIntent", "()Landroid/content/Intent;", "", ApiSince=31)>]
member this.Intent : Android.Content.Intent

Property Value

Attributes

Remarks

Return the Intent which caused this violation to be raised. Note that this value is not available if this violation has been serialized since intents cannot be serialized.

Java documentation for android.os.strictmode.UnsafeIntentLaunchViolation.getIntent().

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