AudioManager.GetStreamMaxVolume(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 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.