Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation
ListFilesResponse

ListFilesResponse Class Reference

Constructors

Instance Methods

Constructors

new ListFilesResponse(parameters)

Initializes an instance of ListFilesResponse.

Instance Methods

listFilesResponse.getFilenames() ⇒ Array.<String>

Get the Filenames

Kind: Instance method of ListFilesResponse
Returns: Array.<String> - the KEY_FILENAMES value

listFilesResponse.getSpaceAvailable() ⇒ Number

Get the SpaceAvailable

Kind: Instance method of ListFilesResponse
Returns: Number - the KEY_SPACE_AVAILABLE value

listFilesResponse.setFilenames(filenames) ⇒ ListFilesResponse

Set the Filenames

Kind: Instance method of ListFilesResponse
Returns: ListFilesResponse - The class instance for method chaining.

ParamTypeDescription
filenames Array.<String> An array of all filenames resident on the module for the given registered app. If omitted, then no files currently reside on the system. - The desired Filenames. {'array_min_size': 0, 'array_max_size': 1000, 'string_min_length': 1, 'string_max_length': 500}

listFilesResponse.setSpaceAvailable(available) ⇒ ListFilesResponse

Set the SpaceAvailable

Kind: Instance method of ListFilesResponse
Returns: ListFilesResponse - The class instance for method chaining.

ParamTypeDescription
available Number Provides the total local space available on the module for the registered app. - The desired SpaceAvailable. {'num_min_value': 0, 'num_max_value': 2000000000}
View on GitHub.com
Previous Section Next Section