Stream Enum
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.
Enumerates values returned by several types and taken as a parameter of several types.
public enum Stream
type Stream =
- Inheritance
-
Stream
Fields
| Name | Value | Description |
|---|---|---|
| NotificationDefault | -1 | Use this constant as the value for audioStreamType to request that the default stream type for notifications be used. |
| VoiceCall | 0 | Used to identify the volume of audio streams for phone calls Android reference for 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. |
| System | 1 | Used to identify the volume of audio streams for system sounds Android reference for 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. |
| Ring | 2 | Used to identify the volume of audio streams for the phone ring Android reference for 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. |
| Music | 3 | Used to identify the volume of audio streams for music playback Android reference for 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. |
| Alarm | 4 | Used to identify the volume of audio streams for alarms Android reference for 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. |
| Notification | 5 | Used to identify the volume of audio streams for notifications Android reference for 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. |
| Dtmf | 8 | Used to identify the volume of audio streams for DTMF Tones Android reference for 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. |
| Accessibility | 10 | Used to identify the volume of audio streams for accessibility prompts Android reference for 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. |
Remarks
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.