Sdílet prostřednictvím


MediaRoute2ProviderService.OnSelectRoute(Int64, String, String) Method

Definition

Called when a client requests selecting a route for the session.

[Android.Runtime.Register("onSelectRoute", "(JLjava/lang/String;Ljava/lang/String;)V", "GetOnSelectRoute_JLjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public abstract void OnSelectRoute (long requestId, string sessionId, string routeId);
[<Android.Runtime.Register("onSelectRoute", "(JLjava/lang/String;Ljava/lang/String;)V", "GetOnSelectRoute_JLjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member OnSelectRoute : 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 selecting a route for the session. After the route is selected, call #notifySessionUpdated(RoutingSessionInfo) to update session info.

Java documentation for android.media.MediaRoute2ProviderService.onSelectRoute(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