Stream Enum

Definition

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 android.media.AudioManager.STREAM_VOICE_CALL.

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 android.media.AudioManager.STREAM_SYSTEM.

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 android.media.AudioManager.STREAM_RING.

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 android.media.AudioManager.STREAM_MUSIC.

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 android.media.AudioManager.STREAM_ALARM.

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 android.media.AudioManager.STREAM_NOTIFICATION.

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 android.media.AudioManager.STREAM_DTMF.

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 android.media.AudioManager.STREAM_ACCESSIBILITY.

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.

Applies to