You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -116,18 +116,18 @@ public SdlFile(@NonNull StaticIconName staticIconName){
116
116
* Sets the name of the file
117
117
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
Copy file name to clipboardExpand all lines: javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,23 +52,23 @@ public SdlArtwork(){}
52
52
53
53
/**
54
54
* Creates a new instance of SdlArtwork
55
-
* @param fileName a String value representing the name that will be used to store the file in the head unit
55
+
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
56
56
* @param fileType a FileType enum value representing the type of the file
57
57
* @param filePath a String value representing the the location of the file
58
58
* @param persistentFile a boolean value that indicates if the file is meant to persist between sessions / ignition cycles
* @param fileName a String value representing the name that will be used to store the file in the head unit
66
+
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
67
67
* @param fileType a FileType enum value representing the type of the file
68
68
* @param data a byte array representing the data of the file
69
69
* @param persistentFile a boolean value that indicates if the file is meant to persist between sessions / ignition cycles
* A class representing data to be uploaded to core
40
44
*/
@@ -45,6 +49,8 @@ public class SdlFile{
45
49
privateFileTypefileType;
46
50
privatebooleanpersistentFile;
47
51
privatebooleanisStaticIcon;
52
+
privatebooleanshouldAutoGenerateName;
53
+
48
54
49
55
/**
50
56
* Creates a new instance of SdlFile
@@ -53,49 +59,59 @@ public SdlFile(){}
53
59
54
60
/**
55
61
* Creates a new instance of SdlFile
56
-
* @param fileName a String value representing the name that will be used to store the file in the head unit
62
+
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
57
63
* @param fileType a FileType enum value representing the type of the file
58
64
* @param filePath a String value representing the the location of the file
59
65
* @param persistentFile a boolean value that indicates if the file is meant to persist between sessions / ignition cycles
* @param fileName a String value representing the name that will be used to store the file in the head unit
76
+
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
71
77
* @param fileType a FileType enum value representing the type of the file
72
78
* @param data a byte array representing the data of the file
73
79
* @param persistentFile a boolean value that indicates if the file is meant to persist between sessions / ignition cycles
* @param fileName a String value representing the name that will be used to store the file in the head unit
96
-
*/
97
-
publicvoidsetName(@NonNullStringfileName){
98
-
this.fileName = fileName;
101
+
* @param fileName a String value representing the name that will be used to store the file in the head unit. You can pass null if you want the library to auto generate the name
0 commit comments