Function

hasImeAction

Returns whether the node defines the given IME action.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

hasImeAction

Common
fun hasImeAction(actionType: ImeAction) =
    SemanticsMatcher.expectValue(SemanticsProperties.ImeAction, actionType)

Returns whether the node defines the given IME action.

Parameters

actionType the action to match.