MediaRoute2ProviderService.OnTransferToRoute(Int64, String, String) Method

Definition

Called when a client requests transferring a session to a route.

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

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