Share via


AudioManager.GetStreamMaxVolume(Stream) Method

Definition

Returns the maximum volume index for a particular stream.

[Android.Runtime.Register("getStreamMaxVolume", "(I)I", "GetGetStreamMaxVolume_IHandler")]
public virtual int GetStreamMaxVolume (Android.Media.Stream streamType);
[<Android.Runtime.Register("getStreamMaxVolume", "(I)I", "GetGetStreamMaxVolume_IHandler")>]
abstract member GetStreamMaxVolume : Android.Media.Stream -> int
override this.GetStreamMaxVolume : Android.Media.Stream -> int

Parameters

streamType
Stream

The stream type whose maximum volume index is returned.

Returns

The maximum valid volume index for the stream.

Attributes

Remarks

Returns the maximum volume index for a particular stream.

Java documentation for android.media.AudioManager.getStreamMaxVolume(int).

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.

Applies to

See also