API | Operation Description |
Get file download link and info |
//target file nameval targetName = "targetName"//target folderval targetDir = Directory()try {val fileInfo: FileInfo = smh.getFileInfo(name = targetName,dir = targetDir,//historical version numberhistoryId = 123456,//purpose (used to mark the usage scenario of the link)purpose = Purpose.PREVIEW)} catch (e: Exception) {e.printStackTrace()}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback