重要提示:我们不再接受 Play EMM API 的新注册。
了解详情。
Permissions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源表示形式
Permissions 资源表示要向 Android 应用授予的某项额外功能,需要用户明确同意。企业管理员必须先代表用户同意授予这些权限,然后才可以为应用创建使用权。
权限集合是只读的。为每项权限提供的信息(本地化的名称和说明)应在征得企业同意后在 MDM 界面中使用。
{
"kind": "androidenterprise#permission",
"permissionId": string,
"name": string,
"description": string
}
属性名称 |
值 |
说明 |
备注 |
description |
string |
对“权限”资源的详细描述,更详细地说明了它的影响。 |
|
kind |
string |
|
|
name |
string |
权限的名称。 |
|
permissionId |
string |
唯一标识权限的不透明字符串。 |
|
方法
- get
- 检索 Android 应用权限的详细信息,以便向企业管理员显示。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-08。
[null,null,["最后更新时间 (UTC):2024-09-08。"],[[["\u003cp\u003eA Permissions resource represents an extra capability granted to an Android app requiring explicit consent from an enterprise admin.\u003c/p\u003e\n"],["\u003cp\u003ePermissions resource information is read-only and used to obtain consent from the enterprise within the MDM user interface.\u003c/p\u003e\n"],["\u003cp\u003eEach permission is uniquely identified by an opaque string (permissionId) and includes a localized name and description for display.\u003c/p\u003e\n"],["\u003cp\u003eEnterprise admins must grant consent to these permissions before an entitlement for the app can be created.\u003c/p\u003e\n"]]],[],null,["# Permissions\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\nA Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created. \n\nThe permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.\n\n```text\n{\n \"kind\": \"androidenterprise#permission\",\n \"permissionId\": string,\n \"name\": string,\n \"description\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------|----------|-------------------------------------------------------------------------------------------|-------|\n| `description` | `string` | A longer description of the Permissions resource, giving more details of what it affects. | |\n| `kind` | `string` | | |\n| `name` | `string` | The name of the permission. | |\n| `permissionId` | `string` | An opaque string uniquely identifying the permission. | |\n\nMethods\n-------\n\n[get](/android/work/play/emm-api/v1/permissions/get)\n: Retrieves details of an Android app permission for display to an enterprise admin."]]