Partager via


MediaRoute2ProviderService.ReasonInvalidCommand Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MediaRoute2ProviderServiceReason enum directly instead of this field.

The request has failed since the request is not valid.

[Android.Runtime.Register("REASON_INVALID_COMMAND", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaRoute2ProviderServiceReason enum directly instead of this field.", true)]
public const Android.Media.MediaRoute2ProviderServiceReason ReasonInvalidCommand = 4;
[<Android.Runtime.Register("REASON_INVALID_COMMAND", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MediaRoute2ProviderServiceReason enum directly instead of this field.", true)>]
val mutable ReasonInvalidCommand : Android.Media.MediaRoute2ProviderServiceReason

Field Value

Value = 4
Attributes

Remarks

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

Java documentation 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