Android.Media.AudioManager.AdjustSuggestedStreamVolume Method
Adjusts the volume of the most relevant stream, or the given fallback stream.

Syntax

[Android.Runtime.Register("adjustSuggestedStreamVolume", "(III)V", "GetAdjustSuggestedStreamVolume_IIIHandler")]
public virtual void AdjustSuggestedStreamVolume ([Android.Runtime.GeneratedEnum] Adjust direction, [Android.Runtime.GeneratedEnum] Stream suggestedStreamType, [Android.Runtime.GeneratedEnum] VolumeNotificationFlags flags)

See Also

AudioManager.AdjustVolume(Adjust, Android.Media.VolumeNotificationFlags)
AudioManager.AdjustStreamVolume(Stream, Android.Media.Adjust, Android.Media.Adjust)
AudioManager.SetStreamVolume(Stream, System.Int32, System.Int32)
AudioManager.IsVolumeFixed

Parameters

direction
The direction to adjust the volume. One of AudioManager.ADJUST_LOWER, AudioManager.ADJUST_RAISE, or AudioManager.ADJUST_SAME.
suggestedStreamType
The stream type that will be used if there isn't a relevant stream. AudioManager.UseDefaultStreamType is valid here.
flags
One or more flags.

Remarks

Adjusts the volume of the most relevant stream, or the given fallback stream.

This method should only be used by applications that replace the platform-wide management of audio settings or the main telephony application.

This method has no effect if the device implements a fixed volume policy as indicated by AudioManager.IsVolumeFixed.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1