Freigeben über


Intent.PutIntegerArrayListExtra(String, IList<Integer>) Method

Definition

Add extended data to the intent.

[Android.Runtime.Register("putIntegerArrayListExtra", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", "GetPutIntegerArrayListExtra_Ljava_lang_String_Ljava_util_ArrayList_Handler")]
public virtual Android.Content.Intent PutIntegerArrayListExtra (string? name, System.Collections.Generic.IList<Java.Lang.Integer>? value);
[<Android.Runtime.Register("putIntegerArrayListExtra", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;", "GetPutIntegerArrayListExtra_Ljava_lang_String_Ljava_util_ArrayList_Handler")>]
abstract member PutIntegerArrayListExtra : string * System.Collections.Generic.IList<Java.Lang.Integer> -> Android.Content.Intent
override this.PutIntegerArrayListExtra : string * System.Collections.Generic.IList<Java.Lang.Integer> -> Android.Content.Intent

Parameters

name
String

The name of the extra data, with package prefix.

value
IList<Integer>

The ArrayList<Integer> data value.

Returns

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

Attributes

Remarks

Add extended data to the intent. The name must include a package prefix, for example the app com.android.contacts would use names like "com.android.contacts.ShowAll".

Java documentation for android.content.Intent.putIntegerArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.Integer>).

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