public static class LineEvent.Type extends Object
LineEvent.getType()
| Modifier and Type | Field and Description |
|---|---|
static LineEvent.Type |
CLOSE
线路关闭时发送的事件类型,释放打开时获取的系统资源。
|
static LineEvent.Type |
OPEN
在线路打开时发送的事件类型,为其自身保留系统资源。
|
static LineEvent.Type |
START
当线路开始从事音频数据的有效输入或输出以响应
start请求时发送的事件类型。
|
static LineEvent.Type |
STOP
当线路停止响应于
stop请求的音频数据的有效输入或输出时,或由于已达到媒体结束时发送的事件类型。
|
public static final LineEvent.Type OPEN
CLOSE ,
Line.open()
public static final LineEvent.Type CLOSE
OPEN ,
Line.close()
public static final LineEvent.Type START
start请求,当线路开始进行音频数据的有效输入或输出时发送的事件类型。
STOP ,
DataLine.start()
public static final LineEvent.Type STOP
stop请求或由于已经达到媒体结束而停止音频数据的有效输入或输出时发送的一种事件。
START ,
DataLine.stop()
protected Type(String name)
name - 类型的名称
public final boolean equals(Object obj)
true如果对象是相同的。
equals在类别
Object
obj - 与之比较的参考对象
true如果此事件类型与obj相同;
false否则
Object.hashCode() , HashMap
public final int hashCode()
hashCode在类别
Object
Object.equals(java.lang.Object) ,
System.identityHashCode(java.lang.Object)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.