Intent.SetComponent(ComponentName) Intent.SetComponent(ComponentName) Method

Definition

(Usually optional) Explicitly set the component to handle the intent.

[Android.Runtime.Register("setComponent", "(Landroid/content/ComponentName;)Landroid/content/Intent;", "GetSetComponent_Landroid_content_ComponentName_Handler")]
public virtual Android.Content.Intent SetComponent (Android.Content.ComponentName component);
abstract member SetComponent : Android.Content.ComponentName -> Android.Content.Intent
override this.SetComponent : Android.Content.ComponentName -> Android.Content.Intent

Parameters

component
ComponentName ComponentName

The name of the application component to handle the intent, or null to let the system find one for you.

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.

Applies to

See also