@Immutable public class Device extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
capabilities
The encoded device capabilities
|
protected String |
deviceId
The device ID
|
protected String |
name
The device name
|
protected Volume |
volume
The
Volume instance |
| Constructor and Description |
|---|
Device(String name,
int capabilities,
String deviceId,
Volume volume)
Creates a new instance using the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCapabilities() |
String |
getDeviceId() |
String |
getName() |
Volume |
getVolume() |
String |
toString() |
protected final String name
protected final int capabilities
protected final String deviceId
public String getName()
public int getCapabilities()
CastDeviceCapability.getCastDeviceCapabilities(int) to
decode.public String getDeviceId()
Copyright © 2022. All rights reserved.