| Modifier and Type | Field and Description |
|---|---|
protected Set<CastDeviceCapability> |
CastDevice.capabilities
The
Set of CastDeviceCapabilitys for the cast device |
| Modifier and Type | Method and Description |
|---|---|
static CastDeviceCapability |
CastDeviceCapability.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CastDeviceCapability[] |
CastDeviceCapability.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<CastDeviceCapability> |
CastDevice.getCapabilities() |
static EnumSet<CastDeviceCapability> |
CastDeviceCapability.getCastDeviceCapabilities(int value)
Generates a
Set of CastDeviceCapabilities that
corresponds to the specified "ca" value from the device's
DNS-SD record. |
| Constructor and Description |
|---|
CastDevice(String dnsName,
InetAddress address,
int port,
String deviceURL,
String serviceName,
String uniqueId,
Set<CastDeviceCapability> capabilities,
String friendlyName,
String modelName,
int protocolVersion,
String iconPath,
boolean autoReconnect)
Creates a new instance using the specified parameters.
|
CastDevice(String dnsName,
InetAddress address,
String deviceURL,
String serviceName,
String uniqueId,
Set<CastDeviceCapability> capabilities,
String friendlyName,
String modelName,
int protocolVersion,
String iconPath,
boolean autoReconnect)
Creates a new instance using the specified parameters and
Channel.STANDARD_DEVICE_PORT. |
CastDevice(String dnsName,
String hostname,
int port,
String deviceURL,
String serviceName,
String uniqueId,
Set<CastDeviceCapability> capabilities,
String friendlyName,
String modelName,
int protocolVersion,
String iconPath,
boolean autoReconnect)
Creates a new instance using the specified parameters.
|
CastDevice(String dnsName,
String hostname,
String deviceURL,
String serviceName,
String uniqueId,
Set<CastDeviceCapability> capabilities,
String friendlyName,
String modelName,
int protocolVersion,
String iconPath,
boolean autoReconnect)
Creates a new instance using the specified parameters and
Channel.STANDARD_DEVICE_PORT. |
Copyright © 2022. All rights reserved.