Język

AppFunctionUriGrant(Uri, Int32) Constructor

Definition

Constructs an AppFunctionUriGrant

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;I)V", "", ApiSince=37)]
public AppFunctionUriGrant(Android.Net.Uri uri, int modeFlags);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;I)V", "", ApiSince=37)>]
new Android.App.AppFunctions.AppFunctionUriGrant : Android.Net.Uri * int -> Android.App.AppFunctions.AppFunctionUriGrant

Parameters

uri
Uri

The Uri to be granted.

modeFlags
Int32

The access mode flags. This value must include at least one of FLAG_GRANT_READ_URI_PERMISSION or FLAG_GRANT_WRITE_URI_PERMISSION. It may optionally also include FLAG_GRANT_PREFIX_URI_PERMISSION and FLAG_GRANT_PERSISTABLE_URI_PERMISSION.

Attributes

Remarks

Constructs an AppFunctionUriGrant

Android reference for android.app.appfunctions.AppFunctionUriGrant.AppFunctionUriGrant.

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