Intent.PutExtras Method

Definition

Overloads

PutExtras(Bundle)

Add a set of extended data to the intent.

PutExtras(Intent)

Copy all extras in 'src' in to this intent.

PutExtras(Bundle)

Add a set of extended data to the intent.

[Android.Runtime.Register("putExtras", "(Landroid/os/Bundle;)Landroid/content/Intent;", "GetPutExtras_Landroid_os_Bundle_Handler")]
public virtual Android.Content.Intent PutExtras (Android.OS.Bundle extras);
[<Android.Runtime.Register("putExtras", "(Landroid/os/Bundle;)Landroid/content/Intent;", "GetPutExtras_Landroid_os_Bundle_Handler")>]
abstract member PutExtras : Android.OS.Bundle -> Android.Content.Intent
override this.PutExtras : Android.OS.Bundle -> Android.Content.Intent

Parameters

extras
Bundle

The Bundle of extras to add to this intent.

Returns

Attributes

Remarks

Add a set of extended data to the intent. The keys 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.putExtras(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.

See also

  • <xref:Android.Content.Intent.PutExtra(System.String%2c+Android.OS.Bundle)>
  • RemoveExtra(String)

Applies to

PutExtras(Intent)

Copy all extras in 'src' in to this intent.

[Android.Runtime.Register("putExtras", "(Landroid/content/Intent;)Landroid/content/Intent;", "GetPutExtras_Landroid_content_Intent_Handler")]
public virtual Android.Content.Intent PutExtras (Android.Content.Intent src);
[<Android.Runtime.Register("putExtras", "(Landroid/content/Intent;)Landroid/content/Intent;", "GetPutExtras_Landroid_content_Intent_Handler")>]
abstract member PutExtras : Android.Content.Intent -> Android.Content.Intent
override this.PutExtras : Android.Content.Intent -> Android.Content.Intent

Parameters

src
Intent

Contains the extras to copy.

Returns

Attributes

Remarks

Copy all extras in 'src' in to this intent.

Java documentation for android.content.Intent.putExtras(android.content.Intent).

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

  • <xref:Android.Content.Intent.PutExtra(System.String%2c+Android.OS.Bundle)>

Applies to