Google is committed to advancing racial equity for Black communities. See how.

Manifest.permission_group

public static final class Manifest.permission_group
extends Object

java.lang.Object
   ↳ android.Manifest.permission_group


Summary

Constants

String ACTIVITY_RECOGNITION

Used for permissions that are associated with activity recognition.

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

permission_group()

Inherited methods

Constants

ACTIVITY_RECOGNITION

Added in API level 29
public static final String ACTIVITY_RECOGNITION

Used for permissions that are associated with activity recognition.

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

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

Added in API level 28
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

permission_group

public permission_group ()