|
@@ -0,0 +1,21 @@
|
|
|
|
+项目:朗读小咖秀插件
|
|
|
|
+插件ID:wxf1a06dafa3350688
|
|
|
|
+插件版本:1.0.58
|
|
|
|
+
|
|
|
|
+### Android端方法---JS调用方法:
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
+##### 初始化插件(通过反射赋值application以及topActivity)
|
|
|
|
+##### initPluginMethod(data: JSONObject?, callback: (data: Any) -> Unit)---->initPlugin(({}), (res) => {})
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
+##### 初始化权限
|
|
|
|
+##### initPermission(data: JSONObject?, callback: (data: Any) -> Unit)---->initPermissions(({'permissionArr': permissionArr}), (res) => {})
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
+##### 获取deviceUUID,SyncJsApi,直接返回值
|
|
|
|
+##### getDeviceUUID(data: JSONObject?)---->getDeviceUuid({})
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
+##### 检查是否有权限(接收小程序传参),直接返回boolean值
|
|
|
|
+##### checkPermission(data: JSONObject?)---->checkPermission({})
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|
|
|
|
+##### 获取SN,直接返回值
|
|
|
|
+##### getAndroidSN(data: JSONObject?)---->AndroidSN({})
|
|
|
|
+-----------------------------------------------------------------------------------------------------------------------
|