ChoiceCellBooleanUint8ArrayStringStringBooleanFileTypeBooleanBooleanSdlFileSdlFileSdlFileSdlFileSdlFileSdlFileSdlFileCreates a new instance of SdlFile
ChoiceCellCreates a deep copy of the object
Kind: Instance method of SdlFile
Returns: ChoiceCell - A deep copy of the object
BooleanChecks 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 |
Uint8ArrayGets 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
StringGets the location of the file
Kind: Instance method of SdlFile
Returns: String - The path of the file.
StringGets 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
BooleanGets the overwrite property for an SdlFile
Kind: Instance method of SdlFile
Returns: Boolean - A boolean value that indicates if the file can be overwritten
FileTypeGets the type of the file
Kind: Instance method of SdlFile
Returns: FileType - a FileType enum value representing the type of the file
BooleanGets 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
BooleanGets 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
SdlFileSets 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 |
SdlFileSets 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 |
SdlFileSets 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 |
SdlFileSets 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 |
SdlFileSets 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 |
SdlFileSets 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 |