提交 36859967 编写于 作者: 杜庆泉's avatar 杜庆泉

Update utsandroid.md

上级 970653d0
...@@ -331,7 +331,7 @@ let isUniAppX = UTSAndroid.isUniAppX() ...@@ -331,7 +331,7 @@ let isUniAppX = UTSAndroid.isUniAppX()
console.log("isUniAppX",isUniAppX) console.log("isUniAppX",isUniAppX)
``` ```
### getAppCachePath ### getAppCachePath()
<!-- UTSJSON.UTSAndroid.getAppCachePath.description --> <!-- UTSJSON.UTSAndroid.getAppCachePath.description -->
...@@ -402,7 +402,7 @@ console.log("AppCachePath",appCachePath) ...@@ -402,7 +402,7 @@ console.log("AppCachePath",appCachePath)
<!-- UTSJSON.UTSAndroid.resetPrivacyAgree.compatibility --> <!-- UTSJSON.UTSAndroid.resetPrivacyAgree.compatibility -->
### requestSystemPermission ### requestSystemPermission()
<!-- UTSJSON.UTSAndroid.requestSystemPermission.description --> <!-- UTSJSON.UTSAndroid.requestSystemPermission.description -->
...@@ -428,7 +428,7 @@ console.log("AppCachePath",appCachePath) ...@@ -428,7 +428,7 @@ console.log("AppCachePath",appCachePath)
``` ```
### checkSystemPermissionGranted ### checkSystemPermissionGranted()
<!-- UTSJSON.UTSAndroid.checkSystemPermissionGranted.description --> <!-- UTSJSON.UTSAndroid.checkSystemPermissionGranted.description -->
...@@ -449,7 +449,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis ...@@ -449,7 +449,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis
``` ```
### gotoSystemPermissionActivity ### gotoSystemPermissionActivity()
<!-- UTSJSON.UTSAndroid.gotoSystemPermissionActivity.description --> <!-- UTSJSON.UTSAndroid.gotoSystemPermissionActivity.description -->
...@@ -460,7 +460,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis ...@@ -460,7 +460,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis
<!-- UTSJSON.UTSAndroid.gotoSystemPermissionActivity.compatibility --> <!-- UTSJSON.UTSAndroid.gotoSystemPermissionActivity.compatibility -->
### getSystemPermissionDenied ### getSystemPermissionDenied()
<!-- UTSJSON.UTSAndroid.getSystemPermissionDenied.description --> <!-- UTSJSON.UTSAndroid.getSystemPermissionDenied.description -->
...@@ -478,7 +478,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis ...@@ -478,7 +478,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis
} }
``` ```
### convert2AbsFullPath ### convert2AbsFullPath(path:string)
<!-- UTSJSON.UTSAndroid.convert2AbsFullPath.description --> <!-- UTSJSON.UTSAndroid.convert2AbsFullPath.description -->
...@@ -488,7 +488,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis ...@@ -488,7 +488,7 @@ if (UTSAndroid.checkSystemPermissionGranted(UTSAndroid.getUniActivity()!, permis
<!-- UTSJSON.UTSAndroid.convert2AbsFullPath.compatibility --> <!-- UTSJSON.UTSAndroid.convert2AbsFullPath.compatibility -->
### getFileProviderUri ### getFileProviderUri(file:File)
<!-- UTSJSON.UTSAndroid.getFileProviderUri.description --> <!-- UTSJSON.UTSAndroid.getFileProviderUri.description -->
...@@ -509,9 +509,9 @@ context.startActivity(intent); ...@@ -509,9 +509,9 @@ context.startActivity(intent);
``` ```
<!-- UTSJSON.UTSAndroid.tutorial -->
### getJavaClass
### getJavaClass(any:Any)
<!-- UTSJSON.UTSAndroid.getJavaClass.description --> <!-- UTSJSON.UTSAndroid.getJavaClass.description -->
...@@ -535,7 +535,7 @@ export function getJavaClassTest() : boolean { ...@@ -535,7 +535,7 @@ export function getJavaClassTest() : boolean {
} }
``` ```
### getTopPageActivity ### getTopPageActivity()
<!-- UTSJSON.UTSAndroid.getTopPageActivity.description --> <!-- UTSJSON.UTSAndroid.getTopPageActivity.description -->
...@@ -544,3 +544,7 @@ export function getJavaClassTest() : boolean { ...@@ -544,3 +544,7 @@ export function getJavaClassTest() : boolean {
<!-- UTSJSON.UTSAndroid.getTopPageActivity.returnValue --> <!-- UTSJSON.UTSAndroid.getTopPageActivity.returnValue -->
<!-- UTSJSON.UTSAndroid.getTopPageActivity.compatibility --> <!-- UTSJSON.UTSAndroid.getTopPageActivity.compatibility -->
<!-- UTSJSON.UTSAndroid.tutorial -->
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册