Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

RequiresPermission.Write

public static abstract @interface RequiresPermission.Write
implements Annotation

android.support.annotation.RequiresPermission.Write


Specifies that the given permission is required for write 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