DragEvent

Class of android.view · DragEvent.java · Android's reference

public class DragEvent implements android.os.Parcelable

A drag and drop event.

Fields

public static final int ACTION_DRAG_STARTED = 1 source
public static final int ACTION_DRAG_LOCATION = 2 source
public static final int ACTION_DROP = 3 source
public static final int ACTION_DRAG_ENDED = 4 source
public static final int ACTION_DRAG_ENTERED = 5 source
public static final int ACTION_DRAG_EXITED = 6 source

Methods

public int getAction() source
public float getX() source
public float getY() source
public android.content.ClipData getClipData() source
public android.content.ClipDescription getClipDescription() source
public Object getLocalState() source
public boolean getResult() source
public int describeContents() source
public void writeToParcel(android.os.Parcel dest, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.