The Developer Preview for Android 11 is now available; test it out and share your feedback.

DragAndDropPermissionsCompat

class DragAndDropPermissionsCompat
kotlin.Any
   ↳ androidx.core.view.DragAndDropPermissionsCompat

Helper for accessing features in android.view.DragAndDropPermissions a backwards compatible fashion.

Learn more in the guide to using drag permissions in multi-window mode.

Summary

Public methods

Unit

Revoke the permission grant explicitly.

Public methods

release

fun release(): Unit

Revoke the permission grant explicitly.