MediaRoute2ProviderService.OnSetSessionVolume(Int64, String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when MediaRouter2.RoutingController#setVolume(int)
is called on
a routing session of the provider
[Android.Runtime.Register("onSetSessionVolume", "(JLjava/lang/String;I)V", "GetOnSetSessionVolume_JLjava_lang_String_IHandler", ApiSince=30)]
public abstract void OnSetSessionVolume (long requestId, string sessionId, int volume);
[<Android.Runtime.Register("onSetSessionVolume", "(JLjava/lang/String;I)V", "GetOnSetSessionVolume_JLjava_lang_String_IHandler", ApiSince=30)>]
abstract member OnSetSessionVolume : int64 * string * int -> unit
Parameters
- requestId
- Int64
the ID of this request
- sessionId
- String
the ID of the routing session
- volume
- Int32
the target volume
- Attributes
Remarks
Called when MediaRouter2.RoutingController#setVolume(int)
is called on a routing session of the provider
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.