summaryrefslogtreecommitdiff
path: root/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/SubscribeWayPointsResponse.java
blob: 8ca946c5c65df85704b760562b535b551f8bb6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.smartdevicelink.proxy.rpc;

import android.support.annotation.NonNull;

import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCResponse;
import com.smartdevicelink.proxy.rpc.enums.Result;

import java.util.Hashtable;

public class SubscribeWayPointsResponse extends RPCResponse {

    public SubscribeWayPointsResponse() {
        super(FunctionID.SUBSCRIBE_WAY_POINTS.toString());
    }
    public SubscribeWayPointsResponse(Hashtable<String, Object> hash) {
        super(hash);
    }

	/**
	 * Constructs a new SubscribeWayPointsResponse object
	 * @param success whether the request is successfully processed
	 * @param resultCode whether the request is successfully processed
	 */
	public SubscribeWayPointsResponse(@NonNull Boolean success, @NonNull Result resultCode) {
		this();
		setSuccess(success);
		setResultCode(resultCode);
	}
}