Composable Function

currentProfileSupportsTouchModifiers

Whether the current creation Profile supports the touch down, up and cancel modifiers (onTouchDown, onTouchUp, onTouchCancel), for example to drive a press animation.

currentProfileSupportsTouchModifiers

Source set: Android
@Composable
public fun currentProfileSupportsTouchModifiers(): Boolean

Whether the current creation Profile supports the touch down, up and cancel modifiers (onTouchDown, onTouchUp, onTouchCancel), for example to drive a press animation.

Some profiles, such as RcPlatformProfiles.WEAR_WIDGETS, do not include those touch operations.

Content updated: