다음을 통해 공유


AudioManager.GetStreamMinVolume(Stream) Method

Definition

Returns the minimum volume index for a particular stream.

[Android.Runtime.Register("getStreamMinVolume", "(I)I", "GetGetStreamMinVolume_IHandler", ApiSince=28)]
public virtual int GetStreamMinVolume (Android.Media.Stream streamType);
[<Android.Runtime.Register("getStreamMinVolume", "(I)I", "GetGetStreamMinVolume_IHandler", ApiSince=28)>]
abstract member GetStreamMinVolume : Android.Media.Stream -> int
override this.GetStreamMinVolume : Android.Media.Stream -> int

Parameters

streamType
Stream

The stream type whose minimum volume index is returned. Must be one of #STREAM_VOICE_CALL, #STREAM_SYSTEM, #STREAM_RING, #STREAM_MUSIC, #STREAM_ALARM, #STREAM_NOTIFICATION, #STREAM_DTMF or #STREAM_ACCESSIBILITY.

Returns

The minimum valid volume index for the stream.

Attributes

Remarks

Returns the minimum volume index for a particular stream.

Java documentation for android.media.AudioManager.getStreamMinVolume(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