Android.Media.VolumeProvider.OnSetVolumeTo Method
Override to handle requests to set the volume of the current output.

Syntax

[Android.Runtime.Register("onSetVolumeTo", "(I)V", "GetOnSetVolumeTo_IHandler")]
public virtual void OnSetVolumeTo (int volume)

Parameters

volume
The volume to set the output to.

Remarks

Override to handle requests to set the volume of the current output. After the volume has been modified VolumeProvider.CurrentVolume must be called to notify the system.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0