summaryrefslogtreecommitdiff
path: root/base/src/main/java/com/smartdevicelink/proxy/rpc/ListFiles.java
blob: d398c0d5dab5ea0d8d985f88a76695506299ba60 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.smartdevicelink.proxy.rpc;

import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCRequest;

import java.util.Hashtable;

/**
 * Requests the current list of resident filenames for the registered app. Not
 * supported on First generation SDL vehicles.
 * 
 * <p><b>Request</b></p>
 * <p>No parameters.</p>
 * <p><b>Response:</b></p>
 * Returns the current list of resident filenames for the registered app along with the current space available.
 * <p><b>Non-default Result Codes:</b></p>
 * <p>SUCCESS</p>
 * <p>INVALID_DATA</p>
 * <p>OUT_OF_MEMORY</p>
 * <p>TOO_MANY_PENDING_REQUESTS</p>
 * <p>APPLICATION_NOT_REGISTERED</p>
 * <p>GENERIC_ERROR </p>   
 * <p>REJECTED</p>
 * @since SmartDeviceLink 2.0
 */
public class ListFiles extends RPCRequest {

	/**
	 * Constructs a new ListFiles object
	 */
    public ListFiles() {
        super(FunctionID.LIST_FILES.toString());
    }

	/**
	 * <p>Constructs a new ListFiles object indicated by the Hashtable parameter
	 * </p>
	 * 
	 * @param hash
	 *            The Hashtable to use
	 */
    public ListFiles(Hashtable<String, Object> hash) {
        super(hash);
    }
}