public class SonosPlayer extends Object
SonosPlayer class.
| Constructor and Description |
|---|
SonosPlayer()
Constructor for SonosPlayer.
|
SonosPlayer(String apiVersion,
List<String> deviceIds,
String icon,
String id,
String minApiVersion,
String name,
URI restUrl,
String softwareVersion,
URI websocketUrl,
List<SonosCapability> capabilities)
Constructor for SonosPlayer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApiVersion()
Getter for the field
apiVersion. |
List<SonosCapability> |
getCapabilities()
Getter for the field
capabilities. |
List<String> |
getDeviceIds()
Getter for the field
deviceIds. |
String |
getIcon()
Getter for the field
icon. |
String |
getId()
Getter for the field
id. |
String |
getMinApiVersion()
Getter for the field
minApiVersion. |
String |
getName()
Getter for the field
name. |
URI |
getRestUrl()
Getter for the field
restUrl. |
String |
getSoftwareVersion()
Getter for the field
softwareVersion. |
URI |
getWebsocketUrl()
Getter for the field
websocketUrl. |
void |
setApiVersion(String apiVersion)
Setter for the field
apiVersion. |
void |
setCapabilities(List<SonosCapability> capabilities)
Setter for the field
capabilities. |
void |
setDeviceIds(List<String> deviceIds)
Setter for the field
deviceIds. |
void |
setIcon(String icon)
Setter for the field
icon. |
void |
setId(String id)
Setter for the field
id. |
void |
setMinApiVersion(String minApiVersion)
Setter for the field
minApiVersion. |
void |
setName(String name)
Setter for the field
name. |
void |
setRestUrl(URI restUrl)
Setter for the field
restUrl. |
void |
setSoftwareVersion(String softwareVersion)
Setter for the field
softwareVersion. |
void |
setWebsocketUrl(URI websocketUrl)
Setter for the field
websocketUrl. |
String |
toString() |
public SonosPlayer()
Constructor for SonosPlayer.
public String getApiVersion()
Getter for the field apiVersion.
String object.public void setApiVersion(String apiVersion)
Setter for the field apiVersion.
apiVersion - a String object.public List<String> getDeviceIds()
Getter for the field deviceIds.
List object.public void setDeviceIds(List<String> deviceIds)
Setter for the field deviceIds.
deviceIds - a List object.public void setIcon(String icon)
Setter for the field icon.
icon - a String object.public String getMinApiVersion()
Getter for the field minApiVersion.
String object.public void setMinApiVersion(String minApiVersion)
Setter for the field minApiVersion.
minApiVersion - a String object.public void setName(String name)
Setter for the field name.
name - a String object.public void setRestUrl(URI restUrl)
Setter for the field restUrl.
restUrl - a URI object.public String getSoftwareVersion()
Getter for the field softwareVersion.
String object.public void setSoftwareVersion(String softwareVersion)
Setter for the field softwareVersion.
softwareVersion - a String object.public URI getWebsocketUrl()
Getter for the field websocketUrl.
URI object.public void setWebsocketUrl(URI websocketUrl)
Setter for the field websocketUrl.
websocketUrl - a URI object.public List<SonosCapability> getCapabilities()
Getter for the field capabilities.
List object.public void setCapabilities(List<SonosCapability> capabilities)
Setter for the field capabilities.
capabilities - a List object.Copyright © 2018. All rights reserved.