HarmonyOS应用开发:应用权限列表

在申请目标权限前,建议开发者先阅读访问控制开发概述-权限的工作流程。对权限的工作流程有基本的了解后,再结合下表判断应用能否申请目标权限,提高开发效率。

权限的使用示例请参考访问控制开发指导

权限名权限级别授权方式ACL使能权限说明
ohos.permission.USE_BLUETOOTHnormalsystem_grantTRUE允许应用查看蓝牙的配置。
ohos.permission.DISCOVER_BLUETOOTHnormalsystem_grantTRUE允许应用配置本地蓝牙,查找远端设备且与之配对连接。
ohos.permission.MANAGE_BLUETOOTHsystem_basicsystem_grantTRUE允许应用配对蓝牙设备,并对设备的电话簿或消息进行访问。
ohos.permission.INTERNETnormalsystem_grantTRUE允许使用Internet网络。
ohos.permission.
MODIFY_AUDIO_SETTINGS
normalsystem_grantTRUE允许应用修改音频设置。
ohos.permission.
ACCESS_NOTIFICATION_POLICY
normalsystem_grantFALSE在本设备上允许应用访问通知策略。
ohos.permission.GET_TELEPHONY_STATEsystem_basicsystem_grantTRUE允许应用读取电话信息。
ohos.permission.REQUIRE_FORMsystem_basicsystem_grantTRUE允许应用获取Ability Form。
ohos.permission.GET_NETWORK_INFOnormalsystem_grantTRUE允许应用获取数据网络信息。
ohos.permission.PLACE_CALLsystem_basicsystem_grantTRUE允许应用直接拨打电话。
ohos.permission.SET_NETWORK_INFOnormalsystem_grantTRUE允许应用配置数据网络。
ohos.permission.REMOVE_CACHE_FILESsystem_basicsystem_grantTRUE允许清理指定应用的缓存。
ohos.permission.REBOOTsystem_basicsystem_grantTRUE允许应用重启设备。
ohos.permission.RUNNING_LOCKnormalsystem_grantTRUE允许应用获取运行锁,保证应用在后台的持续运行。
ohos.permission.SET_TIMEsystem_basicsystem_grantTRUE允许应用修改系统时间。
ohos.permission.SET_TIME_ZONEsystem_basicsystem_grantTRUE允许应用修改系统时区。
ohos.permission.
DOWNLOAD_SESSION_MANAGER
system_coresystem_grantTRUE允许应用管理下载任务会话。
ohos.permission.COMMONEVENT_STICKYnormalsystem_grantTRUE允许应用发布粘性公共事件。
ohos.permission.SYSTEM_FLOAT_WINDOWsystem_basicsystem_grantTRUE允许应用使用悬浮窗的能力。
ohos.permission.PRIVACY_WINDOWsystem_basicsystem_grantTRUE允许应用将窗口设置为隐私窗口,禁止截屏录屏。
ohos.permission.POWER_MANAGERsystem_coresystem_grantTRUE允许应用调用电源管理子系统的接口,休眠或者唤醒设备。
ohos.permission.REFRESH_USER_ACTIONsystem_basicsystem_grantTRUE允许应用在收到用户事件时,重新计算超时时间。
ohos.permission.POWER_OPTIMIZATIONsystem_basicsystem_grantTRUE允许系统应用设置省电模式、获取省电模式的配置信息并接收配置变化的通知。
ohos.permission.REBOOT_RECOVERYsystem_basicsystem_grantTRUE允许系统应用重启设备并进入恢复模式。
ohos.permission.
MANAGE_LOCAL_ACCOUNTS
system_basicsystem_grantTRUE允许应用管理本地用户账号。
ohos.permission.
INTERACT_ACROSS_LOCAL_ACCOUNTS
system_basicsystem_grantTRUE允许多个系统账号之间相互访问。
ohos.permission.VIBRATEnormalsystem_grantTRUE允许应用控制马达振动。
ohos.permission.CONNECT_IME_ABILITYsystem_coresystem_grantTRUE允许绑定输入法Ability(InputMethodAbility)。
ohos.permission.
CONNECT_SCREEN_SAVER_ABILITY
system_coresystem_grantTRUE允许绑定屏保Ability(ScreenSaverAbility)。
ohos.permission.
READ_SCREEN_SAVER
system_basicsystem_grantTRUE允许应用查询屏保状态信息。
ohos.permission.
WRITE_SCREEN_SAVER
system_basicsystem_grantTRUE允许应用修改屏保状态信息。
ohos.permission.SET_WALLPAPERnormalsystem_grantTRUE允许应用设置静态壁纸。
ohos.permission.GET_WALLPAPERsystem_basicsystem_grantTRUE允许应用读取壁纸文件。
ohos.permission.
CHANGE_ABILITY_ENABLED_STATE
system_basicsystem_grantTRUE允许改变应用或者组件的使能状态。
ohos.permission.ACCESS_MISSIONSsystem_basicsystem_grantTRUE允许应用访问任务栈信息。
ohos.permission.
CLEAN_BACKGROUND_PROCESSES
normalsystem_grantTRUE允许应用根据包名清理相关后台进程。
ohos.permission.
KEEP_BACKGROUND_RUNNING
normalsystem_grantTRUE允许Service Ability在后台持续运行。
ohos.permission.
UPDATE_CONFIGURATION
system_basicsystem_grantTRUE允许更新系统配置。
ohos.permission.UPDATE_SYSTEMsystem_basicsystem_grantTRUE允许调用升级接口。
ohos.permission.FACTORY_RESETsystem_basicsystem_grantTRUE允许调用回复出厂接口。
ohos.permission.
GRANT_SENSITIVE_PERMISSIONS
system_coresystem_grantTRUE允许应用为其他应用授予敏感权限。
ohos.permission.
REVOKE_SENSITIVE_PERMISSIONS
system_coresystem_grantTRUE允许应用撤销给其他应用授予的敏感信息。
ohos.permission.
GET_SENSITIVE_PERMISSIONS
system_coresystem_grantTRUE允许应用读取其他应用的敏感权限的状态。
ohos.permission.INTERACT_
ACROSS_LOCAL_ACCOUNTS_EXTENSION
system_coresystem_grantTRUE允许应用跨用户对其他应用的属性进行设置。
ohos.permission.LISTEN_BUNDLE_CHANGEsystem_basicsystem_grantTRUE允许应用监听其他应用安装、更新、卸载状态的变化。
ohos.permission.GET_BUNDLE_INFOnormalsystem_grantTRUE允许应用查询其他应用的信息。
ohos.permission.ACCELEROMETERnormalsystem_grantTRUE允许应用读取加速度传感器的数据。
ohos.permission.GYROSCOPEnormalsystem_grantTRUE允许应用读取陀螺仪传感器的数据。
ohos.permission.
GET_BUNDLE_INFO_PRIVILEGED
system_basicsystem_grantTRUE允许应用查询其他应用的信息。
ohos.permission.INSTALL_BUNDLEsystem_coresystem_grantTRUE允许应用安装、卸载其他应用。
ohos.permission.MANAGE_SHORTCUTSsystem_coresystem_grantTRUE允许应用查询其他应用的快捷方式信息、启动其他应用的快捷方式。
ohos.permission.radio.ACCESS_FM_AMsystem_coresystem_grantTRUE允许应用获取收音机相关服务。
ohos.permission.SET_TELEPHONY_STATEsystem_basicsystem_grantTRUE允许应用修改telephone的状态。
ohos.permission.
START_ABILITIES_FROM_BACKGROUND
system_basicsystem_grantTRUE允许应用在后台启动FA。
ohos.permission.BUNDLE_ACTIVE_INFOsystem_basicsystem_grantTRUE允许系统应用查询其他应用在前台或后台的运行时间。
ohos.permission.
START_INVISIBLE_ABILITY
system_coresystem_grantTRUE无论Ability是否可见,都允许应用进行调用。
ohos.permission.sec.ACCESS_UDIDsystem_basicsystem_grantTRUE允许系统应用获取UDID。
ohos.permission.
LAUNCH_DATA_PRIVACY_CENTER
system_basicsystem_grantTRUE允许应用从其隐私声明页面跳转至"数据与隐私"页面。
ohos.permission.MANAGE_MEDIA_RESOURCESsystem_basicsystem_grantTRUE允许应用程序获取当前设备正在播放的媒体资源,并对其进行管理。
ohos.permission.PUBLISH_AGENT_REMINDERnormalsystem_grantTRUE允许该应用使用后台代理提醒。
ohos.permission.
CONTROL_TASK_SYNC_ANIMATOR
system_coresystem_grantTRUE允许应用使用同步任务动画。
ohos.permission.INPUT_MONITORINGsystem_coresystem_grantTRUE允许应用监听输入事件,仅系统签名应用可申请此权限。
ohos.permission.MANAGE_MISSIONSsystem_coresystem_grantTRUE允许用户管理元能力任务栈。
ohos.permission.
NOTIFICATION_CONTROLLER
system_coresystem_grantTRUE允许应用管理通知和订阅通知。
ohos.permission.CONNECTIVITY_INTERNALsystem_basicsystem_grantTRUE允许应用程序获取网络相关的信息或修改网络相关设置。
ohos.permission.SET_ABILITY_CONTROLLERsystem_basicsystem_grantTRUE允许设置ability组件启动和停止控制权。
ohos.permission.USE_USER_IDMsystem_basicsystem_grantFALSE允许应用访问系统身份凭据信息。
ohos.permission.MANAGE_USER_IDMsystem_basicsystem_grantFALSE允许应用使用系统身份凭据管理能力进行口令、人脸、指纹等录入、修改、删除等操作。
ohos.permission.ACCESS_BIOMETRICnormalsystem_grantTRUE允许应用使用生物特征识别能力进行身份认证。
ohos.permission.
ACCESS_USER_AUTH_INTERNAL
system_basicsystem_grantFALSE允许应用使用系统身份认证能力进行用户身份认证或身份识别。
ohos.permission.ACCESS_PIN_AUTHsystem_basicsystem_grantFALSE允许应用使用口令输入接口,用于系统应用完成口令输入框绘制场景。
ohos.permission.GET_RUNNING_INFOsystem_basicsystem_grantTRUE允许应用获取运行态信息。
ohos.permission.CLEAN_APPLICATION_DATAsystem_basicsystem_grantTRUE允许应用清理应用数据。
ohos.permission.RUNNING_STATE_OBSERVERsystem_basicsystem_grantTRUE允许应用观察应用状态。
ohos.permission.CAPTURE_SCREENsystem_coresystem_grantTRUE允许应用截取屏幕图像。
ohos.permission.GET_WIFI_INFOnormalsystem_grantTRUE允许应用获取WLAN信息。
ohos.permission.GET_WIFI_INFO_INTERNALsystem_coresystem_grantTRUE允许应用获取WLAN信息。
ohos.permission.SET_WIFI_INFOnormalsystem_grantTRUE允许应用配置WLAN设备。
ohos.permission.GET_WIFI_PEERS_MACsystem_coresystem_grantTRUE允许应用获取对端WLAN或者蓝牙设备的MAC地址。
ohos.permission.GET_WIFI_LOCAL_MACsystem_basicsystem_grantTRUE允许应用获取本机WLAN或者蓝牙设备的MAC地址。
ohos.permission.GET_WIFI_CONFIGsystem_basicsystem_grantTRUE允许应用获取WLAN配置信息。
ohos.permission.SET_WIFI_CONFIGsystem_basicsystem_grantTRUE允许应用配置WLAN信息。
ohos.permission.
MANAGE_WIFI_CONNECTION
system_coresystem_grantTRUE允许应用管理WLAN连接。
ohos.permission.MANAGE_WIFI_HOTSPOTsystem_coresystem_grantTRUE允许应用开启或者关闭WLAN热点。
ohos.permission.GET_ALL_APP_ACCOUNTSsystem_coresystem_grantFALSE允许应用获取所有应用账户信息。
ohos.permission.MANAGE_SECURE_SETTINGSsystem_basicsystem_grantTRUE允许应用修改安全类系统设置。
ohos.permission.READ_DFX_SYSEVENTsystem_basicsystem_grantFALSE允许获取所有应用账号信息。
ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMINsystem_coresystem_grantTRUE允许应用激活设备管理员应用。
ohos.permission.EDM_MANAGE_DATETIMEnormalsystem_grantFALSE允许设备管理员应用设置系统时间。
ohos.permission.NFC_TAGnormalsystem_grantFALSE允许应用读取Tag卡片。
ohos.permission.NFC_CARD_EMULATIONnormalsystem_grantFALSE允许应用实现卡模拟功能。
ohos.permission.PERMISSION_USED_STATSsystem_basicsystem_grantTRUE允许系统应用访问权限使用记录。
ohos.permission.
NOTIFICATION_AGENT_CONTROLLER
system_coresystem_grantTRUE允许应用发送代理通知。
ohos.permission.ANSWER_CALLsystem_basicuser_grantTRUE允许应用接听来电。
ohos.permission.READ_CALENDARnormaluser_grantTRUE允许应用读取日历信息。
ohos.permission.READ_CALL_LOGsystem_basicuser_grantTRUE允许应用读取通话记录。
ohos.permission.READ_CELL_MESSAGESsystem_basicuser_grantTRUE允许应用读取设备收到的小区广播信息。
ohos.permission.READ_CONTACTSsystem_basicuser_grantTRUE允许应用读取联系人数据。
ohos.permission.READ_MESSAGESsystem_basicuser_grantTRUE允许应用读取短信息。
ohos.permission.RECEIVE_MMSsystem_basicuser_grantTRUE允许应用接收和处理彩信。
ohos.permission.RECEIVE_SMSsystem_basicuser_grantTRUE允许应用接收和处理短信。
ohos.permission.RECEIVE_WAP_MESSAGESsystem_basicuser_grantTRUE允许应用接收和处理WAP消息。
ohos.permission.MICROPHONEnormaluser_grantTRUE允许应用使用麦克风。
ohos.permission.SEND_MESSAGESsystem_basicuser_grantTRUE允许应用发送短信。
ohos.permission.WRITE_CALENDARnormaluser_grantTRUE允许应用添加、移除或更改日历活动。
ohos.permission.WRITE_CALL_LOGsystem_basicuser_grantTRUE允许应用添加、移除或更改通话记录。
ohos.permission.WRITE_CONTACTSsystem_basicuser_grantTRUE允许应用添加、移除或更改联系人数据。
ohos.permission.DISTRIBUTED_DATASYNCnormaluser_grantTRUE允许不同设备间的数据交换。
ohos.permission.MANAGE_VOICEMAILsystem_basicuser_grantTRUE允许应用在语音信箱中留言
ohos.permission.
LOCATION_IN_BACKGROUND
normaluser_grantFALSE允许应用在后台运行时获取设备位置信息。
ohos.permission.LOCATIONnormaluser_grantTRUE允许应用获取设备位置信息。
ohos.permission.APPROXIMATELY_LOCATIONnormaluser_grantFALSE允许应用获取设备模糊位置信息。
ohos.permission.MEDIA_LOCATIONnormaluser_grantTRUE允许应用访问用户媒体文件中的地理位置信息。
ohos.permission.CAMERAnormaluser_grantTRUE允许应用使用相机拍摄照片和录制视频。
ohos.permission.READ_MEDIAnormaluser_grantTRUE允许应用读取用户外部存储中的媒体文件信息。
ohos.permission.WRITE_MEDIAnormaluser_grantTRUE允许应用读写用户外部存储中的媒体文件信息。
ohos.permission.ACTIVITY_MOTIONnormaluser_grantTRUE允许应用读取用户当前的运动状态。
ohos.permission.READ_HEALTH_DATAnormaluser_grantTRUE允许应用读取用户的健康数据。
ohos.permission.GET_DEFAULT_APPLICATIONsystem_coresystem_grantTRUE允许应用查询默认应用。
ohos.permission.SET_DEFAULT_APPLICATIONsystem_coresystem_grantTRUE允许应用设置、重置默认应用。
ohos.permission.
MANAGE_DISPOSED_APP_STATUS
system_coresystem_grantTRUE允许设置和查询应用的处置状态。
ohos.permission.ACCESS_IDSsystem_coresystem_grantTRUE允许应用查询设备的唯一标识符信息。
ohos.permission.DUMPsystem_coresystem_grantTRUE允许导出系统基础信息和SA服务信息。
ohos.permission.
DISTRIBUTED_SOFTBUS_CENTER
system_basicsystem_grantFALSE允许不同设备之间进行组网处理。
ohos.permission.ACCESS_DLP_FILEsystem_coresystem_grantTRUE允许对DLP文件进行权限配置和管理。
ohos.permission.PROVISIONING_MESSAGEsystem_coresystem_grantTRUE允许激活超级设备管理器应用。
ohos.permission.
ACCESS_SYSTEM_SETTINGS
system_basicsystem_grantTRUE允许应用接入或拉起系统设置界面。
ohos.permission.READ_IMAGEVIDEOsystem_basicuser_grantTRUE允许读取用户公共目录的图片或视频文件。
ohos.permission.READ_AUDIOsystem_basicuser_grantTRUE允许读取用户公共目录的音频文件。
ohos.permission.READ_DOCUMENTsystem_basicuser_grantTRUE允许读取用户公共目录的文档。
ohos.permission.WRITE_IMAGEVIDEOsystem_basicuser_grantTRUE允许修改用户公共目录的图片或视频文件。
ohos.permission.WRITE_AUDIOsystem_basicuser_grantTRUE允许修改用户公共目录的音频文件。
ohos.permission.WRITE_DOCUMENTsystem_basicuser_grantTRUE允许修改用户公共目录的文档。
ohos.permission.ABILITY_BACKGROUND_COMMUNICATIONsystem_basicsystem_grantTRUE允许应用将Ability组件在后台启动并与该Ability建立通信连接。
ohos.permission.securityguard.REPORT_SECURITY_INFOsystem_basicsystem_grantFALSE允许应用上报风险数据至设备风险管理平台。
ohos.permission.securityguard.REQUEST_SECURITY_MODEL_RESULTsystem_basicsystem_grantTRUE允许应用获取设备风险状态。
ohos.permission.securityguard.REQUEST_SECURITY_EVENT_INFOsystem_coresystem_grantFALSE允许应用获取风险详细数据。
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值