Quellcode durchsuchen

Updated share AGI documentation

tobychui vor 3 Jahren
Ursprung
Commit
17a4b1018c
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 3 2
      AGI Documentation.md

+ 3 - 2
AGI Documentation.md

@@ -755,9 +755,10 @@ requirelib("share");
 #### share functions
 
 ```
-share.shareFile("user:/Desktop/test.pptx", 300); //File virtual path and timeout in seconds.
-share.checkShareExists(shareUUID); //Return true / false
+share.shareFile("user:/Desktop/test.pptx", 300); //File virtual path and timeout in seconds, return UUID of share
+share.getFileShareUUID("user:/Desktop/test.pptx"); //Get the share UUID of a given file, return null if not shared
 share.fileIsShared("user:/Desktop/test.pptx"); //Return true / false
+share.checkShareExists(shareUUID); //Return true / false
 share.removeShare(shareUUID);
 ```