# RequiresPermission.Read

Artifact: [androidx.annotation:annotation](https://developer.android.com/jetpack/androidx/releases/annotation) [View Source](https://cs.android.com/search?q=file:androidx/annotation/RequiresPermission.jvm.kt+class:androidx.annotation.RequiresPermission.Read) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/annotation#1.0.0)

*** ** * ** ***


```
@Target(allowedTargets = [AnnotationTarget.FIELD, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.VALUE_PARAMETER])
public annotation RequiresPermission.Read
```

<br />

*** ** * ** ***

Specifies that the given permission is required for read operations.

When specified on a parameter, the annotation indicates that the method requires a permission which depends on the value of the parameter (and typically the corresponding field passed in will be one of a set of constants which have been annotated with a `@RequiresPermission` annotation.)

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/annotation/RequiresPermission` | `https://developer.android.com/reference/androidx/annotation/RequiresPermission.Read#getValue()()` |

## Public methods

### getValue

```
public final @NonNull RequiresPermission getValue()
```