文章分类 -  DolphinHybrid

上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
pauseAudio 暂停录音播放
摘要:pauseAudio ^6.8 暂停录音播放 #请求参数 N/A #接口调用示例 this.$bridge .pauseAudio() .then((res) => { this.$alert(res) }) .catch((err) => { this.$toast(err) }) #返回参数 成 阅读全文
posted @ 2024-12-20 09:10 AtlasLapetos 阅读(27) 评论(0) 推荐(0)
stopAudio 停止录音播放
摘要:stopAudio ^6.8 停止录音播放 #请求参数 N/A #接口调用示例 this.$bridge .stopAudio() .then((res) => { this.$alert(res); }) .catch((err) => { this.$toast(err); }); #返回参数 阅读全文
posted @ 2024-12-20 09:05 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
playAudio 播放音频
摘要:playAudio ^6.8 播放音频。支持远程 url 和本地相对路径(即在 WeexApp 目录下的文件)。 美的美居 v8.12 支持久回调。 #请求参数 Prop Type Required Default Comment url String Y '' 播放录音的地址 loop Boole 阅读全文
posted @ 2024-12-19 09:30 AtlasLapetos 阅读(34) 评论(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-19 09:30 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
startRecord 录音开始
摘要:startRecord ^6.8 录音开始 #请求参数 Prop Type Required Default Comment path String Y N/A 本地录音文件相对路径 maxTime Number N N/A 录音最长时间,单位是否为妙 #接口调用示例 const params = 阅读全文
posted @ 2024-12-19 09:30 AtlasLapetos 阅读(9) 评论(0) 推荐(0)
getImageMetaData 获取图片原始数据
摘要:getImageMetaData ^6.8 获取图片原始数据 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) #参数代码示例 let params = { src: 'localImages/weex_1598499691_0.jpg' } #接口调用 阅读全文
posted @ 2024-12-19 09:30 AtlasLapetos 阅读(21) 评论(0) 推荐(0)
compressImage 图片压缩
摘要:compressImage ^6.8 图片压缩 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) quality Number 质量,0-100,默认值80 target String 压缩结果,图片文件路径 #参数代码示例 let params = { 阅读全文
posted @ 2024-12-19 09:30 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-19 09:30 AtlasLapetos 阅读(14) 评论(0) 推荐(0)
previewImage 预览图片
摘要:previewImage ^6.8 预览图片 #请求参数 Prop Type Comment urls Array 预览的图片地址 showSavetoAlbum Boolean 8.1版ios新增参数,是否隐藏预览时右上角三个点,默认显示,IOS专用 true/false #参数代码示例 let 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(9) 评论(0) 推荐(0)
chooseImage 选择图片
摘要:chooseImage ^6.8 选择图片 #请求参数 Prop Type Comment pathType Number 这个字段用于区分使用新旧方式选择图片,0:旧方式,1:新方式,默认值为0 count Number 最多可以选择的图片张数,不得大于9 isNeedBase64 Boolean 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(40) 评论(0) 推荐(0)
chooseVideo 选择视频
摘要:chooseVideo ^6.8 选择视频 #请求参数 N/A #接口调用示例 this.$bridge .chooseVideo() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 成功时返回 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(10) 评论(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-19 09:29 AtlasLapetos 阅读(21) 评论(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-19 09:29 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
updateRoomInfo 更新房间信息
摘要:updateRoomInfo ^7.9 更新房间信息 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 roomId String N/A 房间id, 必须 name String N/A 必须, 房间名称 des String N/ 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
deleteRoom 删除房间
摘要:deleteRoom ^7.9 删除房间 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 roomId String N/A 房间id, 必须 #接口调用示例 const params = { "homeId": "家庭id 必填" 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
createRoom 创建房间
摘要:createRoom ^7.9 创建房间 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 name String N/A 必须, 房间名称 des String N/A 非必须,描述 icon String N/A 必须,图标(1- 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
getAllRoomInfoList 获取房间列表
摘要:getAllRoomInfoList ^7.9 获取房间列表 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 hasDeviceInfo String N/A 0:不包含设备列表数据,1:包含房间下设备列表数据 #接口调用示例 co 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
getRoomInfo 获取房间信息
摘要:getRoomInfo ^7.9 获取房间信息 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 roomId String N/A 房间id 必填 hasDeviceInfo String N/A 0:不包含设备列表数据,1:包含房 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(59) 评论(0) 推荐(0)
refreshHomeInfo 刷新家庭信息
摘要:refreshHomeInfo ^8.9 刷新家庭信息 #请求参数 Prop Type Default Comment homeId String N/A 家庭id, 默认为当前家庭id #接口调用示例 const params = { "homeId": "", } this.$bridge .r 阅读全文
posted @ 2024-12-19 09:29 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
inviteToHome 邀请家庭成员
摘要:inviteToHome ^7.9 邀请家庭成员 #请求参数 Prop Type Default Comment homeId String N/A 家庭id 必填 loginAccount String N/A 被邀请的用户账号 必填 stamp String N/A 图形验证码 非必填 #接口调 阅读全文
posted @ 2024-12-19 09:28 AtlasLapetos 阅读(12) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页