语言

View.DragFlagGlobal 字段

定义

注意

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

指示拖动可以跨越窗口边界的标志。

[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

字段值

Value = 256
特性

注解

指示拖动可以跨越窗口边界的标志。 使用此标志集调用时 #startDragAndDrop(ClipData, DragShadowBuilder, Object, int) ,具有 targetSdkVersion >= android.os.Build.VERSION_CODES#N API 24 的所有可见应用程序将能够参与拖动操作并接收拖动的内容。

如果这是唯一设置的标志,则拖动收件人只能访问对象中包含的 ClipData 文本数据和意向。 对包含在其中的 ClipData URI 的访问由其他 DRAG_FLAG_GLOBAL_* 标志确定

Java文档android.view.View.DRAG_FLAG_GLOBAL。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于