随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 80424

文章分类 -  MeiOS / Media媒体

上一页 1 2
pauseAudio 暂停录音播放
摘要:pauseAudio ^6.8 暂停录音播放 #请求参数 N/A #接口调用示例 this.$bridge .pauseAudio() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
stopAudio 停止录音播放
摘要:stopAudio ^6.8 停止录音播放 #请求参数 N/A #接口调用示例 this.$bridge .stopAudio() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 P 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(9) 评论(0) 推荐(0) 编辑
compressImage 图片压缩
摘要:compressImage ^6.8 图片压缩 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) quality Number 质量,0-100,默认值80 target String 压缩结果,图片文件路径 #参数代码示例 let params = { 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(10) 评论(0) 推荐(0) 编辑
previewVideo 预览视频
摘要:previewVideo ^6.8 预览视频 #请求参数 Prop Type Comment urls Array 预览的视频地址 #参数代码示例 let params = { urls: ["localVideos/test.mp4", "localVideos/VID_20200930_1448 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(12) 评论(0) 推荐(0) 编辑
previewImage 预览图片
摘要:previewImage ^6.8 预览图片 #请求参数 Prop Type Comment urls Array 预览的图片地址 showSavetoAlbum Boolean 8.1版ios新增参数,是否隐藏预览时右上角三个点,默认显示,IOS专用 true/false #参数代码示例 let 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
chooseImage 选择图片
摘要:chooseImage ^6.8 选择图片 #请求参数 Prop Type Comment pathType Number 这个字段用于区分使用新旧方式选择图片,0:旧方式,1:新方式,默认值为0 count Number 最多可以选择的图片张数,不得大于9 isNeedBase64 Boolean 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
chooseVideo 选择视频
摘要:chooseVideo ^6.8 选择视频 #请求参数 N/A #接口调用示例 this.$bridge .chooseVideo() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(11) 评论(0) 推荐(0) 编辑
stopRecord 停止录音
摘要:stopRecord ^6.8 停止录音 #请求参数 N/A #接口调用示例 this.$bridge .stopRecord() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 P 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(9) 评论(0) 推荐(0) 编辑
startRecord 录音开始
摘要:startRecord ^6.8 录音开始 #请求参数 Prop Type Value Comment path String - 录音记录地址 maxTime number - 录音最长时间 #参数代码示例 let params = { path: "Sounds/20200827x.wav", 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
playAudio 播放录音
摘要:playAudio ^6.8 播放录音 #请求参数 Prop Type Value Comment url String - 播放录音的地址 loop Boolean - 是否循环播放 #接口调用示例 let params = { url: 'Sounds/20200827x.wav', loop: 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
openShare 分享(可分享文本、图片、链接)
摘要:openShare ^6.8 分享(可分享文本、图片、链接) #请求参数 Prop Type Comment text String 文本(ios) imageUrl String 图片地址(ios) url String 链接 (ios) title String 标题 (Android) urc 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(8) 评论(0) 推荐(0) 编辑
scanCode 扫码
摘要:scanCode ^6.8 扫码 #请求参数 N/A #接口调用示例 this.$bridge .scanCode() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 Prop Ty 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑

上一页 1 2
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示