lightbulb_outline Please take our October 2018 developer survey. Start survey

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 CALL_LOG

Used for permissions that are associated telephony features.

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 body or environmental sensors.

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

Constants

CALENDAR

added in API level 17
public static final String CALENDAR

Used for runtime permissions related to user's calendar.

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

CALL_LOG

public static final String CALL_LOG

Used for permissions that are associated telephony features.

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

CAMERA

added in API level 17
public static final String CAMERA

Used for permissions that are associated with accessing camera or capturing images/video from the device.

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

CONTACTS

added in API level 23
public static final String CONTACTS

Used for runtime permissions related to contacts and profiles on this device.

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

LOCATION

added in API level 1
public static final String LOCATION

Used for permissions that allow accessing the device location.

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

MICROPHONE

added in API level 17
public static final String MICROPHONE

Used for permissions that are associated with accessing microphone audio from the device. Note that phone calls also capture audio but are in a separate (more visible) permission group.

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

PHONE

added in API level 23
public static final String PHONE

Used for permissions that are associated telephony features.

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

SENSORS

added in API level 23
public static final String SENSORS

Used for permissions that are associated with accessing body or environmental sensors.

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

SMS

added in API level 23
public static final String SMS

Used for runtime permissions related to user's SMS messages.

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

STORAGE

added in API level 4
public static final String STORAGE

Used for runtime permissions related to the shared external storage.

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

Public constructors

Manifest.permission_group

added in API level 1
public Manifest.permission_group ()