您的位置:首页 > 移动开发 > Android开发

android-Manifest.permission_group

2016-06-20 16:06 471 查看
Manifest.permission_group
public static final class Manifest.permission_group

extends Object
java.lang.Object

android.Manifest.permission_group
Summary

Constants
String
CALENDAR
Used for runtime permissions related to user's calendar.
String
CAMERA
Used for permissions that are associated with accessing camera or capturing images/video from the device.
String
CONTACTS
Used for runtime permissions related to contacts and profiles on this device.
String
LOCATION
Used for permissions that allow accessing the device location.
String
MICROPHONE
Used for permissions that are associated with accessing microphone audio from the device.
String
PHONE
Used for permissions that are associated telephony features.
String
SENSORS
Used for permissions that are associated with accessing camera or capturing images/video from the device.
String
SMS
Used for runtime permissions related to user's SMS messages.
String
STORAGE
Used for runtime permissions related to the shared external storage.
Public constructors
Manifest.permission_group()
Inherited methods
From class java.lang.Object
Constants

CALENDAR
Added in API level 17
String CALENDAR
Used for runtime permissionsrelated to user's calendar.
Constant Value:"android.permission-group.CALENDAR"
CAMERA
Added in API level 17
String CAMERA
Used for permissions that areassociated with accessing camera or capturing images/video from the device.
Constant Value:"android.permission-group.CAMERA"
CONTACTS
Added in API level 23
String CONTACTS
Used for runtime permissionsrelated to contacts and profiles on this device.
Constant Value:"android.permission-group.CONTACTS"
LOCATION
Added in API level 1
String LOCATION
Used for permissions thatallow accessing the device location.
Constant Value:"android.permission-group.LOCATION"
MICROPHONE
Added in API level 17
String MICROPHONE
Used for permissions that areassociated with accessing microphone audio from the device. Note that phonecalls also capture audio but are in a separate (more visible) permission group.
Constant Value:"android.permission-group.MICROPHONE"
PHONE
Added in API level 23
String PHONE
Used for permissions that areassociated telephony features.
Constant Value:"android.permission-group.PHONE"
SENSORS
Added in API level 23
String SENSORS
Used for permissions that areassociated with accessing camera or capturing images/video from the device.
Constant Value:"android.permission-group.SENSORS"
SMS
Added in API level 23
String SMS
Used for runtime permissionsrelated to user's SMS messages.
Constant Value:"android.permission-group.SMS"
STORAGE
Added in API level 4
String STORAGE
Used for runtime permissionsrelated to the shared external storage.
Constant Value:"android.permission-group.STORAGE"
Public constructors

Manifest.permission_group
Added in API level 1
Manifest.permission_group ()
这里面很多都是API23的。如果这个看不懂建议浏览 http://blog.csdn.net/zhou452840622/article/details/51721367 这里参数得很清楚
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: