|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object javax.media.CaptureDeviceInfo
public class CaptureDeviceInfo
A CaptureDeviceInfo
object contains information about a particular capture device.
字段摘要 | |
---|---|
protected Format[] |
formats
The output formats supported by a device. |
protected MediaLocator |
locator
A MediaLocator that identifies a device. |
protected java.lang.String |
name
A String that contains the name of a device. |
构造方法摘要 | |
---|---|
CaptureDeviceInfo()
Constructs a CaptureDeviceInfo object with null attributes. |
|
CaptureDeviceInfo(java.lang.String name,
MediaLocator locator,
Format[] formats)
Constructs a CaptureDeviceInfo object with the specified name, media
locator, and array of Format objects. |
方法摘要 | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Format[] |
getFormats()
Gets a list of the output formats supported by this device. |
MediaLocator |
getLocator()
Gets the MediaLocator needed to create a DataSource
for this device through the Manager . |
java.lang.String |
getName()
Gets the name of this device. |
java.lang.String |
toString()
|
从类 java.lang.Object 继承的方法 |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
protected java.lang.String name
String
that contains the name of a device.
protected MediaLocator locator
MediaLocator
that identifies a device.
protected Format[] formats
构造方法详细信息 |
---|
public CaptureDeviceInfo(java.lang.String name, MediaLocator locator, Format[] formats)
CaptureDeviceInfo
object with the specified name, media
locator, and array of Format
objects.
name
- A String
that contains the name of the device.locator
- The MediaLocator
that uniquely specifies the device.formats
- An array of the output formats supported by the device.public CaptureDeviceInfo()
CaptureDeviceInfo
object with null attributes.
方法详细信息 |
---|
public Format[] getFormats()
Format
array that contains the output formats supported by this device.public MediaLocator getLocator()
MediaLocator
needed to create a DataSource
for this device through the Manager
. The MediaLocator
is unique--no two devices can use the same locator.
MediaLocator
that uniquely specifies this device.public java.lang.String getName()
String
that describes this device.public boolean equals(java.lang.Object obj)
java.lang.Object
中的 equals
public java.lang.String toString()
java.lang.Object
中的 toString
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |