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-06-04 UTC.
[null,null,["Last updated 2025-06-04 UTC."],[],[],null,["# androidx.compose.foundation.text.contextmenu.data\n=================================================\n\nCommon/AllAndroid/JVM\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|-----|\n| [TextContextMenuSession](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuSession) | A session for an open text context menu that can be used to close the context menu. | Cmn |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [ProcessTextKey](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/ProcessTextKey) | Key for context menu items added for the Android PROCESS_TEXT intent actions. | android |\n| [TextContextMenuComponent](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuComponent) | A single component of a text context menu. | Cmn |\n| [TextContextMenuData](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuData) | A list of components to be displayed in the context menu. | Cmn |\n| [TextContextMenuItem](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuItem) | A [TextContextMenuComponent](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuComponent) that represents a clickable item with a label in a context menu. | android |\n\nObjects\n-------\n\n|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| [TextContextMenuKeys](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuKeys) | Contains the `object`s used as keys for the compose provided context menu items. | Cmn |\n| [TextContextMenuSeparator](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuSeparator) | A [TextContextMenuComponent](/reference/kotlin/androidx/compose/foundation/text/contextmenu/data/TextContextMenuComponent) separator in a text context menu. | Cmn |"]]