赞
踩
Added in API level 23
该权限从API 23开始新增
public final void requestPermissions (String[] permissions, int requestCode)
public final void requestPermissions (String[] 请求权限数组, int 请求代码)
Requests permissions to be granted to this application.
请求授予此应用程序的权限。
These permissions must be requested in your manifest,
这些权限必须在您的清单中请求,
they should not be granted to your app, and they should have protection level dangerous
,
不应授予您的应用程序,并且它们应该具有危险的保护级别,
regardless whether they are declared by the platform or a third-party app.
无论它们是由平台还是第三方应用程序声明的。
Signature permissions PermissionInfo.PROTECTION_SIGNATURE
are granted at install time if requested in the manifest and the signature of your app matches the signature of the app declaring the permissions.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。