Intent.PutExtra Intent.PutExtra Method

Definition

Overloads

PutExtra(String, Int16[]) PutExtra(String, Int16[])

Add extended data to the intent.

PutExtra(String, Int32) PutExtra(String, Int32)

Add extended data to the intent.

PutExtra(String, Int32[]) PutExtra(String, Int32[])

Add extended data to the intent.

PutExtra(String, Int64) PutExtra(String, Int64)

Add extended data to the intent.

PutExtra(String, String) PutExtra(String, String)

Add extended data to the intent.

PutExtra(String, SByte) PutExtra(String, SByte)

Add extended data to the intent.

PutExtra(String, Single[]) PutExtra(String, Single[])

Add extended data to the intent.

PutExtra(String, Int16) PutExtra(String, Int16)

Add extended data to the intent.

PutExtra(String, String[]) PutExtra(String, String[])

Add extended data to the intent.

PutExtra(String, Int64[]) PutExtra(String, Int64[])

Add extended data to the intent.

PutExtra(String, Double[]) PutExtra(String, Double[])

Add extended data to the intent.

PutExtra(String, Single) PutExtra(String, Single)

Add extended data to the intent.

PutExtra(String, Char[]) PutExtra(String, Char[])

Add extended data to the intent.

PutExtra(String, Char) PutExtra(String, Char)

Add extended data to the intent.

PutExtra(String, Byte[]) PutExtra(String, Byte[])

Add extended data to the intent.

PutExtra(String, Boolean[]) PutExtra(String, Boolean[])

Add extended data to the intent.

PutExtra(String, Boolean) PutExtra(String, Boolean)

Add extended data to the intent.

PutExtra(String, ICharSequence[]) PutExtra(String, ICharSequence[])

Add extended data to the intent.

PutExtra(String, ICharSequence) PutExtra(String, ICharSequence)

Add extended data to the intent.

PutExtra(String, ISerializable) PutExtra(String, ISerializable)

Add extended data to the intent.

PutExtra(String, Double) PutExtra(String, Double)

Add extended data to the intent.

PutExtra(String, IParcelable[]) PutExtra(String, IParcelable[])

Add extended data to the intent.

PutExtra(String, IParcelable) PutExtra(String, IParcelable)

Add extended data to the intent.

PutExtra(String, Bundle) PutExtra(String, Bundle)

Add extended data to the intent.

PutExtra(String, Int16[]) PutExtra(String, Int16[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[S)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arraySHandler")]
public virtual Android.Content.Intent PutExtra (string name, short[] value);
abstract member PutExtra : string * int16[] -> Android.Content.Intent
override this.PutExtra : string * int16[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int16[]

The short array data value.

Returns

Remarks

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.

See also

PutExtra(String, Int32) PutExtra(String, Int32)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;I)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_IHandler")]
public virtual Android.Content.Intent PutExtra (string name, int value);
abstract member PutExtra : string * int -> Android.Content.Intent
override this.PutExtra : string * int -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int32 Int32

The integer data value.

Returns

Remarks

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.

See also

PutExtra(String, Int32[]) PutExtra(String, Int32[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[I)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayIHandler")]
public virtual Android.Content.Intent PutExtra (string name, int[] value);
abstract member PutExtra : string * int[] -> Android.Content.Intent
override this.PutExtra : string * int[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int32[]

The int array data value.

Returns

Remarks

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.

See also

PutExtra(String, Int64) PutExtra(String, Int64)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;J)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_JHandler")]
public virtual Android.Content.Intent PutExtra (string name, long value);
abstract member PutExtra : string * int64 -> Android.Content.Intent
override this.PutExtra : string * int64 -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int64 Int64

The long data value.

Returns

Remarks

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.

See also

PutExtra(String, String) PutExtra(String, String)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Android.Content.Intent PutExtra (string name, string value);
abstract member PutExtra : string * string -> Android.Content.Intent
override this.PutExtra : string * string -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
String String

The String data value.

Returns

Remarks

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.

See also

PutExtra(String, SByte) PutExtra(String, SByte)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;B)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_BHandler")]
public virtual Android.Content.Intent PutExtra (string name, sbyte value);
abstract member PutExtra : string * sbyte -> Android.Content.Intent
override this.PutExtra : string * sbyte -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
SByte SByte

The byte data value.

Returns

Remarks

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.

See also

PutExtra(String, Single[]) PutExtra(String, Single[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[F)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayFHandler")]
public virtual Android.Content.Intent PutExtra (string name, float[] value);
abstract member PutExtra : string * single[] -> Android.Content.Intent
override this.PutExtra : string * single[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Single[]

The float array data value.

Returns

Remarks

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.

See also

PutExtra(String, Int16) PutExtra(String, Int16)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;S)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_SHandler")]
public virtual Android.Content.Intent PutExtra (string name, short value);
abstract member PutExtra : string * int16 -> Android.Content.Intent
override this.PutExtra : string * int16 -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int16 Int16

The short data value.

Returns

Remarks

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.

See also

PutExtra(String, String[]) PutExtra(String, String[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual Android.Content.Intent PutExtra (string name, string[] value);
abstract member PutExtra : string * string[] -> Android.Content.Intent
override this.PutExtra : string * string[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
String[]

The String array data value.

Returns

Remarks

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.

See also

PutExtra(String, Int64[]) PutExtra(String, Int64[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[J)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayJHandler")]
public virtual Android.Content.Intent PutExtra (string name, long[] value);
abstract member PutExtra : string * int64[] -> Android.Content.Intent
override this.PutExtra : string * int64[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Int64[]

The byte array data value.

Returns

Remarks

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.

See also

PutExtra(String, Double[]) PutExtra(String, Double[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[D)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayDHandler")]
public virtual Android.Content.Intent PutExtra (string name, double[] value);
abstract member PutExtra : string * double[] -> Android.Content.Intent
override this.PutExtra : string * double[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Double[]

The double array data value.

Returns

Remarks

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.

See also

PutExtra(String, Single) PutExtra(String, Single)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;F)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_FHandler")]
public virtual Android.Content.Intent PutExtra (string name, float value);
abstract member PutExtra : string * single -> Android.Content.Intent
override this.PutExtra : string * single -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Single Single

The float data value.

Returns

Remarks

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.

See also

PutExtra(String, Char[]) PutExtra(String, Char[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[C)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayCHandler")]
public virtual Android.Content.Intent PutExtra (string name, char[] value);
abstract member PutExtra : string * char[] -> Android.Content.Intent
override this.PutExtra : string * char[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Char[]

The char array data value.

Returns

Remarks

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.

See also

PutExtra(String, Char) PutExtra(String, Char)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;C)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_CHandler")]
public virtual Android.Content.Intent PutExtra (string name, char value);
abstract member PutExtra : string * char -> Android.Content.Intent
override this.PutExtra : string * char -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Char Char

The char data value.

Returns

Remarks

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.

See also

PutExtra(String, Byte[]) PutExtra(String, Byte[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[B)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayBHandler")]
public virtual Android.Content.Intent PutExtra (string name, byte[] value);
abstract member PutExtra : string * byte[] -> Android.Content.Intent
override this.PutExtra : string * byte[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Byte[]

The byte array data value.

Returns

Remarks

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.

See also

PutExtra(String, Boolean[]) PutExtra(String, Boolean[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Z)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayZHandler")]
public virtual Android.Content.Intent PutExtra (string name, bool[] value);
abstract member PutExtra : string * bool[] -> Android.Content.Intent
override this.PutExtra : string * bool[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Boolean[]

The boolean array data value.

Returns

Remarks

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.

See also

PutExtra(String, Boolean) PutExtra(String, Boolean)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Z)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_ZHandler")]
public virtual Android.Content.Intent PutExtra (string name, bool value);
abstract member PutExtra : string * bool -> Android.Content.Intent
override this.PutExtra : string * bool -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Boolean Boolean

The boolean data value.

Returns

Remarks

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.

See also

PutExtra(String, ICharSequence[]) PutExtra(String, ICharSequence[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLjava_lang_CharSequence_Handler", ApiSince=8)]
public virtual Android.Content.Intent PutExtra (string name, Java.Lang.ICharSequence[] value);
abstract member PutExtra : string * Java.Lang.ICharSequence[] -> Android.Content.Intent
override this.PutExtra : string * Java.Lang.ICharSequence[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
ICharSequence[]

The CharSequence array data value.

Returns

Remarks

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.

See also

PutExtra(String, ICharSequence) PutExtra(String, ICharSequence)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_lang_CharSequence_Handler")]
public virtual Android.Content.Intent PutExtra (string name, Java.Lang.ICharSequence value);
abstract member PutExtra : string * Java.Lang.ICharSequence -> Android.Content.Intent
override this.PutExtra : string * Java.Lang.ICharSequence -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
ICharSequence ICharSequence

The CharSequence data value.

Returns

Remarks

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.

See also

PutExtra(String, ISerializable) PutExtra(String, ISerializable)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_io_Serializable_Handler")]
public virtual Android.Content.Intent PutExtra (string name, Java.IO.ISerializable value);
abstract member PutExtra : string * Java.IO.ISerializable -> Android.Content.Intent
override this.PutExtra : string * Java.IO.ISerializable -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
ISerializable ISerializable

The Serializable data value.

Returns

Remarks

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.

See also

PutExtra(String, Double) PutExtra(String, Double)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;D)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_DHandler")]
public virtual Android.Content.Intent PutExtra (string name, double value);
abstract member PutExtra : string * double -> Android.Content.Intent
override this.PutExtra : string * double -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Double Double

The double data value.

Returns

Remarks

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.

See also

PutExtra(String, IParcelable[]) PutExtra(String, IParcelable[])

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLandroid_os_Parcelable_Handler")]
public virtual Android.Content.Intent PutExtra (string name, Android.OS.IParcelable[] value);
abstract member PutExtra : string * Android.OS.IParcelable[] -> Android.Content.Intent
override this.PutExtra : string * Android.OS.IParcelable[] -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
IParcelable[]

The Parcelable[] data value.

Returns

Remarks

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.

See also

PutExtra(String, IParcelable) PutExtra(String, IParcelable)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Landroid_os_Parcelable_Handler")]
public virtual Android.Content.Intent PutExtra (string name, Android.OS.IParcelable value);
abstract member PutExtra : string * Android.OS.IParcelable -> Android.Content.Intent
override this.PutExtra : string * Android.OS.IParcelable -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
IParcelable IParcelable

The Parcelable data value.

Returns

Remarks

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.

See also

PutExtra(String, Bundle) PutExtra(String, Bundle)

Add extended data to the intent.

[Android.Runtime.Register("putExtra", "(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public virtual Android.Content.Intent PutExtra (string name, Android.OS.Bundle value);
abstract member PutExtra : string * Android.OS.Bundle -> Android.Content.Intent
override this.PutExtra : string * Android.OS.Bundle -> Android.Content.Intent

Parameters

name
String String

The name of the extra data, with package prefix.

value
Bundle Bundle

The Bundle data value.

Returns

Remarks

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.

See also

Applies to