Activity.RequestDragAndDropPermissions(DragEvent) Method

Definition

Create DragAndDropPermissions object bound to this activity and controlling the access permissions for content URIs associated with the DragEvent.

[Android.Runtime.Register("requestDragAndDropPermissions", "(Landroid/view/DragEvent;)Landroid/view/DragAndDropPermissions;", "GetRequestDragAndDropPermissions_Landroid_view_DragEvent_Handler", ApiSince=24)]
public virtual Android.Views.DragAndDropPermissions? RequestDragAndDropPermissions (Android.Views.DragEvent? e);
[<Android.Runtime.Register("requestDragAndDropPermissions", "(Landroid/view/DragEvent;)Landroid/view/DragAndDropPermissions;", "GetRequestDragAndDropPermissions_Landroid_view_DragEvent_Handler", ApiSince=24)>]
abstract member RequestDragAndDropPermissions : Android.Views.DragEvent -> Android.Views.DragAndDropPermissions
override this.RequestDragAndDropPermissions : Android.Views.DragEvent -> Android.Views.DragAndDropPermissions

Parameters

Returns

The DragAndDropPermissions object used to control access to the content URIs. Null if no content URIs are associated with the event or if permissions could not be granted.

Attributes

Remarks

Create DragAndDropPermissions object bound to this activity and controlling the access permissions for content URIs associated with the DragEvent.

Java documentation for android.app.Activity.requestDragAndDropPermissions(android.view.DragEvent).

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