Skip to content

[html] 第81天 你有用过HTML5的Device API吗?说说它都有哪些应用场景? #576

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第81天 你有用过HTML5的Device API吗?说说它都有哪些应用场景?

Activity

DBTXf

DBTXf commented on Jul 6, 2019

@DBTXf

dial: 拨打电话
beep: 发出蜂鸣声
vibrate: 设备振动
setWakelock: 设置应用是否保持唤醒(屏幕常亮)状态
isWakelock: 获取程序是否一直保持唤醒(屏幕常亮)状态
setVolume: 设置设备的系统音量
getVolume: 获取设备的系统音量

smile-2008

smile-2008 commented on Feb 4, 2021

@smile-2008

dial: 拨打电话
beep: 发出蜂鸣声
vibrate: 设备振动
setWakelock: 设置应用是否保持唤醒(屏幕常亮)状态
isWakelock: 获取程序是否一直保持唤醒(屏幕常亮)状态
setVolume: 设置设备的系统音量
getVolume: 获取设备的系统音量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smile-2008@haizhilin2013@DBTXf

        Issue actions

          [html] 第81天 你有用过HTML5的Device API吗?说说它都有哪些应用场景? · Issue #576 · haizlin/fe-interview