Stream Stream Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum Stream
type Stream = 
Inheritance
StreamStream

Fields

Alarm Alarm 4
Dtmf Dtmf 8
Music Music 3
Notification Notification 5
NotificationDefault NotificationDefault -1

Use this constant as the value for audioStreamType to request that the default stream type for notifications be used.

Ring Ring 2
System System 1
VoiceCall VoiceCall 0

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