MediaRoute2ProviderService.OnDeselectRoute(Int64, String, String) Method

Definition

Called when a client requests deselecting a route from the session.

[Android.Runtime.Register("onDeselectRoute", "(JLjava/lang/String;Ljava/lang/String;)V", "GetOnDeselectRoute_JLjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public abstract void OnDeselectRoute (long requestId, string sessionId, string routeId);
[<Android.Runtime.Register("onDeselectRoute", "(JLjava/lang/String;Ljava/lang/String;)V", "GetOnDeselectRoute_JLjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member OnDeselectRoute : int64 * string * string -> unit

Parameters

requestId
Int64

the ID of this request

sessionId
String

the ID of the session

routeId
String

the ID of the route

Attributes

Remarks

Called when a client requests deselecting a route from the session. After the route is deselected, call #notifySessionUpdated(RoutingSessionInfo) to update session info.

Java documentation for android.media.MediaRoute2ProviderService.onDeselectRoute(long, java.lang.String, java.lang.String).

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