UnsafeIntentLaunchViolation(Intent) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a violation for the specified unsafe intent launch.
[Android.Runtime.Register(".ctor", "(Landroid/content/Intent;)V", "", ApiSince=31)]
public UnsafeIntentLaunchViolation(Android.Content.Intent intent);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Intent;)V", "", ApiSince=31)>]
new Android.OS.Strictmode.UnsafeIntentLaunchViolation : Android.Content.Intent -> Android.OS.Strictmode.UnsafeIntentLaunchViolation
Parameters
- intent
- Intent
The non-null intent associated with the unsafe launch.
- Attributes
Remarks
The constructor retains intent for the Intent property and includes its description in the violation message. Creating this object does not launch the intent.
See the Android implementation of UnsafeIntentLaunchViolation.