Share via


RouteListingPreference.LinkedItemComponentName Property

Definition

Returns a ComponentName for navigating to the application.

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

Property Value

Attributes

Remarks

Returns a ComponentName for navigating to the application.

Must not be null if any of the #getItems() items of this route listing preference has Item#getSelectionBehavior() selection behaviorItem#SELECTION_BEHAVIOR_GO_TO_APP.

The system navigates to the application when the user selects Item with Item#SELECTION_BEHAVIOR_GO_TO_APP by launching an intent to the returned ComponentName, using action #ACTION_TRANSFER_MEDIA, with the extra #EXTRA_ROUTE_ID.

Java documentation for android.media.RouteListingPreference.getLinkedItemComponentName().

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