Intent.PutExtra Method
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.
Overloads
PutExtra(String, String[]) |
Add extended data to the intent. |
PutExtra(String, String) |
Add extended data to the intent. |
PutExtra(String, Single[]) |
Add extended data to the intent. |
PutExtra(String, Single) |
Add extended data to the intent. |
PutExtra(String, SByte) |
Add extended data to the intent. |
PutExtra(String, Int64[]) |
Add extended data to the intent. |
PutExtra(String, Int64) |
Add extended data to the intent. |
PutExtra(String, Int32[]) |
Add extended data to the intent. |
PutExtra(String, Int32) |
Add extended data to the intent. |
PutExtra(String, Int16) |
Add extended data to the intent. |
PutExtra(String, Double[]) |
Add extended data to the intent. |
PutExtra(String, Int16[]) |
Add extended data to the intent. |
PutExtra(String, Char[]) |
Add extended data to the intent. |
PutExtra(String, Char) |
Add extended data to the intent. |
PutExtra(String, Double) |
Add extended data to the intent. |
PutExtra(String, Byte[]) |
Add extended data to the intent. |
PutExtra(String, Boolean[]) |
Add extended data to the intent. |
PutExtra(String, Boolean) |
Add extended data to the intent. |
PutExtra(String, ICharSequence[]) |
Add extended data to the intent. |
PutExtra(String, ICharSequence) |
Add extended data to the intent. |
PutExtra(String, ISerializable) |
Add extended data to the intent. |
PutExtra(String, IParcelable[]) |
Add extended data to the intent. |
PutExtra(String, IParcelable) |
Add extended data to the intent. |
PutExtra(String, Bundle) |
Add extended data to the intent. |
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member PutExtra : string * string[] -> Android.Content.Intent
override this.PutExtra : string * string[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- String[]
The String array 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.putExtra(java.lang.String, java.lang.String[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member PutExtra : string * string -> Android.Content.Intent
override this.PutExtra : string * string -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- String
The String 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.putExtra(java.lang.String, java.lang.String)
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[F)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayFHandler")>]
abstract member PutExtra : string * single[] -> Android.Content.Intent
override this.PutExtra : string * single[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Single[]
The float array 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.putExtra(java.lang.String, float[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;F)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_FHandler")>]
abstract member PutExtra : string * single -> Android.Content.Intent
override this.PutExtra : string * single -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Single
The float 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.putExtra(java.lang.String, float)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetFloatExtra(System.String%2c+System.Single)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;B)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_BHandler")>]
abstract member PutExtra : string * sbyte -> Android.Content.Intent
override this.PutExtra : string * sbyte -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- SByte
The byte 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.putExtra(java.lang.String, byte)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetByteExtra(System.String%2c+System.SByte)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[J)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayJHandler")>]
abstract member PutExtra : string * int64[] -> Android.Content.Intent
override this.PutExtra : string * int64[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int64[]
The byte array 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.putExtra(java.lang.String, long[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;J)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_JHandler")>]
abstract member PutExtra : string * int64 -> Android.Content.Intent
override this.PutExtra : string * int64 -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int64
The long 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.putExtra(java.lang.String, long)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetLongExtra(System.String%2c+System.Int64)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[I)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayIHandler")>]
abstract member PutExtra : string * int[] -> Android.Content.Intent
override this.PutExtra : string * int[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int32[]
The int array 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.putExtra(java.lang.String, 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.
See also
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;I)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_IHandler")>]
abstract member PutExtra : string * int -> Android.Content.Intent
override this.PutExtra : string * int -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int32
The 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.putExtra(java.lang.String, 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.
See also
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetIntExtra(System.String%2c+System.Int32)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;S)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_SHandler")>]
abstract member PutExtra : string * int16 -> Android.Content.Intent
override this.PutExtra : string * int16 -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int16
The short 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.putExtra(java.lang.String, short)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetShortExtra(System.String%2c+System.Int16)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[D)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayDHandler")>]
abstract member PutExtra : string * double[] -> Android.Content.Intent
override this.PutExtra : string * double[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Double[]
The double array 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.putExtra(java.lang.String, double[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[S)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arraySHandler")>]
abstract member PutExtra : string * int16[] -> Android.Content.Intent
override this.PutExtra : string * int16[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Int16[]
The short array 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.putExtra(java.lang.String, short[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[C)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayCHandler")>]
abstract member PutExtra : string * char[] -> Android.Content.Intent
override this.PutExtra : string * char[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Char[]
The char array 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.putExtra(java.lang.String, char[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;C)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_CHandler")>]
abstract member PutExtra : string * char -> Android.Content.Intent
override this.PutExtra : string * char -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Char
The char 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.putExtra(java.lang.String, char)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetCharExtra(System.String%2c+System.Char)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;D)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_DHandler")>]
abstract member PutExtra : string * double -> Android.Content.Intent
override this.PutExtra : string * double -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Double
The double 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.putExtra(java.lang.String, double)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetDoubleExtra(System.String%2c+System.Double)>
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[B)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayBHandler")>]
abstract member PutExtra : string * byte[] -> Android.Content.Intent
override this.PutExtra : string * byte[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Byte[]
The byte array 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.putExtra(java.lang.String, byte[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Z)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayZHandler")>]
abstract member PutExtra : string * bool[] -> Android.Content.Intent
override this.PutExtra : string * bool[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Boolean[]
The boolean array 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.putExtra(java.lang.String, boolean[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Z)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_ZHandler")>]
abstract member PutExtra : string * bool -> Android.Content.Intent
override this.PutExtra : string * bool -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Boolean
The boolean 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.putExtra(java.lang.String, boolean)
.
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
- PutExtras(Intent)
- RemoveExtra(String)
- <xref:Android.Content.Intent.GetBooleanExtra(System.String%2c+System.Boolean)>
Applies to
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")]
public virtual Android.Content.Intent PutExtra (string? name, Java.Lang.ICharSequence[]? value);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLjava_lang_CharSequence_Handler")>]
abstract member PutExtra : string * Java.Lang.ICharSequence[] -> Android.Content.Intent
override this.PutExtra : string * Java.Lang.ICharSequence[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- ICharSequence[]
The CharSequence array 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.putExtra(java.lang.String, 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.
See also
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_lang_CharSequence_Handler")>]
abstract member PutExtra : string * Java.Lang.ICharSequence -> Android.Content.Intent
override this.PutExtra : string * Java.Lang.ICharSequence -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- ICharSequence
The 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.putExtra(java.lang.String, 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.
See also
Applies to
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Ljava_io_Serializable_Handler")>]
abstract member PutExtra : string * Java.IO.ISerializable -> Android.Content.Intent
override this.PutExtra : string * Java.IO.ISerializable -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- ISerializable
The Serializable 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.putExtra(java.lang.String, java.io.Serializable)
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_arrayLandroid_os_Parcelable_Handler")>]
abstract member PutExtra : string * Android.OS.IParcelable[] -> Android.Content.Intent
override this.PutExtra : string * Android.OS.IParcelable[] -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- IParcelable[]
The Parcelable[] 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.putExtra(java.lang.String, android.os.Parcelable[])
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Landroid_os_Parcelable_Handler")>]
abstract member PutExtra : string * Android.OS.IParcelable -> Android.Content.Intent
override this.PutExtra : string * Android.OS.IParcelable -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- IParcelable
The Parcelable 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.putExtra(java.lang.String, android.os.Parcelable)
.
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
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);
[<Android.Runtime.Register("putExtra", "(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;", "GetPutExtra_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
abstract member PutExtra : string * Android.OS.Bundle -> Android.Content.Intent
override this.PutExtra : string * Android.OS.Bundle -> Android.Content.Intent
Parameters
- name
- String
The name of the extra data, with package prefix.
- value
- Bundle
The Bundle 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.putExtra(java.lang.String, android.os.Bundle)
.
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.