소스 검색

Updated share AGI documentation

tobychui 3 년 전
부모
커밋
17a4b1018c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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);
 ```