RequiredContentUriPermission Enum

Definition

Defines required URI permissions for a component caller.

public enum RequiredContentUriPermission
type RequiredContentUriPermission = 
Inheritance
RequiredContentUriPermission

Fields

Name Value Description
None 0

Default, no specific permissions are required.

Read 1

Enforces the invoker to have read access to the passed content URIs.

Write 2

Enforces the invoker to have write access to the passed content URIs.

ReadOrWrite 3

Enforces the invoker to have either read or write access to the passed content URIs.

ReadAndWrite 4

Enforces the invoker to have write access to the passed content URIs.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to