Stream 枚举

定义

枚举多个类型返回的值,并将其作为多个类型的参数。

public enum Stream
type Stream = 
继承
Stream

字段

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

将此常量用作 audioStreamType 的值,以请求使用通知的默认流类型。

Ring 2
System 1
VoiceCall 0

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于