public class SonosPlaybackStatus extends Object
SonosPlaybackStatus class.
| Constructor and Description |
|---|
SonosPlaybackStatus()
Constructor for SonosPlaybackStatus.
|
SonosPlaybackStatus(SonosPlaybackPolicy availablePlaybackActions,
String itemId,
SonosPlaybackState playbackState,
SonosPlayMode playModes,
Integer positionMillis,
String previousItemId,
Integer previousPositionMillis,
String queueVersion)
Constructor for SonosPlaybackStatus.
|
| Modifier and Type | Method and Description |
|---|---|
SonosPlaybackPolicy |
getAvailablePlaybackActions()
Getter for the field
availablePlaybackActions. |
String |
getItemId()
Getter for the field
itemId. |
SonosPlaybackState |
getPlaybackState()
Getter for the field
playbackState. |
SonosPlayMode |
getPlayModes()
Getter for the field
playModes. |
Integer |
getPositionMillis()
Getter for the field
positionMillis. |
String |
getPreviousItemId()
Getter for the field
previousItemId. |
Integer |
getPreviousPositionMillis()
Getter for the field
previousPositionMillis. |
String |
getQueueVersion()
Getter for the field
queueVersion. |
void |
setAvailablePlaybackActions(SonosPlaybackPolicy availablePlaybackActions)
Setter for the field
availablePlaybackActions. |
void |
setItemId(String itemId)
Setter for the field
itemId. |
void |
setPlaybackState(SonosPlaybackState playbackState)
Setter for the field
playbackState. |
void |
setPlayModes(SonosPlayMode playModes)
Setter for the field
playModes. |
void |
setPositionMillis(Integer positionMillis)
Setter for the field
positionMillis. |
void |
setPreviousItemId(String previousItemId)
Setter for the field
previousItemId. |
void |
setPreviousPositionMillis(Integer previousPositionMillis)
Setter for the field
previousPositionMillis. |
void |
setQueueVersion(String queueVersion)
Setter for the field
queueVersion. |
String |
toString() |
public SonosPlaybackStatus()
Constructor for SonosPlaybackStatus.
public SonosPlaybackStatus(SonosPlaybackPolicy availablePlaybackActions, String itemId, SonosPlaybackState playbackState, SonosPlayMode playModes, Integer positionMillis, String previousItemId, Integer previousPositionMillis, String queueVersion)
Constructor for SonosPlaybackStatus.
availablePlaybackActions - a SonosPlaybackPolicy object.itemId - a String object.playbackState - a SonosPlaybackState object.playModes - a SonosPlayMode object.positionMillis - a Integer object.previousItemId - a String object.previousPositionMillis - a Integer object.queueVersion - a String object.public SonosPlaybackPolicy getAvailablePlaybackActions()
Getter for the field availablePlaybackActions.
SonosPlaybackPolicy object.public void setAvailablePlaybackActions(SonosPlaybackPolicy availablePlaybackActions)
Setter for the field availablePlaybackActions.
availablePlaybackActions - a SonosPlaybackPolicy object.public void setItemId(String itemId)
Setter for the field itemId.
itemId - a String object.public SonosPlaybackState getPlaybackState()
Getter for the field playbackState.
SonosPlaybackState object.public void setPlaybackState(SonosPlaybackState playbackState)
Setter for the field playbackState.
playbackState - a SonosPlaybackState object.public SonosPlayMode getPlayModes()
Getter for the field playModes.
SonosPlayMode object.public void setPlayModes(SonosPlayMode playModes)
Setter for the field playModes.
playModes - a SonosPlayMode object.public Integer getPositionMillis()
Getter for the field positionMillis.
Integer object.public void setPositionMillis(Integer positionMillis)
Setter for the field positionMillis.
positionMillis - a Integer object.public String getPreviousItemId()
Getter for the field previousItemId.
String object.public void setPreviousItemId(String previousItemId)
Setter for the field previousItemId.
previousItemId - a String object.public Integer getPreviousPositionMillis()
Getter for the field previousPositionMillis.
Integer object.public void setPreviousPositionMillis(Integer previousPositionMillis)
Setter for the field previousPositionMillis.
previousPositionMillis - a Integer object.public String getQueueVersion()
Getter for the field queueVersion.
String object.public void setQueueVersion(String queueVersion)
Setter for the field queueVersion.
queueVersion - a String object.Copyright © 2018. All rights reserved.