Sdílet prostřednictvím


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
System 1
Ring 2
Music 3
Alarm 4
Notification 5
Dtmf 8
Accessibility 10

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