harmony 鸿蒙应用权限组列表

  • 2023-10-30
  • 浏览 (454)

应用权限组列表

在申请目标权限前,建议开发者先阅读访问控制开发概述-权限组和子权限,了解权限组和子权限的概念,再合理申请对应的权限组。

当前系统支持权限组如下所示,各子权限的含义请查阅应用权限列表

位置信息

  • ohos.permission.LOCATION_IN_BACKGROUND
  • ohos.permission.LOCATION
  • ohos.permission.APPROXIMATELY_LOCATION

相机

  • ohos.permission.CAMERA

麦克风

  • ohos.permission.MICROPHONE

日历

  • ohos.permission.READ_CALENDAR
  • ohos.permission.WRITE_CALENDAR
  • ohos.permission.READ_WHOLE_CALENDAR
  • ohos.permission.WRITE_WHOLE_CALENDAR

健身运动

  • ohos.permission.ACTIVITY_MOTION

身体传感器

  • ohos.permission.READ_HEALTH_DATA

多设备协同

  • ohos.permission.DISTRIBUTED_DATASYNC

电话

  • ohos.permission.ANSWER_CALL
  • ohos.permission.MANAGE_VOICEMAIL

通讯录

  • ohos.permission.READ_CONTACTS
  • ohos.permission.WRITE_CONTACTS

通话记录

  • ohos.permission.READ_CALL_LOG
  • ohos.permission.WRITE_CALL_LOG

信息

  • ohos.permission.READ_CELL_MESSAGES
  • ohos.permission.READ_MESSAGES
  • ohos.permission.RECEIVE_MMS
  • ohos.permission.RECEIVE_SMS
  • ohos.permission.RECEIVE_WAP_MESSAGES
  • ohos.permission.SEND_MESSAGES

音乐和音频

  • ohos.permission.WRITE_AUDIO
  • ohos.permission.READ_AUDIO

文件

  • ohos.permission.READ_DOCUMENT
  • ohos.permission.WRITE_DOCUMENT
  • ohos.permission.READ_MEDIA
  • ohos.permission.WRITE_MEDIA

图片和视频

  • ohos.permission.WRITE_IMAGEVIDEO
  • ohos.permission.READ_IMAGEVIDEO
  • ohos.permission.MEDIA_LOCATION

广告跟踪

  • ohos.permission.APP_TRACKING_CONSENT

读取已安装应用列表

  • ohos.permission.GET_INSTALLED_BUNDLE_LIST

蓝牙

  • ohos.permission.ACCESS_BLUETOOTH

剪贴板

  • ohos.permission.SECURE_PASTE
  • ohos.permission.READ_PASTEBOARD

你可能感兴趣的鸿蒙文章

harmony 鸿蒙安全

harmony 鸿蒙访问控制授权申请指导

harmony 鸿蒙访问控制(权限)开发概述

harmony 鸿蒙HarmonyAppProvision配置文件说明

harmony 鸿蒙证书开发指导

harmony 鸿蒙证书概述

harmony 鸿蒙加解密算法库框架开发指导

harmony 鸿蒙加解密算法库框架概述

harmony 鸿蒙数据防泄漏(DLP)开发指导

harmony 鸿蒙数据防泄漏(DLP)开发概述

0  赞