View.DragFlagStartIntentSenderOnUnhandledDrag 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 an unhandled drag should be delegated to the system to be started if no visible window wishes to handle the drop.

[Android.Runtime.Register("DRAG_FLAG_START_INTENT_SENDER_ON_UNHANDLED_DRAG", ApiSince=35)]
[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 DragFlagStartIntentSenderOnUnhandledDrag = 8192;
[<Android.Runtime.Register("DRAG_FLAG_START_INTENT_SENDER_ON_UNHANDLED_DRAG", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.DragFlags enum directly instead of this field.", true)>]
val mutable DragFlagStartIntentSenderOnUnhandledDrag : Android.Views.DragFlags

Field Value

Value = 8192
Attributes

Remarks

Flag indicating that an unhandled drag should be delegated to the system to be started if no visible window wishes to handle the drop. When using this flag, the caller must provide ClipData with an Item that contains an immutable IntentSender to an activity to be launched (not a broadcast, service, etc). See ClipData.Item.Builder#setIntentSender(IntentSender).

The system can decide to launch the intent or not based on factors like the current screen size or windowing mode. If the system does not launch the intent, it will be canceled via the normal drag and drop flow.

Java documentation for android.view.View.DRAG_FLAG_START_INTENT_SENDER_ON_UNHANDLED_DRAG.

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