Partager via


Intent.AddFlags(ActivityFlags) Method

Definition

Add additional flags to the intent (or with existing flags value).

[Android.Runtime.Register("addFlags", "(I)Landroid/content/Intent;", "GetAddFlags_IHandler")]
public virtual Android.Content.Intent AddFlags (Android.Content.ActivityFlags flags);
[<Android.Runtime.Register("addFlags", "(I)Landroid/content/Intent;", "GetAddFlags_IHandler")>]
abstract member AddFlags : Android.Content.ActivityFlags -> Android.Content.Intent
override this.AddFlags : Android.Content.ActivityFlags -> Android.Content.Intent

Parameters

flags
ActivityFlags

The new flags to set.

Returns

Returns the same Intent object, for chaining multiple calls into a single statement.

Attributes

Remarks

Add additional flags to the intent (or with existing flags value).

Java documentation for android.content.Intent.addFlags(int).

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

See also