View.DragFlagGlobalPersistableUriPermission Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.

When this flag is used with #DRAG_FLAG_GLOBAL_URI_READ and/or #DRAG_FLAG_GLOBAL_URI_WRITE, the URI permission grant can be persisted across device reboots until explicitly revoked with android.content.Context#revokeUriPermission(Uri, int) Context.

[Android.Runtime.Register("DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.", true)]
public const Android.Views.DragFlags DragFlagGlobalPersistableUriPermission = 64;
[<Android.Runtime.Register("DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.", true)>]
val mutable DragFlagGlobalPersistableUriPermission : Android.Views.DragFlags

Field Value

Value = 64
Attributes

Remarks

When this flag is used with #DRAG_FLAG_GLOBAL_URI_READ and/or #DRAG_FLAG_GLOBAL_URI_WRITE, the URI permission grant can be persisted across device reboots until explicitly revoked with android.content.Context#revokeUriPermission(Uri, int) Context.revokeUriPermission}.

Java documentation for android.view.View.DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION.

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