Language

MediaRoute2ProviderServiceReason Enum

Definition

public enum MediaRoute2ProviderServiceReason
type MediaRoute2ProviderServiceReason = 
Inheritance
MediaRoute2ProviderServiceReason

Fields

Name Value Description
UnknownError 0

The request has failed due to unknown reason.

Android reference for android.media.MediaRoute2ProviderService.REASON_UNKNOWN_ERROR.

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.

Rejected 1

The request has failed since this service rejected the request.

Android reference for android.media.MediaRoute2ProviderService.REASON_REJECTED.

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.

NetworkError 2

The request has failed due to a network error.

Android reference for android.media.MediaRoute2ProviderService.REASON_NETWORK_ERROR.

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.

RouteNotAvailable 3

The request has failed since the requested route is no longer available.

Android reference for android.media.MediaRoute2ProviderService.REASON_ROUTE_NOT_AVAILABLE.

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.

InvalidCommand 4

The request has failed since the request is not valid. For example, selecting a route which is not selectable.

Android reference for android.media.MediaRoute2ProviderService.REASON_INVALID_COMMAND.

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