Android.Media.VolumeProvider.OnAdjustVolume Method
Override to handle requests to adjust the volume of the current output.

Syntax

[Android.Runtime.Register("onAdjustVolume", "(I)V", "GetOnAdjustVolume_IHandler")]
public virtual void OnAdjustVolume ([Android.Runtime.GeneratedEnum] Adjust direction)

Parameters

direction
The direction to change the volume in.

Remarks

Override to handle requests to adjust the volume of the current output. Direction will be one of AudioManager.ADJUST_LOWER, AudioManager.ADJUST_RAISE, AudioManager.ADJUST_SAME. 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