public class MediaStreamDevice
extends java.lang.Object
Constructor and Description |
---|
MediaStreamDevice(java.lang.String id, java.lang.String name, MediaStreamType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Returns the device's unique ID.
返回设备的唯一ID。 |
java.lang.String |
getName()
Returns the device's "friendly" name or empty string when there's no device name.
如果没有设备名称,则返回设备的“友好”名称或空字符串。 |
MediaStreamType |
getType()
Returns the device's type.
返回设备的类型。 |
int |
hashCode() |
public MediaStreamDevice(java.lang.String id, java.lang.String name, MediaStreamType type)
public java.lang.String getId()
public java.lang.String getName()
public MediaStreamType getType()
public boolean equals(java.lang.Object o)
equals
in class
java.lang.Object
public int hashCode()
hashCode
in class
java.lang.Object