1 package com.smartdevicelink.proxy.rpc;
\r
3 import java.util.Hashtable;
\r
5 import com.smartdevicelink.proxy.RPCRequest;
\r
6 import com.smartdevicelink.proxy.constants.Names;
\r
9 * Deletes an existing Choice Set identified by the parameter
\r
10 * interactionChoiceSetID. If the specified interactionChoiceSetID is currently
\r
11 * in use by an active <i> {@linkplain PerformInteraction}</i> this call to
\r
12 * delete the Choice Set will fail returning an IN_USE resultCode
\r
14 * Function Group: Base
\r
16 * <b>HMILevel needs to be FULL, LIMITED or BACKGROUD</b><br/>
\r
19 * @since SmartDeviceLink 1.0
\r
20 * @see CreateInteractionChoiceSet
\r
21 * @see PerformInteraction
\r
23 public class DeleteInteractionChoiceSet extends RPCRequest {
\r
26 * Constructs a new DeleteInteractionChoiceSet object
\r
28 public DeleteInteractionChoiceSet() {
\r
29 super("DeleteInteractionChoiceSet");
\r
32 * Constructs a new DeleteInteractionChoiceSet object indicated by the
\r
33 * Hashtable parameter
\r
37 * The Hashtable to use
\r
39 public DeleteInteractionChoiceSet(Hashtable hash) {
\r
43 * Gets a unique ID that identifies the Choice Set
\r
44 * @return Integer -an Integer value representing the unique Choice Set ID
\r
46 public Integer getInteractionChoiceSetID() {
\r
47 return (Integer) parameters.get( Names.interactionChoiceSetID );
\r
50 * Sets a unique ID that identifies the Choice Set
\r
51 * @param interactionChoiceSetID a unique ID that identifies the Choice Set
\r
53 * <b>Notes: </b>Min Value: 0; Max Value: 2000000000
\r
55 public void setInteractionChoiceSetID( Integer interactionChoiceSetID ) {
\r
56 if (interactionChoiceSetID != null) {
\r
57 parameters.put(Names.interactionChoiceSetID, interactionChoiceSetID );
\r