ContentProvider.SetReadPermission(String) Method

Definition

Change the permission required to read data from the content provider. This is normally set for you from its manifest information when the provider is first created.

protected void SetReadPermission(string permission);
member this.SetReadPermission : string -> unit

Parameters

permission
String

Name of the permission required for read-only access. This value may be null .

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.

Java documentation for android.content.ContentProvider.setReadPermission(java.lang.String).

Applies to