Udostępnij za pośrednictwem


Intent.PutCharSequenceArrayListExtra Method

Definition

Add extended data to the intent.

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

Parameters

name
String

The name of the extra data, with package prefix.

value
IList<ICharSequence>

The ArrayList<CharSequence> 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.putCharSequenceArrayListExtra(java.lang.String, java.util.ArrayList<java.lang.CharSequence>).

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