Stay organized with collections
Save and categorize content based on your preferences.
class DragAndDropPermissionsCompat
Helper for accessing features in DragAndDropPermissions
a backwards compatible fashion.
Learn more in the guide to using drag permissions in multi-window mode.
Summary
Public functions |
Unit |
Revoke the permission grant explicitly.
|
Public functions
fun release(): Unit
Revoke the permission grant explicitly.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# DragAndDropPermissionsCompat\n============================\n\nArtifact: [androidx.core:core](/jetpack/androidx/releases/core) \n[View Source](https://cs.android.com/search?q=file:androidx/core/view/DragAndDropPermissionsCompat.java+class:androidx.core.view.DragAndDropPermissionsCompat) \nAdded in [1.1.0](/jetpack/androidx/releases/core#1.1.0)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/core/view/DragAndDropPermissionsCompat \"View this page in Java\")\n\n\n```\nclass DragAndDropPermissionsCompat\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nHelper for accessing features in [DragAndDropPermissions](https://developer.android.com/reference/android/view/DragAndDropPermissions.html) a backwards compatible fashion.\n\nLearn more in the guide to using [drag permissions in multi-window mode](/guide/topics/ui/drag-drop#DragPermissionsMultiWindow).\n\nSummary\n-------\n\n| ### Public functions |\n|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [release](/reference/kotlin/androidx/core/view/DragAndDropPermissionsCompat#release())`()` Revoke the permission grant explicitly. |\n\nPublic functions\n----------------\n\n### release\n\nAdded in [1.1.0](/jetpack/androidx/releases/core#1.1.0) \n\n```\nfun release(): Unit\n```\n\nRevoke the permission grant explicitly."]]