代码拉取完成,页面将自动刷新
本示例使用Vibrator模块展示了振感定制化的基本功能,包括振感与音效、视频协同振动等。
首页 | 我的 | 视频 |
---|---|---|
使用说明:
entry/src/main/ets/
|---component
| |---Common.ets // 振效库场景公共组件
| |---Battle.ets // 振效库"战斗"场景
| |---Environment.ets // 振效库"环境"场景
| |---Exercise.ets // 振效库"运动"场景
| |---Footstep.ets // 振效库"脚步"场景
| |---Instrument.ets // 振效库"乐器"场景
| |---Interaction.ets // 振效库"互动"场景
| |---Racing.ets // 振效库"竞速"场景
| |---Realistic.ets // 振效库"拟真"场景
| |---Shooting.ets // 振效库"射击"场景
| |---VideoPreview.ets // 视频频预览界面
|---module
| |---AudioPlayer.ets // 音频播放模块
| |---DisplayModule.ets // "发现"界面,主界面
| |---ImageData.ets // 资源数据结构
| |---Logger.ets // 封装的日志
| |---MyInfoModule.ets // "我的"界面
| |---TabBar.ets // 振效库场景类别滑动栏
| |---Util.ets // 工具函数
| |---VideoListModule.ets // 视频列表模块
| |---VideoPlayModule.ets // 视频播放模块
|---pages
| |---Index.ets // 首页
不涉及
1.本示例仅可在支持自定义振动的标准系统上运行。
2.本示例为Stage模型,仅适配API10版本SDK,SDK版本号(API Version 10 Release),镜像版本号(4.0 Release)
3.本示例需要使用DevEco Studio 版本号(4.0 Release)及以上版本才可编译运行。
如需单独下载本工程,执行如下命令:
git init
git config core.sparsecheckout true
echo code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic/ > .git/info/sparse-checkout
git remote add origin https://gitee.com/openharmony/applications_app_samples.git
git pull origin master
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。