AudioManager.GetStreamVolume(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current volume index for a particular stream.
[Android.Runtime.Register("getStreamVolume", "(I)I", "GetGetStreamVolume_IHandler")]
public virtual int GetStreamVolume (Android.Media.Stream streamType);
[<Android.Runtime.Register("getStreamVolume", "(I)I", "GetGetStreamVolume_IHandler")>]
abstract member GetStreamVolume : Android.Media.Stream -> int
override this.GetStreamVolume : Android.Media.Stream -> int
Parameters
- streamType
- Stream
The stream type whose volume index is returned.
Returns
The current volume index for the stream.
- Attributes
Remarks
Returns the current volume index for a particular stream.
Java documentation for android.media.AudioManager.getStreamVolume(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
- GetStreamMaxVolume(Stream)
- <xref:Android.Media.AudioManager.SetStreamVolume(Android.Media.Stream%2c+System.Int32%2c+System.Int32)>