Stay organized with collections
Save and categorize content based on your preferences.
permission_group
class permission_group
Summary
Constants |
static String |
Used for permissions that are associated with activity recognition.
|
static String |
Used for runtime permissions related to user's calendar.
|
static String |
Used for permissions that are associated telephony features.
|
static String |
Used for permissions that are associated with accessing camera or capturing images/video from the device.
|
static String |
Used for runtime permissions related to contacts and profiles on this device.
|
static String |
Used for permissions that allow accessing the device location.
|
static String |
Used for permissions that are associated with accessing microphone audio from the device.
|
static String |
Required to be able to discover and connect to nearby Bluetooth devices.
|
static String |
Used for permissions that are associated with posting notifications
|
static String |
Used for permissions that are associated telephony features.
|
static String |
Required to be able to read audio files from shared storage.
|
static String |
Required to be able to read image and video files from shared storage.
|
static String |
Used for permissions that are associated with accessing body or environmental sensors.
|
static String |
Used for runtime permissions related to user's SMS messages.
|
static String |
Used for runtime permissions related to the shared external storage.
|
Constants
ACTIVITY_RECOGNITION
static val ACTIVITY_RECOGNITION: String
Used for permissions that are associated with activity recognition.
Value: "android.permission-group.ACTIVITY_RECOGNITION"
CALENDAR
static val CALENDAR: String
Used for runtime permissions related to user's calendar.
Value: "android.permission-group.CALENDAR"
CALL_LOG
static val CALL_LOG: String
Used for permissions that are associated telephony features.
Value: "android.permission-group.CALL_LOG"
CAMERA
static val CAMERA: String
Used for permissions that are associated with accessing camera or capturing images/video from the device.
Value: "android.permission-group.CAMERA"
static val CONTACTS: String
Used for runtime permissions related to contacts and profiles on this device.
Value: "android.permission-group.CONTACTS"
LOCATION
static val LOCATION: String
Used for permissions that allow accessing the device location.
Value: "android.permission-group.LOCATION"
MICROPHONE
static val MICROPHONE: String
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.
Value: "android.permission-group.MICROPHONE"
NEARBY_DEVICES
static val NEARBY_DEVICES: String
Required to be able to discover and connect to nearby Bluetooth devices.
Protection level: dangerous
Value: "android.permission-group.NEARBY_DEVICES"
NOTIFICATIONS
static val NOTIFICATIONS: String
Used for permissions that are associated with posting notifications
Value: "android.permission-group.NOTIFICATIONS"
PHONE
static val PHONE: String
Used for permissions that are associated telephony features.
Value: "android.permission-group.PHONE"
static val READ_MEDIA_AURAL: String
Required to be able to read audio files from shared storage.
Protection level: dangerous
Value: "android.permission-group.READ_MEDIA_AURAL"
static val READ_MEDIA_VISUAL: String
Required to be able to read image and video files from shared storage.
Protection level: dangerous
Value: "android.permission-group.READ_MEDIA_VISUAL"
SENSORS
static val SENSORS: String
Used for permissions that are associated with accessing body or environmental sensors.
Value: "android.permission-group.SENSORS"
SMS
static val SMS: String
Used for runtime permissions related to user's SMS messages.
Value: "android.permission-group.SMS"
STORAGE
static val STORAGE: String
Used for runtime permissions related to the shared external storage.
Value: "android.permission-group.STORAGE"
Public constructors
permission_group
permission_group()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Manifest.permission_group\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\npermission_group\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/Manifest.permission_group \"View this page in Java\") \n\n```\nclass permission_group\n```\n\n|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.Manifest.permission_group](#) |\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ACTIVITY_RECOGNITION](#ACTIVITY_RECOGNITION:kotlin.String) Used for permissions that are associated with activity recognition. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CALENDAR](#CALENDAR:kotlin.String) Used for runtime permissions related to user's calendar. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CALL_LOG](#CALL_LOG:kotlin.String) Used for permissions that are associated telephony features. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CAMERA](#CAMERA:kotlin.String) Used for permissions that are associated with accessing camera or capturing images/video from the device. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTACTS](#CONTACTS:kotlin.String) Used for runtime permissions related to contacts and profiles on this device. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LOCATION](#LOCATION:kotlin.String) Used for permissions that allow accessing the device location. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MICROPHONE](#MICROPHONE:kotlin.String) Used for permissions that are associated with accessing microphone audio from the device. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NEARBY_DEVICES](#NEARBY_DEVICES:kotlin.String) Required to be able to discover and connect to nearby Bluetooth devices. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NOTIFICATIONS](#NOTIFICATIONS:kotlin.String) Used for permissions that are associated with posting notifications |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PHONE](#PHONE:kotlin.String) Used for permissions that are associated telephony features. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [READ_MEDIA_AURAL](#READ_MEDIA_AURAL:kotlin.String) Required to be able to read audio files from shared storage. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [READ_MEDIA_VISUAL](#READ_MEDIA_VISUAL:kotlin.String) Required to be able to read image and video files from shared storage. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SENSORS](#SENSORS:kotlin.String) Used for permissions that are associated with accessing body or environmental sensors. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SMS](#SMS:kotlin.String) Used for runtime permissions related to user's SMS messages. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [STORAGE](#STORAGE:kotlin.String) Used for runtime permissions related to the shared external storage. |\n\n| Public constructors ||\n|----------------------------------------------------|---|\n| [permission_group](#permission_group())`()` \u003cbr /\u003e |\n\nConstants\n---------\n\n### ACTIVITY_RECOGNITION\n\nAdded in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ACTIVITY_RECOGNITION: String\n```\n\nUsed for permissions that are associated with activity recognition. \n\n Value: \"android.permission-group.ACTIVITY_RECOGNITION\"\n\n### CALENDAR\n\nAdded in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CALENDAR: String\n```\n\nUsed for runtime permissions related to user's calendar. \n\n Value: \"android.permission-group.CALENDAR\"\n\n### CALL_LOG\n\nAdded in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CALL_LOG: String\n```\n\nUsed for permissions that are associated telephony features. \n\n Value: \"android.permission-group.CALL_LOG\"\n\n### CAMERA\n\nAdded in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CAMERA: String\n```\n\nUsed for permissions that are associated with accessing camera or capturing images/video from the device. \n\n Value: \"android.permission-group.CAMERA\"\n\n### CONTACTS\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTACTS: String\n```\n\nUsed for runtime permissions related to contacts and profiles on this device. \n\n Value: \"android.permission-group.CONTACTS\"\n\n### LOCATION\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LOCATION: String\n```\n\nUsed for permissions that allow accessing the device location. \n\n Value: \"android.permission-group.LOCATION\"\n\n### MICROPHONE\n\nAdded in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MICROPHONE: String\n```\n\nUsed 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. \n\n Value: \"android.permission-group.MICROPHONE\"\n\n### NEARBY_DEVICES\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NEARBY_DEVICES: String\n```\n\nRequired to be able to discover and connect to nearby Bluetooth devices.\n\nProtection level: dangerous \n\n Value: \"android.permission-group.NEARBY_DEVICES\"\n\n### NOTIFICATIONS\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NOTIFICATIONS: String\n```\n\nUsed for permissions that are associated with posting notifications \n\n Value: \"android.permission-group.NOTIFICATIONS\"\n\n### PHONE\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PHONE: String\n```\n\nUsed for permissions that are associated telephony features. \n\n Value: \"android.permission-group.PHONE\"\n\n### READ_MEDIA_AURAL\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val READ_MEDIA_AURAL: String\n```\n\nRequired to be able to read audio files from shared storage.\n\nProtection level: dangerous \n\n Value: \"android.permission-group.READ_MEDIA_AURAL\"\n\n### READ_MEDIA_VISUAL\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val READ_MEDIA_VISUAL: String\n```\n\nRequired to be able to read image and video files from shared storage.\n\nProtection level: dangerous \n\n Value: \"android.permission-group.READ_MEDIA_VISUAL\"\n\n### SENSORS\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SENSORS: String\n```\n\nUsed for permissions that are associated with accessing body or environmental sensors. \n\n Value: \"android.permission-group.SENSORS\"\n\n### SMS\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SMS: String\n```\n\nUsed for runtime permissions related to user's SMS messages. \n\n Value: \"android.permission-group.SMS\"\n\n### STORAGE\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val STORAGE: String\n```\n\nUsed for runtime permissions related to the shared external storage. \n\n Value: \"android.permission-group.STORAGE\"\n\nPublic constructors\n-------------------\n\n### permission_group\n\n```\npermission_group()\n```"]]