Språk

RouteListingItemSelectionBehavior Enum

Definition

Specifies the user-selection behavior of a route-list entry.

public enum RouteListingItemSelectionBehavior
type RouteListingItemSelectionBehavior = 
Inheritance
RouteListingItemSelectionBehavior

Fields

Name Value Description
None 0

The corresponding route is not selectable by the user.

Android reference for android.media.RouteListingPreference.Item.SELECTION_BEHAVIOR_NONE.

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.

Transfer 1

If the user selects the corresponding route, the media transfers to the said route.

Android reference for android.media.RouteListingPreference.Item.SELECTION_BEHAVIOR_TRANSFER.

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.

GoToApp 2

If the user selects the corresponding route, the system takes the user to the application. The system uses RouteListingPreference.getLinkedItemComponentName() in order to navigate to the app.

Android reference for android.media.RouteListingPreference.Item.SELECTION_BEHAVIOR_GO_TO_APP.

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.

Remarks

An entry can be unselectable, transfer playback to its route, or open the application through the listing preference's linked component.

Applies to