Share via


ContentProvider.SetPathPermissions(PathPermission[]) Method

Definition

Change the path-based permission required to read and/or write data in the content provider.

[Android.Runtime.Register("setPathPermissions", "([Landroid/content/pm/PathPermission;)V", "")]
protected void SetPathPermissions (Android.Content.PM.PathPermission[]? permissions);
[<Android.Runtime.Register("setPathPermissions", "([Landroid/content/pm/PathPermission;)V", "")>]
member this.SetPathPermissions : Android.Content.PM.PathPermission[] -> unit

Parameters

permissions
PathPermission[]

Array of path permission descriptions.

Attributes

Remarks

Change the path-based permission required to read and/or write data in the content provider. This is normally set for you from its manifest information when the provider is first created.

Java documentation for android.content.ContentProvider.setPathPermissions(android.content.pm.PathPermission[]).

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