ProcessTextKey


Key for context menu items added for the Android PROCESS_TEXT intent actions. You can use this key to filter the PROCESS_TEXT components by calling Modifier.filterTextContextMenuComponents.

import androidx.compose.foundation.text.BasicTextField import androidx.compose.foundation.text.contextmenu.data.ProcessTextKey import androidx.compose.foundation.text.contextmenu.modifier.filterTextContextMenuComponents import androidx.compose.foundation.text.input.rememberTextFieldState import androidx.compose.ui.Modifier val textFieldState = rememberTextFieldState() BasicTextField(  state = textFieldState,  modifier =  Modifier.filterTextContextMenuComponents(  filter = { component -> component.key is ProcessTextKey }  ), )

Summary

Public functions

open operator Boolean
equals(other: Any?)
android
open Int
android

Public properties

Int

There can be multiple PROCESS_TEXT items in the context menu and each of them has a different id.

android

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

id

val idInt

There can be multiple PROCESS_TEXT items in the context menu and each of them has a different id.