diff options
Diffstat (limited to 'base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java')
-rw-r--r-- | base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java index cafd04d88..a19a9c2ea 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/UpdateTurnList.java @@ -75,14 +75,15 @@ public class UpdateTurnList extends RPCRequest{ /** * Sets a list of turns to be shown to the user - * + * * @param turnList * a List<Turn> value representing a list of turns to be shown to the user * <p> * <b>Notes: </b>Minsize=1; Maxsize=100</p> */ - public void setTurnList(List<Turn> turnList){ + public UpdateTurnList setTurnList( List<Turn> turnList) { setParameters(KEY_TURN_LIST, turnList); + return this; } /** @@ -108,7 +109,7 @@ public class UpdateTurnList extends RPCRequest{ /** * Sets the SoftButtons - * + * * @param softButtons * a List<SoftButton> value * <p> @@ -121,8 +122,9 @@ public class UpdateTurnList extends RPCRequest{ * @since SmartDeviceLink 2.0 */ - public void setSoftButtons(List<SoftButton> softButtons){ + public UpdateTurnList setSoftButtons( List<SoftButton> softButtons) { setParameters(KEY_SOFT_BUTTONS, softButtons); + return this; } } |