Compartir a través de


MediaRoute2ProviderService.OnSetRouteVolume(Int64, String, Int32) Method

Definition

Called when a volume setting is requested on a route of the provider

[Android.Runtime.Register("onSetRouteVolume", "(JLjava/lang/String;I)V", "GetOnSetRouteVolume_JLjava_lang_String_IHandler", ApiSince=30)]
public abstract void OnSetRouteVolume (long requestId, string routeId, int volume);
[<Android.Runtime.Register("onSetRouteVolume", "(JLjava/lang/String;I)V", "GetOnSetRouteVolume_JLjava_lang_String_IHandler", ApiSince=30)>]
abstract member OnSetRouteVolume : int64 * string * int -> unit

Parameters

requestId
Int64

the ID of this request

routeId
String

the ID of the route

volume
Int32

the target volume

Attributes

Remarks

Called when a volume setting is requested on a route of the provider

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

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