이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

RequiresPermission.Read

public static abstract @interface RequiresPermission.Read
implements Annotation

android.support.annotation.RequiresPermission.Read


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

RequiresPermission value()

Inherited methods

From interface java.lang.annotation.Annotation

Public methods

value

RequiresPermission value ()

Returns
RequiresPermission