View.DragFlagGlobal Field

Definition

Caution

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

Flag indicating that a drag can cross window boundaries.

[Android.Runtime.Register("DRAG_FLAG_GLOBAL", 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 DragFlagGlobal = 256;
[<Android.Runtime.Register("DRAG_FLAG_GLOBAL", 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 DragFlagGlobal : Android.Views.DragFlags

Field Value

Value = 256
Attributes

Remarks

Flag indicating that a drag can cross window boundaries. When #startDragAndDrop(ClipData, DragShadowBuilder, Object, int) is called with this flag set, all visible applications with targetSdkVersion >= android.os.Build.VERSION_CODES#N API 24 will be able to participate in the drag operation and receive the dragged content.

If this is the only flag set, then the drag recipient will only have access to text data and intents contained in the ClipData object. Access to URIs contained in the ClipData is determined by other DRAG_FLAG_GLOBAL_* flags

Java documentation for android.view.View.DRAG_FLAG_GLOBAL.

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