ChoiceCell
Boolean
Uint8Array
String
String
Boolean
FileType
Boolean
Boolean
SdlFile
SdlFile
SdlFile
SdlFile
SdlFile
SdlFile
SdlFile
Creates a new instance of SdlFile
ChoiceCell
Creates a deep copy of the object
Kind: Instance method of SdlFile
Returns: ChoiceCell
- A deep copy of the object
Boolean
Checks whether two SdlFiles can be considered equivalent
Kind: Instance method of SdlFile
Returns: Boolean
- Whether the objects are the same or not
Param | Type | Description |
---|---|---|
other | SdlFile |
The object to compare |
Uint8Array
Gets the byte array that represents the content of the file
Kind: Instance method of SdlFile
Returns: Uint8Array
- a byte array representing the data of the file
String
Gets the location of the file
Kind: Instance method of SdlFile
Returns: String
- The path of the file.
String
Gets the name of the file
Kind: Instance method of SdlFile
Returns: String
- a String value representing the name that will be used to store the file in the head unit
Boolean
Gets the overwrite property for an SdlFile
Kind: Instance method of SdlFile
Returns: Boolean
- A boolean value that indicates if the file can be overwritten
FileType
Gets the type of the file
Kind: Instance method of SdlFile
Returns: FileType
- a FileType enum value representing the type of the file
Boolean
Gets whether the file should persist between sessions / ignition cycles
Kind: Instance method of SdlFile
Returns: Boolean
- a boolean value that indicates if the file is meant to persist between sessions / ignition cycles
Boolean
Gets the name of the static file. Static files comes pre-shipped with the head unit
Kind: Instance method of SdlFile
Returns: Boolean
- a StaticIconName enum value representing the name of a static file that comes pre-shipped with the head unit
SdlFile
Sets the byte array that represents the content of the file
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
data | Uint8Array |
a byte array representing the data of the file |
SdlFile
Sets the location of the file
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
filePath | String |
a String value representing the location of the file |
SdlFile
Sets the name of the file
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
fileName | String |
a String value representing the name that will be used to store the file in the head unit |
SdlFile
Sets the overwrite property for an SdlFile
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
overwrite | Boolean |
A boolean value that indicates if the file can be overwritten |
SdlFile
Sets whether the file should persist between sessions / ignition cycles
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
persistentFile | Boolean |
a boolean value that indicates if the file is meant to persist between sessions / ignition cycles |
SdlFile
Sets the name of the static file. Static files comes pre-shipped with the head unit
Kind: Instance method of SdlFile
Returns: SdlFile
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
staticIcon | Boolean |
a StaticIconName enum value representing the name of a static file that comes pre-shipped with the head unit |