摘要:
encodeAES128 ^7.10 AES128加密 #请求参数 Prop Type Default Comment encode String N/A 待加密的密文 key String N/A AES128密钥,选传参数,如果不传则取原生的密钥 #接口调用示例 const params = { 阅读全文
posted @ 2024-12-20 16:12
AtlasLapetos
阅读(15)
评论(0)
推荐(0)
摘要:
decodeAES128 ^7.10 AES128解密 #请求参数 Prop Type Default Comment decode String N/A 待解密的密文 key String N/A AES128密钥,选传参数,如果不传则取原生的密钥 #接口调用示例 const params = { 阅读全文
posted @ 2024-12-20 16:12
AtlasLapetos
阅读(14)
评论(0)
推荐(0)
摘要:
encrypt ^6.8 加密 #请求参数 Prop Type Value Comment type String `[ md5 sha1 data String - 需要加密的数据 key String - type为hmac_sha1时必填 #参数代码示例 let params = { type 阅读全文
posted @ 2024-12-20 16:11
AtlasLapetos
阅读(12)
评论(0)
推荐(0)
摘要:
getLocation ^8.11 获取今日步数。只支持 ios #接口调用示例 this.$bridge .getTodaySteps() .then((res) => { console.log('getTodaySteps-res', res) }) .catch((err) => { con 阅读全文
posted @ 2024-12-20 16:11
AtlasLapetos
阅读(32)
评论(0)
推荐(0)
摘要:
startLocationUpdate ^6.8 监听实时地理位置 #接口调用示例 this.$bridge .startLocationUpdate() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) # 阅读全文
posted @ 2024-12-20 16:11
AtlasLapetos
阅读(16)
评论(0)
推荐(0)
摘要:
getLocation ^6.8 获取当前的地理位置 #接口调用示例 this.$bridge .getLocation() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 Prop 阅读全文
posted @ 2024-12-20 16:10
AtlasLapetos
阅读(15)
评论(0)
推荐(0)
摘要:
saveMediaToAlbum ^8.11 保存视频和图片到指定的相册目录下。默认保存到相册根目录下 #请求参数 Prop Type Required Default Comment filePath String Y N/A 文件路径(本地路径) mediaType String Y N/A 文 阅读全文
posted @ 2024-12-20 16:09
AtlasLapetos
阅读(47)
评论(0)
推荐(0)
摘要:
recordVideo ^4.4.0 #请求参数 Prop Type Required Default Description param Object Y {} 属性: limitCount:{ Type: Number, Default: 1 Description: 视频数量 } limitS 阅读全文
posted @ 2024-12-20 16:09
AtlasLapetos
阅读(17)
评论(0)
推荐(0)
摘要:
convertLocalImageToBase64 ^7.10 转换本地图片成base64数据 #请求参数 Prop Type Default Comment filePath String N/A 图片路径(支持相对路径,全路径) #接口调用示例 const params = { "filePat 阅读全文
posted @ 2024-12-20 15:14
AtlasLapetos
阅读(13)
评论(0)
推荐(0)
摘要:
getDuration ^7.8 获取视频时长 #请求参数 Prop Type Default Comment params String N/A url音频路径 如:/test_jack_record.wav #接口调用示例 const params = '/test_jack_record.wa 阅读全文
posted @ 2024-12-20 15:13
AtlasLapetos
阅读(12)
评论(0)
推荐(0)
摘要:
loop ^7.8 循环播放 #请求参数 Prop Type Required Default Comment params Boolean Y N/A 是否循环播放,true/false #接口调用示例 const params = true this.$bridge .loop(params) 阅读全文
posted @ 2024-12-20 15:13
AtlasLapetos
阅读(12)
评论(0)
推荐(0)
摘要:
seek ^7.8 快进 #请求参数 Prop Type Default Required Comment params Number Y N/A 跳转进度,单位毫秒 #接口调用示例 const params = 6000, this.$bridge .seek(params) .then(res 阅读全文
posted @ 2024-12-20 15:12
AtlasLapetos
阅读(10)
评论(0)
推荐(0)
摘要:
pause ^7.8 暂停录音播放 #请求参数 N/A #接口调用示例 this.$bridge .pause() .then((res) => { this.$alert(res) }) .catch((err) => { this.$toast(err) }) #接口返回示例 N / A #FA 阅读全文
posted @ 2024-12-20 15:12
AtlasLapetos
阅读(10)
评论(0)
推荐(0)
摘要:
stop ^7.8 停止录音播放 #请求参数 N/A #接口调用示例 this.$bridge .stop() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #接口返回示例 N/A #FAQ TIP 回调 阅读全文
posted @ 2024-12-20 15:12
AtlasLapetos
阅读(10)
评论(0)
推荐(0)
摘要:
play ^7.8 播放录音 #请求参数 Prop Type Required Default Comment params String Y N/A url 音频路径 如:'/test_jack_record.wav' #接口调用示例 // 先注册回调接口 this.$bridge.setCall 阅读全文
posted @ 2024-12-20 15:12
AtlasLapetos
阅读(13)
评论(0)
推荐(0)
摘要:
setCallback ^7.8 获取视频、音频播放回调 #请求参数 N/A #接口调用示例 this.$bridge.setCallback( (res) => { console.log(res) }, (err) => { console.log(err) } ) #返回参数 Prop Typ 阅读全文
posted @ 2024-12-20 15:11
AtlasLapetos
阅读(20)
评论(0)
推荐(0)
摘要:
chooseAlbumVideo ^6.8 选择视频 #请求参数 Prop Type Required Default Comment limitCount Number Y N/A 可选视频数量,可选值范围:1-3 limitSize String Y N/A 限制的视频大小,单位为 kb typ 阅读全文
posted @ 2024-12-20 13:42
AtlasLapetos
阅读(13)
评论(0)
推荐(0)
摘要:
getVideoDetails ^6.8 获取视频原始数据 #请求参数 Prop Type Comment src String 视频文件路径(相对路径) #参数代码示例 let params = { src: 'localImages/IMG_003.MOV' } #接口调用示例 let para 阅读全文
posted @ 2024-12-20 13:42
AtlasLapetos
阅读(22)
评论(0)
推荐(0)
摘要:
saveVideoToPhotosAlbum ^6.8 保存视频到相册 #请求参数 Prop Type Comment src String 视频文件路径(相对路径) #参数代码示例 let params = { src: 'localVideos/test.mp4' } #接口调用示例 let p 阅读全文
posted @ 2024-12-20 09:11
AtlasLapetos
阅读(19)
评论(0)
推荐(0)
摘要:
saveImageToPhotosAlbum ^6.8 保存图片到相册 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) 如果是http或者https开头的图片路径则为网络图片,需要下载,其他则是本地图片文件相对路径。优先级最高 base64 Strin 阅读全文
posted @ 2024-12-20 09:11
AtlasLapetos
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号