createFolder
abstract fun createFolder(parentFolderId: Long, folderName: String): Call<RemoteFolder>
Content copied to clipboard
Create a new folder.
Create a new folder in the specified folder
For more information, see the related documentation page.
Return
Call resulting in the metadata for the new folder
Parameters
parentFolderId
The id of the parent folder for the newly created folder
folderName
The new folder name
Throws
on a null or empty path
argument.
abstract fun createFolder(parentFolder: RemoteFolder, folderName: String): Call<RemoteFolder>
Content copied to clipboard
Create a folder.
Same as calling createFolder with parentFolderId
taken from folderId.
Return
Parameters
parentFolder
The parent RemoteFolder for the newly created folder. Must not be null.
folderName
The new folder name
Throws
on a null folderName
argument.
Create a new folder.
Create a new folder in the specified folder
For more information, see the related documentation page.
Return
Call resulting in the metadata for the new folder
Parameters
path
The complete path of the new folder
Throws
on a null or empty path
argument.