Condividi tramite


ChooserResult.SelectedComponent Property

Definition

Provides the component of the Activity selected for results with type when type is ChooserResult#CHOOSER_RESULT_SELECTED_COMPONENT.

public Android.Content.ComponentName? SelectedComponent { [Android.Runtime.Register("getSelectedComponent", "()Landroid/content/ComponentName;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getSelectedComponent", "()Landroid/content/ComponentName;", "", ApiSince=35)>]
member this.SelectedComponent : Android.Content.ComponentName

Property Value

the component name selected

Attributes

Remarks

Provides the component of the Activity selected for results with type when type is ChooserResult#CHOOSER_RESULT_SELECTED_COMPONENT.

For all other types, this value is null.

Java documentation for android.service.chooser.ChooserResult.getSelectedComponent().

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