android中文api:Manifest.permission group

Manifest.permission group:

英文原文:http://developer.android.com/reference/android/Manifest.permission_group.html
版本:Android 4.0 r1
譯者署名:Zhao Xing
譯者鏈接:http://blog.csdn.net/hn307165411
Manifest.permission group


常量

public static final String ACCOUNTS

Permissions for direct access to the accounts managed by the Account Manager. 直接訪問由賬戶管理者管理的賬戶的權限。

Constant Value: "android.permission-group.ACCOUNTS"


public static final String COST_MONEY

Used for permissions that can be used to make the user spend money without their direct involvement. For example, this is the group for permissions that allow you to directly place phone calls, directly send SMS messages, etc. 讓用戶以不直接的方式花錢的權限。比如,一組讓你直接打電話和發短信的權限。

Constant Value: "android.permission-group.COST_MONEY"


public static final String DEVELOPMENT_TOOLS

Group of permissions that are related to development features. These are not permissions that should appear in normal applications; they protect APIs that are intended only to be used for development purposes.

一組和開發特性有關的權限。這是一些不應該出現在普通應用程序中的權限;他們用來保護僅僅是用來作爲開發的API。

Constant Value: "android.permission-group.DEVELOPMENT_TOOLS"


public static final String HARDWARE_CONTROLS

Used for permissions that provide direct access to the hardware on the device. This includes audio, the camera, vibrator, etc.

直接使用設備上的硬件的權限,包括音頻,相機,振動器等

Constant Value: "android.permission-group.HARDWARE_CONTROLS"


public static final String LOCATION

Used for permissions that allow access to the user's current location.

獲取用戶現在位置的權限。

Constant Value: "android.permission-group.LOCATION"


public static final String MESSAGES

Used for permissions that allow an application to send messages on behalf of the user or intercept messages being received by the user. This is primarily intended for SMS/MMS messaging, such as receiving or reading an MMS.

使應用程序可以代表用戶發送和攔截短信的權限。主要針對SMS/MMS,如接收和閱讀MMS。

Constant Value: "android.permission-group.MESSAGES"


public static final String NETWORK

Used for permissions that provide access to networking services. The main permission here is internet access, but this is also an appropriate group for accessing or modifying any network configuration or other related network operations.

使用網絡服務的權限。最主要的權限是訪問因特網,但是這也是可以使用和修改任意網絡配置和使用其他相關網絡的一組權限。

Constant Value: "android.permission-group.NETWORK"


public static final String PERSONAL_INFO

Used for permissions that provide access to the user's private data, such as contacts, calendar events, e-mail messages, etc. This includes both reading and writing of this data (which should generally be expressed as two distinct permissions).

提供訪問用戶隱私數據的權限,如聯繫人,日曆,e-mail等。包括讀和寫的權限(一般都需要清楚的表明爲兩個權限)

Constant Value: "android.permission-group.PERSONAL_INFO"


public static final String PHONE_CALLS

Used for permissions that are associated with accessing and modifyign telephony state: intercepting outgoing calls, reading and modifying the phone state. Note that placing phone calls is not in this group, since that is in the more important "takin' yer moneys" group.

與使用和修改電話狀態有關的權限:攔截呼出電話,讀取和修改電話狀態。記住,自從打電話的權限放在更重要的“花錢”的組裏之後,就已經不在這個組了。

Constant Value: "android.permission-group.PHONE_CALLS"


public static final String STORAGE

Group of permissions that are related to SD card access.

使用SD卡的先關權限。

Constant Value: "android.permission-group.STORAGE"


public static final String SYSTEM_TOOLS

Group of permissions that are related to system APIs. Many of these are not permissions the user will be expected to understand, and such permissions should generally be marked as "normal" protection level so they don't get displayed. This can also, however, be used for miscellaneous features that provide access to the operating system, such as writing the global system settings.

與系統API相關的權限。他們中的大部分是用戶不能理解的,這樣的權限一般都被標記爲普通的保護級別,所以他們一般不顯示。然而,這也可以被用於訪問操作系統提供的雜項功能。比如修改GPS的設置。

Constant Value: "android.permission-group.SYSTEM_TOOLS"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章