朗读配音小程序插件

zhangmengjie 4170b8525b 更新 'README.md' 6 months ago
android 852d4215ab 1.first commit 6 months ago
build 852d4215ab 1.first commit 6 months ago
ios 852d4215ab 1.first commit 6 months ago
miniprogram 852d4215ab 1.first commit 6 months ago
.eslintrc.js 852d4215ab 1.first commit 6 months ago
README.md 4170b8525b 更新 'README.md' 6 months ago
project.config.json 852d4215ab 1.first commit 6 months ago
project.miniapp.json 852d4215ab 1.first commit 6 months ago
project.private.config.json 852d4215ab 1.first commit 6 months ago

README.md

项目:朗读小咖秀插件 插件ID:wxf1a06dafa3350688
插件版本:1.0.58

Android端方法---JS调用方法:http://gogs.efunbox.cn/zhangmengjie/mini_plugin/src/a1e06fbc8d8fa5686d44b4dd792d384d253fdab4/miniprogram/pages/android/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({})