MediaRouter.VolumeCallback.OnVolumeSetRequest 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 the volume for the route should be set to the given value
[Android.Runtime.Register("onVolumeSetRequest", "(Landroid/media/MediaRouter$RouteInfo;I)V", "GetOnVolumeSetRequest_Landroid_media_MediaRouter_RouteInfo_IHandler")]
public abstract void OnVolumeSetRequest (Android.Media.MediaRouter.RouteInfo? info, int volume);
[<Android.Runtime.Register("onVolumeSetRequest", "(Landroid/media/MediaRouter$RouteInfo;I)V", "GetOnVolumeSetRequest_Landroid_media_MediaRouter_RouteInfo_IHandler")>]
abstract member OnVolumeSetRequest : Android.Media.MediaRouter.RouteInfo * int -> unit
Parameters
the route affected by this event
- volume
- Int32
an integer indicating the new volume value that should be used, always between 0 and the value set by SetVolumeMax(Int32).
- Attributes
Remarks
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.