View.DragFlagGlobal 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。