Manifest.permission_group | API reference | Android Developers (original) (raw)
public static final class Manifest.permission_groupextends [Object](/reference/java/lang/Object) ``
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 | NEARBY_DEVICES Required to be able to discover and connect to nearby Bluetooth devices. |
| String | NOTIFICATIONS Used for permissions that are associated with posting notifications |
| String | PHONE Used for permissions that are associated telephony features. |
| String | READ_MEDIA_AURAL Required to be able to read audio files from shared storage. |
| String | READ_MEDIA_VISUAL Required to be able to read image and video files from shared storage. |
| 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 |
|---|
| From class java.lang.Object Object clone() Creates and returns a copy of this object. boolean equals(Object obj) Indicates whether some other object is "equal to" this one. void finalize() Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. finalClass<?> getClass() Returns the runtime class of this Object. int hashCode() Returns a hash code value for the object. final void notify() Wakes up a single thread that is waiting on this object's monitor. final void notifyAll() Wakes up all threads that are waiting on this object's monitor. String toString() Returns a string representation of the object. final void wait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. final void wait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. final void wait() Causes the current thread to wait until it is awakened, typically by being notified or interrupted. |
Constants
ACTIVITY_RECOGNITION
public static final String ACTIVITY_RECOGNITION
Used for permissions that are associated with activity recognition.
Constant Value: "android.permission-group.ACTIVITY_RECOGNITION"
CALENDAR
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
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
public static final String CONTACTS
Used for runtime permissions related to contacts and profiles on this device.
Constant Value: "android.permission-group.CONTACTS"
LOCATION
public static final String LOCATION
Used for permissions that allow accessing the device location.
Constant Value: "android.permission-group.LOCATION"
MICROPHONE
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"
NEARBY_DEVICES
public static final String NEARBY_DEVICES
Required to be able to discover and connect to nearby Bluetooth devices.
Protection level: dangerous
Constant Value: "android.permission-group.NEARBY_DEVICES"
NOTIFICATIONS
public static final String NOTIFICATIONS
Used for permissions that are associated with posting notifications
Constant Value: "android.permission-group.NOTIFICATIONS"
PHONE
public static final String PHONE
Used for permissions that are associated telephony features.
Constant Value: "android.permission-group.PHONE"
READ_MEDIA_AURAL
public static final String READ_MEDIA_AURAL
Required to be able to read audio files from shared storage.
Protection level: dangerous
Constant Value: "android.permission-group.READ_MEDIA_AURAL"
READ_MEDIA_VISUAL
public static final String READ_MEDIA_VISUAL
Required to be able to read image and video files from shared storage.
Protection level: dangerous
Constant Value: "android.permission-group.READ_MEDIA_VISUAL"
SENSORS
public static final String SENSORS
Used for permissions that are associated with accessing body or environmental sensors.
Constant Value: "android.permission-group.SENSORS"
SMS
public static final String SMS
Used for runtime permissions related to user's SMS messages.
Constant Value: "android.permission-group.SMS"
STORAGE
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 ()