1 package com.smartdevicelink.proxy.rpc;
\r
3 import java.util.Hashtable;
\r
5 import com.smartdevicelink.proxy.RPCResponse;
\r
6 import com.smartdevicelink.proxy.constants.Names;
\r
9 * Alert Response is sent, when Alert has been called
\r
11 * @since SmartDeviceLink 1.0
\r
13 public class AlertResponse extends RPCResponse {
\r
16 * Constructs a new AlertResponse object
\r
18 public AlertResponse() {
\r
23 * Constructs a new AlertResponse object indicated by the Hashtable
\r
28 * The Hashtable to use
\r
30 public AlertResponse(Hashtable hash) {
\r
33 public Integer getTryAgainTime() {
\r
34 return (Integer) parameters.get(Names.tryAgainTime);
\r
36 public void setTryAgainTime(Integer tryAgainTime) {
\r
37 if (tryAgainTime != null) {
\r
38 parameters.put(Names.tryAgainTime, tryAgainTime);
\r
40 parameters.remove(Names.tryAgainTime);
\r