DragEvent.ClipDescription Property

Definition

Returns the android.content.ClipDescription object contained in the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop().

public virtual Android.Content.ClipDescription? ClipDescription { [Android.Runtime.Register("getClipDescription", "()Landroid/content/ClipDescription;", "GetGetClipDescriptionHandler")] get; }
[<get: Android.Runtime.Register("getClipDescription", "()Landroid/content/ClipDescription;", "GetGetClipDescriptionHandler")>]
member this.ClipDescription : Android.Content.ClipDescription

Property Value

The ClipDescription that was part of the ClipData sent to the system by startDragAndDrop().

Attributes

Remarks

Returns the android.content.ClipDescription object contained in the android.content.ClipData object sent to the system as part of the call to android.view.View#startDragAndDrop(ClipData,View.DragShadowBuilder,Object,int) startDragAndDrop(). The drag handler or listener for a View can use the metadata in this object to decide if the View can accept the dragged View object's data.

This method returns valid data for all event actions except for #ACTION_DRAG_ENDED.

Java documentation for android.view.DragEvent.getClipDescription().

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