Udostępnij za pośrednictwem


Intent.Component Property

Definition

Retrieve the concrete component associated with the intent.

public virtual Android.Content.ComponentName? Component { [Android.Runtime.Register("getComponent", "()Landroid/content/ComponentName;", "GetGetComponentHandler")] get; }
[<get: Android.Runtime.Register("getComponent", "()Landroid/content/ComponentName;", "GetGetComponentHandler")>]
member this.Component : Android.Content.ComponentName

Property Value

The name of the application component to handle the intent.

Attributes

Remarks

Retrieve the concrete component associated with the intent. When receiving an intent, this is the component that was found to best handle it (that is, yourself) and will always be non-null; in all other cases it will be null unless explicitly set.

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

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